A wrapper for sending push notifications with Puhsover
Project description
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 from the ip_push project.
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
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
py_pushover_simple-0.2.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for py_pushover_simple-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f769a1c4ee3315f625971ad06c43a8f33010076b200ac6491337b2d38e7ffb7 |
|
MD5 | e5a90a5ea0d5497f43878cc3d0907ada |
|
BLAKE2b-256 | 794ede31afb8176dfd15902f11921ef9b659476d33ae38524f547ce1f3c83494 |