Skip to content

Latest commit

History

History
44 lines (26 loc) 路 980 Bytes

README.rst

File metadata and controls

44 lines (26 loc) 路 980 Bytes

PyPI Notifier

http://www.pypi-notifier.org

Watches your requirements.txt files and notifies you via email when a requirement is updated.

image

Requirements

Python 3 is required to run PyPI Notifier. Install the project's dependencies with:

pip install -r requirements.txt

Running

First, add your Github client credentials into development config in config.py.

Then, set your config env var in your shell:

export PYPI_NOTIFIER_CONFIG=development

Create necessary tables for the application:

flask init-db

Web server is run with gevent. There is a script for running the web server:

./run_gevent.py

Flask development server can be run with the following command:

flask run

An hourly task is run by a scheduler to send emails:

flask hourly