Add --all option, default to --pip by hugovk · Pull Request #51 · ofek/pypinfo (original) (raw)

--pip is now the default behaviour, with a new --all to match the old default behaviour.

$ # with --pip

$ pypinfo --pip requests installer Served from cache: False Data processed: 9.01 GiB Data billed: 9.01 GiB Estimated cost: $0.05

installer_name download_count
pip 7,454,395

$ # with --all

$ pypinfo --all requests installer Served from cache: False Data processed: 9.01 GiB Data billed: 9.01 GiB Estimated cost: $0.05

installer_name download_count
pip 7,454,395
setuptools 141,246
Browser 80,016
pex 54,178
None 27,808
bandersnatch 8,351
Homebrew 4,973
OS 2,776
requests 2,187
devpi 1,632

$ # with neither, defaults to --pip

$ pypinfo requests installer Served from cache: True Data processed: 0.00 B Data billed: 0.00 B Estimated cost: $0.00

installer_name download_count
pip 7,454,395

It could perhaps be kept for backwards compatibility (for a release or two?), or just removed completely.