No nonsense OS X notifications for Python scripts (native wrapper)
Project description
No nonsense OS X notifications for Python scripts (native wrapper).
About
osxnotify is a wrapper for libosxnotify. It allows Python scripts to display native OS X notifications.
This module uses a native C extension to interface libosxnotify. For CFFI-based module see osxnotify-cffi.
Requirements
OS X >= 10.9.4 - should work on Mountain Lion but it’s not tested,
Python 2.7 (for Python 3.4+ see osxnotify-cffi),
libosxnotify >= 1.0,
Xcode and command line utilities.
Installation
To install osxnotify from PyPI, issue the following command:
$ pip install osxnotify
Alternatively, you can install from the source code:
$ git clone https://github.com/tomekwojcik/osxnotify-python.git
$ cd osxnotify-python
$ python2.7 setup.py install
Usage
import osxnotify
osnotify.notify('Title', subtitle='Subtitle', informative_text='Informative text')
Issues and limitations
UTF-8 is the only supported text encoding.
Project status
This project should be considered beta. Proceed with caution if you decide to use osxnotify in production.
License
osxnotify is licensed under MIT License.
Source code and issues
Source code is available on GitHub at: tomekwojcik/osxnotify-python.
To file issue reports and feature requests use the project’s issue tracker on GitHub.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file osxnotify-1.0.tar.gz
.
File metadata
- Download URL: osxnotify-1.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e634158f4a17780521a805b975f09d204f90afc924d2cfbe82f4d681917af19 |
|
MD5 | 03aadaa847871263ba7e5bf4bbf04417 |
|
BLAKE2b-256 | 267c8d61796fcd183c58c4560cca7c0a86ee15e69d4a1bfd98e15e76c7e99e36 |