https://github.com/runfalk/omninotify
A cross platform desktop notification library for Python
https://github.com/runfalk/omninotify
Last synced: about 1 year ago
JSON representation
A cross platform desktop notification library for Python
- Host: GitHub
- URL: https://github.com/runfalk/omninotify
- Owner: runfalk
- License: mit
- Created: 2017-01-07T19:22:33.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-08T00:21:16.000Z (over 9 years ago)
- Last Synced: 2025-01-19T06:46:39.095Z (over 1 year ago)
- Language: Python
- Size: 9.77 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Omninotify
==========
Omninotify is a libary for displaying desktop notifications across different
platforms. It currently implements support for macOS and Freedesktop
notifications. The implementation provides a restricted subset of functionality
that exists on both platforms.
I made this library since I wanted a library to use with Weechat, which I use on
both macOS and Linux daily.
Example
-------
See `example.py `_
for examples on how to use it.
Requirements
------------
For macOS users the only requirement is ``terminal-notifier`` which must be
somewhere in the users' path. The recommended way to install
``terminal-notifier`` is by using `Homebrew `_:
.. code-block:: bash
$ brew install terminal-notifier
For use on Linux (Freedesktop) a system installation of ``gi`` is required. On
Debian/Ubuntu this is installed by either ``python-gi`` or ``python3-gi``.
Additionally the the ``pydbus`` package is required:
.. code-block:: bash
$ pip install pydbus
If it is used inside a virtual environment one can satisfy the ``gi`` dependency
by installing ``vext.gi``.