simple-pypi-statistics
API and commandline for fetching simple statistics from PyPi’s API
Free software: GPLv2
Usage
Run simple-pypi-statistics to show usage:
simple-pypi-statistics
Usage:
simple-pypi-statistics [options] [verbose|json] <pypi-package>...
simple-pypi-statistics (-h | --help)
simple-pypi-statistics --version
Options:
--no-honeypot Do not use honeypot for correcting bot/mirror pollution
[default: False]
-h --help Show this screen.
--version Show version.
Examples:
simple-pypi-statistics docopt # Outputs everything about docopt
simple-pypi-statistics docopt==0.1 # Outputs a specific version
simple-pypi-statistics json docopt==0.1 # In JSON!
Credits:
Benjamin Bach -- updated script with honey pot corrections
Alex Clark -- for making vanity, which this script is based on
Features
verbose output
JSON output
functions in api for direct access
Honey pot
A bogus project on PyPi is used to track garbage stats. To assure that things are working, consider that the grand total of downloads for that project is actually also 0:
python3 -m simple_pypi_statistics python-bogus-project-honeypot python-bogus-project-honeypot-1438620531.16.tar.gz 2015-08-03 12 python-bogus-project-honeypot-1438619971.82.tar.gz 2015-08-03 -12 ----------------------------------------------------------------------------- No downloads for python-bogus-project-honeypot.
History
0.1.3 (2015-08-05)
Make endpoint / executable work
0.1.2 (2015-08-05)
Fixed err in JSON output to coerce datetime.date to str
0.1.1 (2015-08-05)
Added honey pot corrections
0.1.0 (2015-08-04)
First release on PyPI.
Metadata
Release files for simple_pypi_statistics 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| simple_pypi_statistics-0.1.3.tar.gz | 15.2 kB | Without provenance | Details for simple_pypi_statistics-0.1.3.tar.gz |
Release files / simple_pypi_statistics-0.1.3.tar.gz
| Download URL | simple_pypi_statistics-0.1.3.tar.gz |
|---|---|
| Size | 15.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8abc786a4f2068321826867cd7db679067c7b378b55071e9a93d355a9b051982
|
|
BLAKE2b-256 checksum How to use checksums |
b83a10684798ca35ac356081599040786117ffb300876a3bf4f12f2d81d56ab1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for simple_pypi_statistics 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.