notify2
Python interface to DBus notifications
Decision gist · record as of 2026-08-14
Yes, if you are maintaining legacy Python 2/3 code on Linux that already uses notify2 or pynotify and need minimal notification support. No, if you are starting a new project—the package is abandoned and will not receive security or compatibility updates. Consider alternatives if you need active maintenance or support for modern Python versions.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a running DBus session and a notification server (typically provided by the desktop environment on Linux).
- Package is abandoned as of 2017-04-28 with no recent maintenance.
- Install friction is low (pure Python, no runtime dependencies), but the lack of active development means security issues and compatibility problems with modern Python or desktop environments will not be addressed.
License · maintenance · safety
permissive license (permissive) — Licensed under BSD (permissive), so you can use, modify, and distribute it freely with minimal restrictions.
last release 2017-04-28 (3395 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 175,932 downloads/mo, #10,258 on PyPI
Alternatives
Verify before relying
pip install notify2
import notify2
notify2.init('app name')
n = notify2.Notification('Summary', 'Body text', 'notification-message-im')
n.show()- Whether notify2 works reliably with modern Python versions (3.9+) given the 2017 last release date.
- Current compatibility with contemporary desktop notification servers and DBus implementations.
- Whether the package's callback mechanism still works with modern Gtk 3 and Qt 4 versions.
What it is and what it does
notify2 is a pure-Python library for sending desktop notifications through DBus, the standard notification mechanism on Linux and other freedesktop-compliant systems. It replaces the older pynotify library and provides a simpler, more direct interface to the notifications server without requiring gobject bindings. You initialize it once with your application name, then create Notification objects with a summary, body text, and optional icon, and call show() to display them.
The package supports callbacks for user interactions with notifications if you tell it about your event loop (by passing 'glib' or 'qt' to init), making it suitable for desktop applications that need to respond to notification clicks or dismissals. However, the project has been abandoned since 2017 with no active maintenance, so it may have compatibility issues with modern Python versions or contemporary desktop environments.
Use it for
- Send system notifications from a Python desktop or server application running on Linux.
- Display user alerts or status updates in the notification area without requiring a GUI window.
- Handle notification callbacks in Gtk 3 or Qt 4 applications to respond to user clicks.
- Replace pynotify in legacy applications while maintaining DBus-based notification delivery.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are maintaining legacy Python 2/3 code on Linux that already uses notify2 or pynotify and need minimal notification support.
No, if you are starting a new project—the package is abandoned and will not receive security or compatibility updates. Consider alternatives if you need active maintenance or support for modern Python versions.
Install
notify2 on PyPI
Before you install
Package is abandoned as of 2017-04-28 with no recent maintenance. Install friction is low (pure Python, no runtime dependencies), but the lack of active development means security issues and compatibility problems with modern Python or desktop environments will not be addressed.
Requires a running DBus session and a notification server (typically provided by the desktop environment on Linux).
License in practice
Licensed under BSD (permissive), so you can use, modify, and distribute it freely with minimal restrictions.
Quickstart
pip install notify2
import notify2
notify2.init('app name')
n = notify2.Notification('Summary', 'Body text', 'notification-message-im')
n.show()
Verify before relying
- Whether notify2 works reliably with modern Python versions (3.9+) given the 2017 last release date.
- Current compatibility with contemporary desktop notification servers and DBus implementations.
- Whether the package's callback mechanism still works with modern Gtk 3 and Qt 4 versions.
Package facts
| License | permissive license permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Abandoned 3,395 days since the last release |
| First released | |
| Downloads | 175,932 / month, #10,258 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: BSD LicenseProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 3Topic :: Desktop EnvironmentTopic :: Software Development :: Libraries :: Python Modules |
Evidence: notify2-0.3.1-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “desktop notifications dbus”
- notify2notify2 creates and displays desktop notifications via DBus,…
- dbus-nextA pure-Python DBus library for Linux desktop and mobile environments…
- desktop-notifierSends cross-platform desktop notifications from Python with support…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also desktop-notifier · notify_py · dbus-next · dbus-python · infi.systray · pystray · notifiers · streamlit-notify · PyGObject · dbus-fast