Skip to main content

A wrapper for sending push notifications with Puhsover

Project description

py_pushover_simple

PyPI version

This is a very simple python pushover wrapper for sending quick messages from command line scripts.

Installation Instructions

  1. Download from PyPi:

    python3 -m pip install py_pushover_simple
    
  2. Add it to your script:

    from py_pushover_simple import pushover
    
    def send_message(message):
        p = pushover.Pushover()
        p.user = 'user_key'
        p.token = 'app_token'
    
        p.sendMessage(message)
    

    For a working demo, see ippush.py

Debugging

py_pushover_simple has some simple debugging features:

For a full list of arguments:

$ python -m py_suchover_simple.pushover -h
usage: pushover.py [-h] [-u <string>] [-t <string>]

optional arguments:
  -h, --help   show this help message and exit
  -u <string>  pushover user token
  -t <string>  pushover app token

Contributors:

  • Matthew Jorgensen

License

This project is licensed inder the terms of the MIT license.

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
py_pushover_simple-0.1.3-py3-none-any.whl (2.9 kB) Copy SHA256 hash SHA256 Wheel py3 Jul 15, 2018
py_pushover_simple-0.1.3.tar.gz (2.4 kB) Copy SHA256 hash SHA256 Source None Jul 15, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page