Skip to main content

dbus-python: Python bindings for D-Bus

dbus-python is the original Python binding for dbus, the reference implementation of the D-Bus protocol.

Online documentation can be found at <http://dbus.freedesktop.org/doc/dbus-python/>.

Problems and alternatives

dbus-python might not be the best D-Bus binding for you to use. dbus-python does not follow the principle of “In the face of ambiguity, refuse the temptation to guess”, and can’t be changed to not do so without seriously breaking compatibility.

In addition, it uses libdbus (which has known problems with multi-threaded use) and attempts to be main-loop-agnostic (which means you have to select a suitable main loop for your application).

Alternative ways to get your Python code onto D-Bus include, in no particular order:

  • GDBus, part of the GIO module of GLib, via GObject-Introspection and PyGI (uses the GLib main loop and object model)

  • dasbus, a higher-level wrapper around GDBus

  • QtDBus, part of Qt, via PyQt (uses the Qt main loop and object model)

  • dbussy, a CTypes wrapper around libdbus using asyncio for event handling

  • dbus-next, a pure-Python implementation of the D-Bus protocol using asyncio for event handling

  • dbus-fast, a fork of dbus-next emphasizing performance

  • jeepney, a pure-Python implementation of the D-Bus protocol with support for several event loop models

Inclusion in this list is not intended to imply endorsement.

Release files for dbus-python 1.4.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 dbus-python 1.4.0
File Size Uploaded
dbus-python-1.4.0.tar.gz 232.5 kB Details

Release files / dbus-python-1.4.0.tar.gz

Download URL dbus-python-1.4.0.tar.gz
Size 232.5 kB
Tags Source
SHA-256 checksum
How to use checksums
991666e498f60dbf3e49b8b7678f5559b8a65034fdf61aae62cdecdb7d89c770
BLAKE2b-256 checksum
How to use checksums
ff2463118050c7dd7be04b1ccd60eab53fef00abe844442e1b6dec92dae505d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release history Release notifications | RSS feed

This release

1.4.0 This release

1 release file

1.3.2

1 release file

1.2.18

1 release file

1.2.16

1 release file

1.2.12

1 release file

1.2.10

1 release file

1.2.8

1 release file

1.2.4

1 release file

1.2.2

1 release file

1.2.0

0.84.0

1 release file

0.83.2

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