Modules¶
pypimonitor
¶
This plugin can be called to generate an HTML page, whose code is printed to standard output.
Produce an HTML dashboard to monitor your PyPI packages.
usage: pypimonitor [-h] [--version] [-u USER] [-c CELL] [-p PACKAGE] [yaml]
Positional Arguments¶
- yaml
Configuration file.
Named Arguments¶
- --version
Show version
- -u, --user
A comma-separated list of users, whose packages are to be monitored.
Default: []
- -c, --cell
A comma-separated list of cells to show.
Default: []
- -p, --package
A comma-separated list of packages to monitor.
Default: []
pypimonitor.httpd
¶
Alternatively, this module can sever the web pages, to be accessible from a web browser. If served on http://localhost, the following URLs are available:
http://localhost (and http://localhost/index.html): If no GET arguments are given, display an index page, with a form to ask to render some pages. It also accepts GET arguments to specify which packages to process, and which cell plugins to use.
http://localhost/foo/bar: When running the server, a directory
DIR
is given as argument. When calling this URL, a fileDIR/foo/bar.yaml
is searched, and if it exists, this file is processed to render the HTML page.