osxnotify-cffi
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.
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.
Metadata
Release files for osxnotify-cffi 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| osxnotify-cffi-1.0.tar.gz | 3.5 kB | Without provenance | Details for osxnotify-cffi-1.0.tar.gz |
Release files / osxnotify-cffi-1.0.tar.gz
| Download URL | osxnotify-cffi-1.0.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dd5ca67547f13e75df72041623146d42d98521cebbb1336a8ae1883f7e8970c6
|
|
BLAKE2b-256 checksum How to use checksums |
9ae397d49e0622b1b93b801faf9d170bdbf48a37ef51bf4eb907d103be84445b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for osxnotify-cffi 1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.