Last active
July 29, 2016 02:15
-
-
Save g-k/cccba0b163eb73a6c70a6644dd124281 to your computer and use it in GitHub Desktop.
one liner to get python package downloads across for all versions and releases
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -so - https://pypi.python.org/pypi/Django/json | python3 -c 'import sys; import json; print(sum([release["downloads"] for version in json.load(sys.stdin)["releases"].values() for release in version]))' | |
22520974 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment