Metadata-Version: 2.1
Name: py-pushover-simple
Version: 0.2.1
Summary: A wrapper for sending push notifications with Pushover
Home-page: https://git.sr.ht/~mjorgensen/py_pushover_simple
Author: Matthew Jorgensen
Author-email: matthew@jrgnsn.net
License: UNKNOWN
Project-URL: Documentation, https://man.sr.ht/~mjorgensen/py_pushover_simple
Project-URL: Code, https://git.sr.ht/~mjorgensen/py_pushover_simple
Project-URL: Issue Tracker, https://todo.sr.ht/~mjorgensen/py_pushover_simple
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Plugins
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Natural Language :: English
Classifier: Topic :: Communications
Classifier: Topic :: Utilities

py_pushover_simple
==================

[![PyPI version](https://badge.fury.io/py/py-pushover-simple.svg)](https://badge.fury.io/py/py-pushover-simple)

This is a very simple python pushover wrapper for sending quick messages from command line scripts.

## Installation Instructions

1. Download from PyPi:

        python3 -m pip install py-pushover-simple

2. Add it to your script:

        from py_pushover_simple import pushover

        def send_message(message):
            p = pushover.Pushover()
            p.user = 'user_key'
            p.token = 'app_token'

            p.sendMessage(message)


For a working demo, see
[ippush.py](https://git.sr.ht/~mjorgensen/ip_push/tree/master/ippush.py)
from the [ip_push](https://git.sr.ht/~mjorgensen/ip_push/) project.

## Debugging

`py_pushover_simple` has some simple debugging features:

For a full list of arguments:

    $ python -m py_pushover_simple.pushover -h
    usage: pushover.py [-h] [-u <string>] [-t <string>]

    optional arguments:
      -h, --help   show this help message and exit
      -u <string>  pushover user token
      -t <string>  pushover app token

## Documentation

Documentation lives at https://man.sr.ht/~mjorgensen/py_pushover_simple

## Contributors

* Matthew Jorgensen

## License

This project is licensed inder the terms of the MIT license.


