Skip to main content

Easily send notifications everywhere

Project description

# Notifiers

The easiest way to send push notifications!

[![travis](https://img.shields.io/travis/liiight/notifiers/master.svg)](https://travis-ci.org/liiight/notifiers) [![codecov](https://codecov.io/gh/liiight/notifiers/branch/master/graph/badge.svg)](https://codecov.io/gh/liiight/notifiers) [![Join the chat at https://gitter.im/notifiers/Lobby](https://badges.gitter.im/notifiers/notifiers.svg)](https://gitter.im/notifiers/notifiers?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)


From python:
```python
>>> from notifiers import get_notifier

>>> pushover = get_notifer('pushover')
>>> pushover.notify(title='Foo', message='Bar', token='TOKEN')

```

## Setup
```
pip install notifiers
```

## Usage

Get a notifier:
```python
pushover = notifiers.get_notifer('pushover')
```
Or:
```python
pushover = notifiers.providers.Pushover()
```

Send a notification:
```python
pushover.notify(token='TOKEN', title='Foo', message='Bar')
```

Get notifier metadata:
```text
print(pushover.metadata)

{
"url": "http://..."
"description": "A Great notifier!"
..
}
```

## In the near future

- Many more providers
- CLI
- Environment variable support
- Docs

### Why python 3 only?

I wanted to avoid the whole unicode issue fiasco if possible, but there's not real constraint in adding python 2 support. If there's an overwhelming desire for this, i'll do it. Probably.

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

notifiers-0.3.2.tar.gz (5.0 kB view details)

Uploaded Source

File details

Details for the file notifiers-0.3.2.tar.gz.

File metadata

  • Download URL: notifiers-0.3.2.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for notifiers-0.3.2.tar.gz
Algorithm Hash digest
SHA256 debf244254092dfcddd425efcade4dc07b18c4d74d3b8ca35d502c35d1164353
MD5 4fe2f973d6274ab7178dcb08bb55f6c5
BLAKE2b-256 b3cbd6c3728f7e7c8d9c943ecbbf0869133c5bd11dcf0ccb545d9dc4240fcbf9

See more details on using hashes here.

Supported by

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