A wrapper for sending push notifications with Pushover
Project description
[![PyPI version](https://badge.fury.io/py/py-pushover-simple.svg)](https://badge.fury.io/py/py-pushover-simple)
This is a very simple python pushover wrapper for sending quick messages from command line scripts.
## Installation Instructions
Download from PyPi:
python3 -m pip install py-pushover-simple
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](https://git.sr.ht/~mjorgensen/ip_push/tree/master/ippush.py) from the [ip_push](https://git.sr.ht/~mjorgensen/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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for py_pushover_simple-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dde5b4e6b4038fc4b9fddc5f0babd57f16ebf694195c78a0b2625103e9e748f8 |
|
MD5 | d80dbbd0ff7643b64444ff617a35e33b |
|
BLAKE2b-256 | 1bf3ef6cdefd086bd20e795e0c148ee110c3e16657d1bb96dbdedeea85ac717f |