This is a very simple python pushover wrapper for sending quick messages from command line scripts.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Matthew Jorgensen eca1815c1c
Increased build number to 0.2.2.
6 months ago
py_pushover_simple Increased support for Pushover's API parameters. 6 months ago
.gitignore Added github's boilerplate .gitignore 8 months ago
LICENSE Initial commit 1 year ago
README.md Fixed some spelling errors and added metadata to package. 6 months ago
setup.py Increased build number to 0.2.2. 6 months ago

README.md

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 from the ip_push project.

Debugging

py_pushover_simple has some simple debugging features:

For a full list of arguments:

$ python -m py_pushover_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

Documentation

Documentation lives at https://man.sr.ht/~mjorgensen/py_pushover_simple

Contributors

  • Matthew Jorgensen

License

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