Reduce mandatory packages bloat
See original GitHub issueI installed the package in a new machine and it installed the following seldom-used packages:
pymeeus, convertdate, korean-lunar-calendar
Any work to reduce (and/or standardize) the number of packaged installed would be helpful to combat package bloat. For example, I have no need for Korean holidays yet I find myself having to install a package that, by its name, is required only for those type of holidays.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:10 (6 by maintainers)
Top Results From Across the Web
Put your npm package on a Strict Diet (reduce package bloat)
Put your npm package on a Strict Diet. Join the journey of reducing a bloated npm package size from ~230kb to ~16kB by...
Read more >ReduceDebian - Debian Wiki
Reducing the size of the Debian Installation Footprint. Remove non-critical packages; Reconfigure apt so that it does not install additional ...
Read more >10 Easy Steps To Reduce Bloating Fast
There are several reasons for a puffed-out, hard stomach. What is the fastest way to debloat? Let's learn how to reduce bloating to...
Read more >Is It Safe to Eat Food in Swollen or Bloated Packaging?
Carothers says that bloating of meat or poultry packages can happen for various reasons—and not all of them pose a risk. She says,...
Read more >Reduce dotfile bloat #10016 - JuliaLang/julia
There was a similar change in the default location for packages between 0.2 and 0.3. We can do B.1 but I'm not sure...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello @dr-prodigy!
I agree with @stianjensen: https://setuptools.pypa.io/en/latest/userguide/dependency_management.html#optional-dependencies is a great tool for this use case.
Specifically:
holidays[lunar]
orholidays[islamic]
orholidays[lunar,islamic]
or whatever they turn out to be;korean-lunar-calendar
; please install usingpip install -U holidays[korea]
” or whatever the case may be).requirements_test.txt
file containing all dependencies, including optional ones;I wish I had time to volunteer to work on this at the moment, but sadly I don’t.
I would also welcome to have less package bloat. One option often considered by other packages ist to add optionals like
holidays[lunar]
orholidays[full]
for convertdate and other advanced converters.I also guess that many people won’t need the full set of possible conversions