Skip to main content

Pushover Notifications for StackExchange Sites

Project description

PyPI version Build Status codecov.io Codacy Badge

Send Pushover notifications of new questions posted to StackExchange

Installation and Requirements

PushOverflow has been written for Python (tested with Travis CI on 3.5+).

To install:

$ python setup.py install

or alternatively:

$ pip install pushoverflow

Setup

  • Copy and rename pushoverflow.ini.sample to pushoverflow.ini. By default PushOverflow will look for the file in the current directory (eg. ./pushoverflow.ini) or you can specify the path at runtime (eg. pushoverflow /path/to/pushoverflow.ini).

  • Edit the configuration for the StackExchange sites you would like notifications. tags allows you to filter questions with one of those tags (comma separated tags treated as boolean OR). exclude will filter out questions with any oof those tags. Both are optional.

Each configuration section will check a specific StackExchange site. For instance [scifi] will check for new questions in http://scifi.stackexchange.com/ (Science Fiction & Fantasy).

  • You will need to specify your Pushover user key in the configuration (in userkey), as well as register an application with Pushover and specify the application’s API token (in appkey).

  • Set time_delta_minutes to the number of minutes you would like between each check.

  • Setup a cron job (crontab -e) to run pushoverflow.py with the same frequency as time_delta_minutes.

Eg. For time_delta_minutes = 20:

*/20 * * * * pushoverflow /path/to/config_file or */20 * * * * cd /path/to/config_directory && pushoverflow

Future Ideas

  • Allow boolean AND of multiple tags

  • More granular priority settings

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pushoverflow-1.0.0-1.tar.gz (7.2 kB view details)

Uploaded Source

File details

Details for the file pushoverflow-1.0.0-1.tar.gz.

File metadata

  • Download URL: pushoverflow-1.0.0-1.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

File hashes

Hashes for pushoverflow-1.0.0-1.tar.gz
Algorithm Hash digest
SHA256 089d657a7e1404ae1e5e1feb41712fbd103c4460dd58d2a1d98c932eadf0a480
MD5 a02070694da111ed00450b1c5728a0ce
BLAKE2b-256 3188963432fc456002617f4c04c277f64437c6f9c1171f074ef561b35602115b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page