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
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
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.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a726f84f5da54265240b29463dd5567b793bbc6eb8e6e84e6a66489c033ad7a |
|
MD5 | 3c42e34f1780c554755b041c1f4bfe71 |
|
BLAKE2b-256 | 9d8e4eaaf271c14e3ef13c930be6e78d2a94c7713e3e285016d025d0b7c32d55 |