Skip to main content
pync
====

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.

![Screenshot](http://f.cl.ly/items/1k051n3k0u0i101m1i0U/Screen%20Shot%202012-08-24%20at%2012.20.40%20PM.png)

Installation
------------

```
$ pip install pync
```
or
```
git clone git://github.com/SeTeM/pync.git
cd pync
python setup.py install
```

Usage
-----

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

### Examples:

```python
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='com.apple.Safari')
Notifier.notify('Hello World', open='http://github.com/')
Notifier.notify('Hello World', execute='say "OMG"')

Notifier.remove(os.getpid())

Notifier.list(os.getpid())
```


License
-------

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

See [LICENSE][LICENSE] for details.

[HOMEPAGE]: https://github.com/alloy/terminal-notifier
[README]: https://github.com/alloy/terminal-notifier/blob/master/README.markdown
[LICENSE]: https://github.com/setem/pync/blob/master/LICENSE

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pync-1.5.macosx-10.9-x86_64.exe (427.1 kB view details)

Uploaded Source

File details

Details for the file pync-1.5.macosx-10.9-x86_64.exe.

File metadata

File hashes

Hashes for pync-1.5.macosx-10.9-x86_64.exe
Algorithm Hash digest
SHA256 1dbe4f6b2b2a392634f73c72d5a0f894df8d8994e7d193c7173511e7803b2dc3
MD5 6b1800c0a9519d19958aa3fab5595a8b
BLAKE2b-256 107ce76d91e1996dccf1acf8a002ff0c12d3973bb6da605394bb19377cb9e994

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 Sentry Error logging StatusPage Status page