py-pushnotify is a package for sending push notifications to Android and iOS devices.
Project description
pushnotify is a package for sending push notifications. It currently supports Android devices running Notify My Android and Pushover, and iOS devices running Pushover and Prowl.
See
for more details about these applications.
Development
All development for pushnotify takes place on bitbucket:
To get started you can do the following:
$ hg clone https://bitbucket.org/jgoettsch/py-pushnotify/ $ cd py-pushnotify $ pip install -r requirements_dev.txt
If you discover a bug, please create an issue ticket:
To run the test suite, you will have to create three modules:
pushnotify/tests/nmakeys.py:
This file must contain two global variables: API_KEYS and DEVELOPER_KEY. API_KEYS is a list containing at least one valid API key as a string. DEVELOPER_KEY is a string containing a valid developer key.
pushnotify/tests/prowlkeys.py:
This file must contain two global variables: API_KEYS and PROVIDER_KEY. API_KEYS is a list containing at least one valid API key as a string. PROVIDER_KEY is a string containing a valid provider key. REG_TOKEN is a valid registration token that has already been validated through the retrieve_token/retrieve_apikey process.
pushnotify/tests/pushoverkeys.py:
This file must contain three global variables: TOKEN, USER, and DEVICE. TOKEN is a string containing a valid API token. USER is a string containing a valid user identifier. DEVICE is a string containing a valid device identifier for the given user.
Installation
If you have already downloaded pushnotify, run the following command inside this directory:
$ python setup.py install
If you have not yet downloaded pushnotify, it would be easier to do the following:
$ pip install pushnotify
Either method will install pushnotify into your current environment.
Changelog
version 0.3.1
Prowl.Client.retrieve_token and Prowl.Client.retrieve_apikey now raise a pushnotify.exceptions.ProviderKeyError if the specified Provider Key is invalid
version 0.3
added support for Prowl: http://www.prowlapp.com/
version 0.2.1
fixed an issue where developer keys were not being sent with Notify My Android verifications
version 0.2
added support for Pushover: https://pushover.net/
version 0.1
added support for Notify My Android: https://www.notifymyandroid.com/
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for pushnotify-0.3.1.linux-x86_64.exe
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7119657080cd57000e6612c5d424dee8c3a2c0fcde3b4410f1956ae8bf0fda2b |
|
MD5 | 24f43c8a9a8d63f89dbdd93a96b320f5 |
|
BLAKE2b-256 | 3648cdd391c9d2f711d9ad330d050810c92f38a47bbc086d94c1f428c7c98de9 |