Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/benjaoming/simple-pypi-statistics
Fetch statistics for a PyPi package
https://github.com/benjaoming/simple-pypi-statistics
Last synced: about 2 months ago
JSON representation
Fetch statistics for a PyPi package
- Host: GitHub
- URL: https://github.com/benjaoming/simple-pypi-statistics
- Owner: benjaoming
- License: gpl-2.0
- Created: 2015-08-04T13:25:26.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-09-10T15:27:51.000Z (over 5 years ago)
- Last Synced: 2024-11-08T03:16:39.848Z (about 2 months ago)
- Language: Python
- Size: 30.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: HISTORY.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
Awesome Lists containing this project
README
*Update 2019-09-10: This project is unmaintained*
...but there's an **even better one**: https://github.com/hugovk/pypistats
===============================
simple-pypi-statistics
===============================.. image:: https://travis-ci.org/benjaoming/simple-pypi-statistics.svg
:target: https://travis-ci.org/benjaoming/simple-pypi-statistics.. image:: https://img.shields.io/pypi/v/simple-pypi-statistics.svg
:target: https://pypi.python.org/pypi/simple-pypi-statisticsAPI 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] ...
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 onFeatures
--------* verbose output
* JSON output
* functions in api for direct accessHoney 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.