An open API service indexing awesome lists of open source software.

https://github.com/arve0/mac-notifier

A simple impletation for messaging through notification center in OS X with python
https://github.com/arve0/mac-notifier

Last synced: 3 months ago
JSON representation

A simple impletation for messaging through notification center in OS X with python

Awesome Lists containing this project

README

        

# Mac notifier #
Send notifications to OS X Notification Center with python or shell.

## Usage ##
### Shell ###
**Usage:**
```
./notifier.py [-s] title text

-s will enable a sound notification.
```

**Example:**
```
./notifier.py -s "Title with four words" Message doesnt need to be encapsulated.
```

### Python ###
```
from notifier import notify

notify('Notification iiik', 'Message about broken...')
```

**All options:**
```
notify(title, text, subtitle=False, delay=0, sound=False):
```