Skip to main content

solution for getting packages stat, and graphing them

Project description

All the docs are on http://pypi-stat.readthedocs.org and when rtds don’t work fall back here http://packages.python.org/pypi-stat/ Source: http://github.com/jul/pypi-stat Ticket http://github.com/jul/pypi-stat/issues

Getting stats

usage:

usage: pypi_get_stat.py [-h] [-q] [package_name [package_name ...]]

Gathers download stats from pypi regarding the download information of the
geiven package. Print them, and stores them in a file for further use. If no
package name are provided, it will try to get all packages known from
previously fetched stats. -q will print less output (only warnings and errors)

positional arguments:
    package_name  package name to be retrieved

optional arguments:
    -h, --help    show this help message and exit
    -q, --quiet   less verbose output

Graphing stats

usage:

usage: pypi_graph_stat.py [options]

 options:
   -h, --help            show this help message and exit
   -k KEY                keys to plot in stored stats amongst av_dl, total_dl,
                         min_dl','max_dl'
   -f _FROM, --from=_FROM
                         min date from which to plot
   -t _TO, --to=_TO      maximum date to which to plot
   -o _DEST, --output=_DEST
                              filename of the output image. Don't create output
                         directory if non existant. If this is enabled output
                         in TK backend is desactivated.
   -p _PACKAGE, --package=_PACKAGE
                         packages for wich to graph

You’ll need matplotlib and numpy to plot the graphs. Read the doc (installation section) for more informations.

Changelog

  • fighting debian and my typos

  • fixing a dependency. I really like the install fails before test mechanisms but if nobody opens a ticket I won’t be able to know that it fails.

1.3.0

  • using https to make pypi stat great again and fonctionnal :)

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-stat-1.3.0.tar.gz (9.9 kB view details)

Uploaded Source

File details

Details for the file pypi-stat-1.3.0.tar.gz.

File metadata

  • Download URL: pypi-stat-1.3.0.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pypi-stat-1.3.0.tar.gz
Algorithm Hash digest
SHA256 b9fcee9032103bf5bdb6066417c738ef380eaba41520cadbfd8e4f74e21f2321
MD5 b81de7db91e59896e6645ebf963e30bc
BLAKE2b-256 09625c3a9abb615df86d856895012edca19313f039039c537a607f30597554e1

See more details on using hashes here.

Supported by

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