Skip to main content

A command-line interface to the Python Package Index (PyPI).

Project description

pypi-cli

Latest version Travis-CI

A command-line interface to the Python Package Index (PyPI). Get package info, download statistics, and more.

Screenshot

Get it now

$ pip install pypi-cli

Requirements

  • Python >= 2.7 or >= 3.3

Examples

Get Download Statistics

Use the pypi stat command to get download statistics for a package.

$ pypi stat marshmallow
Fetching statistics for 'http://pypi.python.org/pypi/marshmallow'. . .

Download statistics for marshmallow
===================================

Downloads by version
0.1.0   13/11/11 [ 1,677 ] **********************************
0.2.0   13/11/12 [ 1,717 ] ***********************************
0.2.1   13/11/12 [ 1,671 ] **********************************
0.3.0   13/11/14 [ 1,620 ] *********************************
0.3.1   13/11/16 [ 1,559 ] ********************************
0.4.0   13/11/25 [ 1,508 ] *******************************
0.4.1   13/12/02 [ 1,620 ] *********************************
0.5.0   13/12/29 [ 1,796 ] *************************************
0.5.1   14/02/03 [ 1,340 ] ***************************
0.5.2   14/02/10 [ 2,441 ] *************************************************
0.5.3   14/03/03 [ 1,634 ] *********************************
0.5.4   14/04/18 [ 859   ] ******************
0.5.5   14/05/03 [ 991   ] ********************
0.6.0   14/06/04 [ 366   ] ********

Min downloads:            366 (0.6.0)
Max downloads:          2,441 (0.5.2)
Avg downloads:          1,485
Total downloads:       20,799

Last day:              73
Last week:          1,464
Last month:         3,836

Browse to a Package’s PyPI or homepage

Use pypi browse to open a package’s PyPI url in your browser.

$ pypi browse textblob

You can also go to a package’s homepage.

$ pypi browse textblob --homepage

Search For Packages

Use pypi search to search for PyPI packages.

$ pypi search 'requests oauth'
Search results for "requests oauth"
suds_requests
oauth
requests
requests-oauthlib
requests-foauth
requests-oauth
requests-oauth2
wsgioauth
pmr2.oauth
django-oauth-plus

More

To get help or list available commands:

$ pypi --help

You can also get help with subcommands:

$ pypi stat --help

License

MIT licensed. See the bundled LICENSE file for more details.

Changelog

0.1.0 (2014-06-08)

  • First release.

  • Supports stat, browse, and search, and info commands.

Project details


Download files

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

Source Distribution

pypi-cli-0.1.0.tar.gz (8.5 kB view details)

Uploaded Source

File details

Details for the file pypi-cli-0.1.0.tar.gz.

File metadata

  • Download URL: pypi-cli-0.1.0.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pypi-cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8ac215d83c5dafde8813e1497ea0c379fe8730e8297b24b78526efa9026bf1a5
MD5 473a962d5c861ba9b25dee66f97d1962
BLAKE2b-256 27adda3136452e1c855030b870025c831be75aaaa72e056d1cc7ca5e00533441

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page