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.

Metadata

Release files for dbus-python 1.5.1

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.5.1
File Size Uploaded Provenance
dbus_python-1.5.1.tar.gz 205.5 kB Without provenance Details

Release files / dbus_python-1.5.1.tar.gz

Download URL dbus_python-1.5.1.tar.gz
Size 205.5 kB
Tags Source
SHA-256 checksum
How to use checksums
57423cf87d09b7d084f420b55b737fe654c33339b06df77945620d97795c6ac4
BLAKE2b-256 checksum
How to use checksums
f3cc23f24bc7cbfec3a0ab508b7e11bc98837d77a91445d5f666a8545353a147
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Security for dbus-python 1.5.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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