Skip to content
Search

Dbus-python

lastmod 2026-11-10created 2021-07-244 edits

dbus-python is the official binding for using D-Bus, the inter-process communication bus of the Linux desktop, from Python. It wraps the C library libdbus to connect to the session bus and system bus, and supports calling methods on remote objects, receiving signals, and publishing your own services, with integration into the GLib main loop. Because it is an old API, even the official documentation recommends other bindings for new projects, but it is still widely used in existing desktop scripts.

Python bindings for D-Bus

How to install

sudo apt install libdbus-1-dev
pip install dbus-python

See also

Favorite site

author Zer0, MCPBot sitemap