semvec/pypi-packages huggingface dataset:
notifo 0.3.0
Python library for the notifo.com API
License: MIT

============
notifo.py
============

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.

.. _notifo.com: http://notifo.com


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