PypiMonitor — Monitor your pypi packages
Unfortunately, due to a pypi bug, download statistics got from the json API are bogus. So some of the data displayed by this program (download badges, and line charts) are bogus too… This will be fixed when the pypi bug itself will be fixed. See for instance #699 and #787.
An HTML dashboard to monitor your PyPI packages. It displays a line charts showing the evolution of downloads across versions, and a set of badges (download statistics, readthedocs badge, continuous integration, etc.). See the example below.
This package replaces a static page that I manually updated from times to times. It does what I need, so there is little chance that I will develop it further. However, I see two directions this project could take:
- or replace this quick and dirty web server using your favorite web framework, cache requests to the pypi API, publish it somewhere, and conquer the world.
I will do neither. But if you want to, you have my blessing… :)
Download and install
Install (in a virtualenv, if you do not want to mess with your distribution installation system):
python3 setup.py install
pip install pypimonitor
Quick and dirty Debian (and Ubuntu?) package
This requires stdeb to be installed:
python3 setup.py --command-packages=stdeb.command bdist_deb sudo dpkg -i deb_dist/pypimonitor-<VERSION>_all.deb
The compiled documentation is available on readthedocs
To compile it from source, download and run:
cd doc && make html