Skip to main content

The simplest Pushover API wrapper for Python.

Project description

https://travis-ci.org/gebn/pullover.svg?branch=master https://coveralls.io/repos/github/gebn/pullover/badge.svg?branch=master

The simplest Pushover API wrapper for Python.

Features

  • No extraneous requests - just sends non-emergency messages quickly and without fuss

  • Aims to get the basics right, and be open to extension for more advanced use cases

  • Timeouts and automatic back-off should Pushover be experiencing issues

  • Intuitive command-line interface with sane, parseable output

  • Unit and integration tested

  • Signed PyPi releases

Installation

$ pip install pullover

Demo

from pullover import Application, User, Message, PulloverError

try:
    aws = Application('57tn23v578n9887nvh2g5892')
    george = User('8v57nhg578hh5n0h887hh04245')
    message = Message('foo bar', title='hello')
    message.send(aws, george)
except ValueError:
    # invalid argument
    pass
except PulloverError:
    # sending error
    pass

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pullover-1.0.0rc1.tar.gz (8.3 kB view hashes)

Uploaded Source

Built Distribution

pullover-1.0.0rc1-py2.py3-none-any.whl (12.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page