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

Installation
------------
```
pip install pync
```
or
```
pip install git+https://github.com/SeTeM/pync.git
```
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
====
A simple Python wrapper around the [`terminal-notifier`][HOMEPAGE] command-line tool (version 1.5), which allows you to send User Notifications to the Notification Center on Mac OS X 10.8, or higher.

Installation
------------
```
pip install pync
```
or
```
pip install git+https://github.com/SeTeM/pync.git
```
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 Distribution
pync-1.6.tar.gz
(361.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
pync-1.6.macosx-10.9-x86_64.exe
(427.2 kB
view details)
File details
Details for the file pync-1.6.tar.gz.
File metadata
- Download URL: pync-1.6.tar.gz
- Upload date:
- Size: 361.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
718cd69a093b59a82c10e4e83f2caf8ee3e5cb5bf9df12b5fad3288a20284294
|
|
| MD5 |
0b8c663f0db5c5583630b2450d9b6987
|
|
| BLAKE2b-256 |
52f556dda78e6d23fae7c9f257df96e992425f87f8502fa47e37a392e2b48a8d
|
File details
Details for the file pync-1.6.macosx-10.9-x86_64.exe.
File metadata
- Download URL: pync-1.6.macosx-10.9-x86_64.exe
- Upload date:
- Size: 427.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc7b8434283946ec0c3b814b8eb776b33244e64caf70b0dbaff666b5bd3b77db
|
|
| MD5 |
92dec34e1768c676e8dfcd10436940ec
|
|
| BLAKE2b-256 |
e525b5d684886ee27714b88ef713c06b1f0e67ae163cb9205a245d5cfe13b69a
|