Introduction
notifo.py is a python library for the notifo.com notification service.
Installation
Install via pip:
pip install notifo
Or if you must:
easy_install notifo
Usage
notifo.py can be imported into any python module:
import notifo notifo.send_notification(login, token, recipient, msg, label, title, uri) notifo.send_message(login, token, to, msg) notifo.subscribe_user(login, token, user)
Return data is the parsed json status code:
{u'status': u'success', u'response_code': 2201, u'response_message': u'OK'}
There is also a cli client included:
notifo_cli.py -u user -s secret -n name [-m] [-l label] [-t title] [-c callback] [TEXT]
Contribute
If you want to contribute:
Fork the project.
Make your feature addition or bug fix.
Add tests for it. This is important so I don’t break it in a future version unintentionally.
Commit, do not mess with version
Send me a pull request. Bonus points for topic branches.
History
0.3.0 (2010-10-01)
add support for messaging
subscribe user from cli client if no msg text is given
message text with spaces allowed without quotes
0.2.2 (2010-09-07)
fix kwargs issue with exported methods
0.2.1 (2010-07-05)
fallbacks for json import
improved HTTP error handling
unit tests
0.2.0 (2010-06-27)
add cli client to send notifications
0.1.1 (2010-06-25)
fix typo which prevented proper function call of subscribe_user
0.1.0 (2010-06-17)
add basic API access
Metadata
Release files for notifo 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| notifo-0.3.0.tar.gz | 3.7 kB | Without provenance | Details |
Release files / notifo-0.3.0.tar.gz
| Download URL | notifo-0.3.0.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cac204228207afd48ebc29c2a25ed462dd76f727d6a0f93aecaf26711aea1042
|
|
BLAKE2b-256 checksum How to use checksums |
4c7d1b22a3b00103fa05a8d44505494fc0c96d4e84767572dcb0bd9b59009d54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for notifo 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.