Easy access to package download statistics from the Python Package Index, via the command line
Project description
Introduction
Easy access to package download statistics from the Python Package Index, via the command line:
$ vanity django Django-1.1.3.tar.gz 2010-12-23 2,643 Django-1.1.4.tar.gz 2011-02-09 4,629 Django-1.2.tar.gz 2010-05-17 16,148 Django-1.2.1.tar.gz 2010-05-24 65,379 Django-1.2.2.tar.gz 2010-09-09 2,482 Django-1.2.3.tar.gz 2010-09-11 74,277 Django-1.2.4.tar.gz 2010-12-23 50,307 Django-1.2.5.tar.gz 2011-02-09 64,545 Django-1.2.6.tar.gz 2011-09-10 470 Django-1.2.7.tar.gz 2011-09-11 7,291 Django-1.3.tar.gz 2011-03-23 246,589 Django-1.3.1.tar.gz 2011-09-10 207,103 ------------------------------------------- Django has been downloaded 741,863 times!
Installation
Install via:
$ pip install vanity
Or:
$ easy_install vanity
Or download the distribution (i.e. compressed archive), extract it, and inside run:
$ python setup.py install
Advanced options
To supress the display of file name, upload date, and download count for each release, specify quiet mode with -q or --quiet:
$ vanity django -q Django has been downloaded 741,863 times!
Credits
Based on code from Products.PloneSoftwareCenter written by David Glick.
Changelog
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]
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.