A wrapper for sending push notifications with Pushover
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_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
Close
Hashes for py_pushover_simple-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fea3b7c8f3c5995cafbee3d73cce56c7e7d1791c4cb0b680752e7ae827540d2f |
|
MD5 | dd456abda1243b8b9697519f19838aef |
|
BLAKE2b-256 | a863d8add5eb22b6a49d37fc65da3280e04e7ffef3839dd696e5482b5b6a6547 |