Skip to main content

Python Wrapper for Mac OS 10.8 Notification Center

Project description


A simple Python wrapper around the [`terminal-notifier`][HOMEPAGE] command-line tool (version 1.4.2), which allows you to send User Notifications to the Notification Center on Mac OS X 10.8, or higher.



$ pip install pync
git clone git://
cd pync
python install


For full information on all the options, see the tool’s [README][README].

### Examples:

from pync import Notifier

Notifier.notify('Hello World')
Notifier.notify('Hello World', title='Python')
Notifier.notify('Hello World', group=os.getpid())
Notifier.notify('Hello World', activate='')
Notifier.notify('Hello World', open='')
Notifier.notify('Hello World', execute='say "OMG"')




All the works are available under the MIT license. **Except** for ‘Terminal.icns’, which is a copy of Apple’s icon and as such is copyright of Apple.

See [LICENSE][LICENSE] for details.


Project details

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page