Skip to main content

pushnotify

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:

You can follow this project on Twitter:

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
$ python setup.py develop

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 two global variables: TOKEN and USER. TOKEN is a string containing a valid API token. USER is a dictionary whose keys are strings containing valid user identifiers. The key values are lists containing strings, where each string contains a valid device identifier for the given API token. There must be one API token, and it must have one device indentifier.

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

For a full history of changes see the commit history:

version 0.5.1

  • license-change: this and future versions are now licensed under the GNU GPL v3.

  • now uses the Requests package instead of urllib2

version 0.5

  • backwards-incompatible change: each client now conforms to a standard interface, and can be instantiated with the get_client factory method

version 0.4

  • each client now logs HTTP GET and POST operations

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

version 0.2.1

  • fixed an issue where developer keys were not being sent with Notify My Android verifications

version 0.2

version 0.1

Metadata

Release files for pushnotify 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distributions (sdists)

Source distribution for pushnotify 0.5.1
File Size Uploaded
pushnotify-0.5.1.zip 198.5 kB Details
pushnotify-0.5.1.tar.gz 117.5 kB Details

Release files / pushnotify-0.5.1.zip

Download URL pushnotify-0.5.1.zip
Size 198.5 kB
Tags Source
SHA-256 checksum
How to use checksums
377dad8285b2bc2dd6e29b9f614f66180a8af386d1e639d41f036631b3c84001
BLAKE2b-256 checksum
How to use checksums
c5efa133f49e779f66688f73e910b290fc80225cf50fe0681317924ee81c524e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pushnotify-0.5.1.tar.gz

Download URL pushnotify-0.5.1.tar.gz
Size 117.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6e8ccbf60983c0d5a3dd4bba8773136f4caa10b0925a95ef5f09ea640a7f07f0
BLAKE2b-256 checksum
How to use checksums
6a93fa1471d72e340d896d98e17c6a6ba66336a3c656c5eb5d2b98197e39f613
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.5.1 This release

2 release files

0.5

3 release files

0.4

3 release files

0.3.1

3 release files

0.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page