Skip to main content

dbus-python: Python bindings for D-Bus

Usage

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

There is an incomplete tutorial in doc/tutorial.txt (if you compile dbus-python with docutils’ rst2html tool installed or you’re reading this document on the D-Bus website, there’s also an HTML version).

API documentation is generated if you compile dbus-python with epydoc version 3 and docutils installed. An online copy of the API documentation is also available.

To develop on dbus-python, see doc/HACKING.txt or the HTML version.

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:

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

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

Metadata

Release files for dbus-python 0.84.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 0.84.0
File Size Uploaded
dbus-python-0.84.0.tar.gz 563.9 kB Details

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

Download URL dbus-python-0.84.0.tar.gz
Size 563.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b85bc7aaf1a976627ca461b1ca7b0c4ddddff709f52fe44c9b2d1d7d8fac5906
BLAKE2b-256 checksum
How to use checksums
af6d6ef666713c9903645aa76b4c4c888c17b7f5d77c636756a6c630647edfdd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

1.5.0

1 release file

1.4.0

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

This release

0.84.0 This release

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