This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

No nonsense OS X notifications for Python scripts (CFFI wrapper)

Project Description

No nonsense OS X notifications for Python scripts (CFFI wrapper).

About

osxnotify-cffi is a wrapper for libosxnotify. It allows Python scripts to display native OS X notifications.

This module uses CFFI to interface libosxnotify. For a native C extension based module see osxnotify.

Requirements

  • OS X >= 10.9.4 - should work on Mountain Lion but it’s not tested,
  • Python 2.7 or 3.4,
  • libosxnotify >= 1.0,
  • Xcode and command line utilities.

Installation

To install osxnotify-cffi from PyPI, issue the following command:

$ pip install osxnotify-cffi

Alternatively, you can install from the source code:

$ git clone https://github.com/tomekwojcik/osxnotify-python-cffi.git
$ cd osxnotify-python-cffi
$ python setup.py install

Usage

import osxnotify-cffi

osnotify-cffi.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-cffi in production.

License

osxnotify-cffi is licensed under MIT License.

Author

osxnotify-cffi was written by Tomek Wójcik.

Source code and issues

Source code is available on GitHub at: tomekwojcik/osxnotify-python-cffi.

To file issue reports and feature requests use the project’s issue tracker on GitHub.

Release History

Release History

This version
History Node

1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
osxnotify-cffi-1.0.tar.gz (3.5 kB) Copy SHA256 Checksum SHA256 Source Jun 2, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting