Skip to main content

Pushover Notifications for StackExchange Sites

Project description

PushOverflow

PyPI PyPI - Python Version GitHub Workflow Status Codacy Badge

Send Pushover notifications of new questions posted to StackExchange

Installation

To install:

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-2.0.1.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pushoverflow-2.0.1-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file pushoverflow-2.0.1.tar.gz.

File metadata

  • Download URL: pushoverflow-2.0.1.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for pushoverflow-2.0.1.tar.gz
Algorithm Hash digest
SHA256 3669ecffe0e2adc87308551f95613c45c94c3df0ba648ddcecc1050ae0927309
MD5 5bb5b602952df87e4483ab453924af82
BLAKE2b-256 5cc7bce86dbfdb565ee363b2418dc38a7ef65e0f5854208ab4ca879bf6bb56c9

See more details on using hashes here.

File details

Details for the file pushoverflow-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: pushoverflow-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for pushoverflow-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8edc395d8f7254d46d2f5b9a8b701b0597cc1f079f4bc25d6ac5147c6c73f25b
MD5 32c4f5d6108693a7c97cc151273fdd01
BLAKE2b-256 320e19ce76143f285ef247ed9c629f0b1cebc9eca60ea9f9e7a8b2806df6d660

See more details on using hashes here.

Supported by

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