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.3.tar.gz (6.1 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for notifiers-0.3.3.tar.gz
Algorithm Hash digest
SHA256 d42544780d433291da39fa552369cbc83568f4cb38491265cb5c4a6ba61454bb
MD5 8376cf3ae15059b8bdb8c82ff511fad2
BLAKE2b-256 9557f7049511dc534c18576c8bf23d105c52fa6fe9fadbfc6f74f8db202af370

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