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
- Host: GitHub
- URL: https://github.com/arve0/mac-notifier
- Owner: arve0
- License: mit
- Created: 2014-08-25T15:04:45.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-08-28T21:41:01.000Z (over 10 years ago)
- Last Synced: 2025-01-12T08:24:55.702Z (4 months ago)
- Language: Python
- Homepage:
- Size: 152 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 notifynotify('Notification iiik', 'Message about broken...')
```**All options:**
```
notify(title, text, subtitle=False, delay=0, sound=False):
```