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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

pync-1.5.tar.gz (358.2 kB view hashes)

Uploaded Source

pync-1.4.tar.gz (4.8 kB view hashes)

Uploaded Source

Built Distribution

pync-1.4.macosx-10.9-x86_64.tar.gz (362.7 kB view hashes)

Uploaded Source

Supported by

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