Easy access to package download statistics from the Python Package Index, via the command line
Project description
Vanity
View package download statistics from PyPI.
Usage
$ vanity django Django-1.1.3.tar.gz 2010-12-23 4,530 Django-1.1.4.tar.gz 2011-02-09 9,368 Django-1.2.tar.gz 2010-05-17 23,250 Django-1.2.1.tar.gz 2010-05-24 70,824 Django-1.2.2.tar.gz 2010-09-09 4,110 Django-1.2.3.tar.gz 2010-09-11 81,716 Django-1.2.4.tar.gz 2010-12-23 64,501 Django-1.2.5.tar.gz 2011-02-09 80,776 Django-1.2.6.tar.gz 2011-09-10 2,285 Django-1.2.7.tar.gz 2011-09-11 28,945 Django-1.3.tar.gz 2011-03-23 350,236 Django-1.3.1.tar.gz 2011-09-10 553,985 Django-1.3.2.tar.gz 2012-07-30 6,954 Django-1.3.3.tar.gz 2012-08-01 30,029 Django-1.3.4.tar.gz 2013-03-05 405 Django-1.3.5.tar.gz 2012-12-10 14,257 Django-1.3.6.tar.gz 2013-02-19 1,298 Django-1.3.7.tar.gz 2013-02-20 4,386 Django-1.4.tar.gz 2012-03-23 409,881 Django-1.4.1.tar.gz 2012-07-30 316,344 Django-1.4.2.tar.gz 2012-10-17 292,383 Django-1.4.3.tar.gz 2012-12-10 256,244 Django-1.4.4.tar.gz 2013-02-19 8,777 Django-1.4.5.tar.gz 2013-02-20 48,870 Django-1.5.tar.gz 2013-02-26 64,153 ------------------------------------------- Django has been downloaded 2,728,507 times!
Or specify a version:
$ vanity pillow==2.0.0 Pillow-2.0.0.zip 2013-03-15 1,298 Pillow-2.0.0.win32-py3.3.exe 2013-03-15 69 Pillow-2.0.0.win32-py3.2.exe 2013-03-15 67 Pillow-2.0.0.win32-py2.7.exe 2013-03-15 74 Pillow-2.0.0.win32-py2.6.exe 2013-03-15 80 Pillow-2.0.0.win-amd64-py3.3.exe 2013-03-15 69 Pillow-2.0.0.win-amd64-py3.2.exe 2013-03-15 71 Pillow-2.0.0.win-amd64-py2.7.exe 2013-03-15 76 Pillow-2.0.0.win-amd64-py2.6.exe 2013-03-15 81 Pillow-2.0.0-py3.3-win32.egg 2013-03-15 124 Pillow-2.0.0-py3.3-win-amd64.egg 2013-03-15 123 Pillow-2.0.0-py3.2-win32.egg 2013-03-15 124 Pillow-2.0.0-py3.2-win-amd64.egg 2013-03-15 125 Pillow-2.0.0-py2.7-win32.egg 2013-03-15 129 Pillow-2.0.0-py2.7-win-amd64.egg 2013-03-15 130 Pillow-2.0.0-py2.6-win32.egg 2013-03-15 136 Pillow-2.0.0-py2.6-win-amd64.egg 2013-03-15 136 -------------------------------------------------------- Pillow 2.0.0 has been downloaded 2,912 times!
Installation
Install via:
$ pip install vanity
Or:
$ easy_install vanity
Or download the compressed archive, extract it, and inside it run:
$ python setup.py install
Changelog
1.2.5 (2013-03-17)
Switch to argparse [aclark]
Support query by version spec e.g. Pillow==2.0.0 [aclark]
Remove –quiet option [aclark]
Officially add Python 3 support [aclark]
1.2.4 (2013-02-19)
Use https for PyPI now [aclark]
Return usage statement when no args passed [aclark]
1.2.3 (2012-08-08)
Use optparse for option and argument parsing. [JNRowe]
Don’t fail when the en_US locale isn’t available. [JNRowe]
Python 3 compatibility. [JNRowe]
1.2.2 (2012-07-31)
Remove blessings for Windows compat [aclark]
1.2.1 (2012-02-15)
Make verbose the default [aclark]
Add blessings support to make output pretty [aclark]
install_requires requests for future refactor [aclark]
Enforce available command line options better [aclark]
1.2.0 (2012-01-30)
Add verbose option to display file name, upload date, and download count per release. [aclark]
Add locale to format downloads e.g. “700,232 times” instead of “700232 times”. [aclark]
Better handling of command line args and usage. [aclark]
1.1.2 (2011-10-28)
Fix regression: Re-fix download counts. [JNRowe]
1.1.1 (2011-10-27)
Refactor: create downloads_total function to make external use simpler. [kennethreitz]
1.1.0 (2011-10-25)
Bug fixes: support for case insensitive project names and support for counting all release files (e.g. binaries in addition to sdist) and correct number of release files (bug fix). [JNRowe]
Package cleanup [aclark]
1.0 (04-13-2011)
Initial release [aclark]
Contributors
James Rowe <jnrowe __at__ gmail.com>
Kenneth Reitz <me __at__ kennethreitz.com>
Additional credits
Based on code from Products.PloneSoftwareCenter by David Glick.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.