Skip to main content

Get package download statistics from PyPI

Project description

Vanity

Note

PyPI now uses a CDN and the new downloads API is in development: http://mail.python.org/pipermail/distutils-sig/2013-June/021344.html. Results may vary until the API stablizes.

Get package download statistics from PyPI.

Usage

Enter a package name:

$ vanity django
Django-1.1.3.tar.gz    2010-12-23        4,938
Django-1.1.4.tar.gz    2011-02-09       10,259
  Django-1.2.tar.gz    2010-05-17       24,011
Django-1.2.1.tar.gz    2010-05-24       71,479
Django-1.2.2.tar.gz    2010-09-09        4,388
Django-1.2.3.tar.gz    2010-09-11       82,629
Django-1.2.4.tar.gz    2010-12-23       66,223
Django-1.2.5.tar.gz    2011-02-09       82,325
Django-1.2.6.tar.gz    2011-09-10        2,559
Django-1.2.7.tar.gz    2011-09-11       31,833
  Django-1.3.tar.gz    2011-03-23      363,202
Django-1.3.1.tar.gz    2011-09-10      585,745
Django-1.3.2.tar.gz    2012-07-30        7,649
Django-1.3.3.tar.gz    2012-08-01       31,375
Django-1.3.4.tar.gz    2013-03-05        1,974
Django-1.3.5.tar.gz    2012-12-10       16,880
Django-1.3.6.tar.gz    2013-02-19        2,292
Django-1.3.7.tar.gz    2013-02-20       14,756
  Django-1.4.tar.gz    2012-03-23      437,635
Django-1.4.1.tar.gz    2012-07-30      328,418
Django-1.4.2.tar.gz    2012-10-17      326,088
Django-1.4.3.tar.gz    2012-12-10      280,915
Django-1.4.4.tar.gz    2013-02-19       12,453
Django-1.4.5.tar.gz    2013-02-20      117,366
  Django-1.5.tar.gz    2013-02-26      124,429
Django-1.5.1.tar.gz    2013-03-28      150,413
----------------------------------------------
Django has been downloaded 3,182,234 times!

Or enter a package name with version specification:

$ vanity pillow==2.0.0
                Pillow-2.0.0.zip    2013-03-15       61,022
    Pillow-2.0.0.win32-py3.3.exe    2013-03-15          593
    Pillow-2.0.0.win32-py3.2.exe    2013-03-15          379
    Pillow-2.0.0.win32-py2.7.exe    2013-03-15          703
    Pillow-2.0.0.win32-py2.6.exe    2013-03-15          308
Pillow-2.0.0.win-amd64-py3.3.exe    2013-03-15          487
Pillow-2.0.0.win-amd64-py3.2.exe    2013-03-15          328
Pillow-2.0.0.win-amd64-py2.7.exe    2013-03-15          500
Pillow-2.0.0.win-amd64-py2.6.exe    2013-03-15          311
    Pillow-2.0.0-py3.3-win32.egg    2013-03-15          421
Pillow-2.0.0-py3.3-win-amd64.egg    2013-03-15          431
    Pillow-2.0.0-py3.2-win32.egg    2013-03-15          353
Pillow-2.0.0-py3.2-win-amd64.egg    2013-03-15          357
    Pillow-2.0.0-py2.7-win32.egg    2013-03-15        1,160
Pillow-2.0.0-py2.7-win-amd64.egg    2013-03-15          620
    Pillow-2.0.0-py2.6-win32.egg    2013-03-15          730
Pillow-2.0.0-py2.6-win-amd64.egg    2013-03-15          395
-----------------------------------------------------------
Pillow 2.0.0 has been downloaded 69,098 times!

Or enter more than one package name:

$ bin/vanity --quiet setuptools distribute
setuptools has been downloaded 9,181,047 times!
distribute has been downloaded 7,487,115 times!
setuptools, distribute has been downloaded 16,668,162 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

2.0.2 (2013-05-27)

  • Fix typo

2.0.0 (2013-05-26)

  • Revert removal of –quiet option
  • Support multi-package entry e.g. $ vanity setuptools distribute

1.2.5 (2013-03-17)

  • Switch to argparse
  • Support query by version spec e.g. $ vanity pillow==2.0.0
  • Remove –quiet option
  • Officially add Python 3 support

1.2.4 (2013-02-19)

  • Query PyPI via https
  • Return usage statement when no args passed

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 integration which breaks on Windows

1.2.1 (2012-02-15)

  • Make verbose the default
  • Add blessings support to make output pretty
  • install_requires requests for future refactor
  • Enforce available command line options better

1.2.0 (2012-01-30)

  • Add verbose option to display file name, upload date, and download count per release.
  • Add locale to format downloads e.g. “700,232 times” instead of “700232 times”.

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]

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

History Node

2.2.2

History Node

2.2.1

History Node

2.2.0

History Node

2.1.0

History Node

2.0.5

History Node

2.0.4

This version
History Node

2.0.3

History Node

2.0.2

History Node

2.0.1

History Node

2.0.0

History Node

1.2.5

History Node

1.2.4

History Node

1.2.3

History Node

1.2.2

History Node

1.2.1

History Node

1.2.0

History Node

1.1.2

History Node

1.1.1

History Node

1.1.0

History Node

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
vanity-2.0.3.zip (18.4 kB) Copy SHA256 hash SHA256 Source None Jun 28, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page