Skip to main content

osxnotify

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.

Author

osxnotify was written by Tomek Wójcik.

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.

Metadata

Release files for osxnotify 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for osxnotify 1.0
File Size Uploaded Provenance Actions
osxnotify-1.0.tar.gz 3.9 kB Without provenance Details for osxnotify-1.0.tar.gz

Release files / osxnotify-1.0.tar.gz

Download URL osxnotify-1.0.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
9e634158f4a17780521a805b975f09d204f90afc924d2cfbe82f4d681917af19
BLAKE2b-256 checksum
How to use checksums
267c8d61796fcd183c58c4560cca7c0a86ee15e69d4a1bfd98e15e76c7e99e36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for osxnotify 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.

Release history Release notifications | RSS feed

This release

1.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page