Source

py-pushnotify /

Filename Size Date modified Message
docs
examples
pushnotify
187 B
319 B
171 B
791 B
348 B
1.6 KB
258 B
578 B
2.0 KB
145 B
76 B
1.5 KB

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

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.

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.