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

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

Uploaded Source

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

Uploaded Source

Built Distribution

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

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

Uploaded Source

File details

Details for the file pync-1.5.tar.gz.

File metadata

  • Download URL: pync-1.5.tar.gz
  • Upload date:
  • Size: 358.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pync-1.5.tar.gz
Algorithm Hash digest
SHA256 b2cb3d7880d9e66edf9fbf5e43ff46571120de92082a096d0658376e51051f4a
MD5 81c2bb62aa400432cc3abd291bcfda69
BLAKE2b-256 d8e911a7ad3aa8e572123d6cb26d5b5937d457a608c06870101606056d1fe86e

See more details on using hashes here.

File details

Details for the file pync-1.4.tar.gz.

File metadata

  • Download URL: pync-1.4.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pync-1.4.tar.gz
Algorithm Hash digest
SHA256 304f9b8d7649c7713d10bb1ff4a195918bc0fab65d149243ddaaa0a82ee88151
MD5 5cc79077f386a17b539f1e51c05a3650
BLAKE2b-256 56fdac01a7735a0d2d86796875d3bdd04211549203aa65b0b7918814d8dacdc0

See more details on using hashes here.

File details

Details for the file pync-1.4.macosx-10.9-x86_64.tar.gz.

File metadata

File hashes

Hashes for pync-1.4.macosx-10.9-x86_64.tar.gz
Algorithm Hash digest
SHA256 239bd453f8dcb4fba81d4df4fdc9bc02f8d737d8b864c649ae47a3f5c584e8c7
MD5 a21c66481f2f5d85eff308090ae0a894
BLAKE2b-256 08546d0c46e6a8d72ce46d63820bd05e100520e605ceace0e03dc1dd2630457b

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