Python DBus-Next Documentation

Overview

Python DBus-Next is a library for the DBus message bus system for interprocess communcation in a Linux desktop or mobile environment.

Desktop application developers can use this library for integrating their applications into desktop environments by implementing common DBus standard interfaces or creating custom plugin interfaces.

Desktop users can use this library to create their own scripts and utilities to interact with those interfaces for customization of their desktop environment.

While other libraries for DBus exist for Python, this library offers the following improvements:

  • Zero dependencies and pure Python 3.

  • Support for multiple main loop backends including asyncio and the GLib main loop.

  • Nonblocking IO suitable for GUI development.

  • Target the latest language features of Python for beautiful services and clients.

  • Complete implementation of the DBus type system without ever guessing types.

  • Integration tests for all features of the library.

  • Completely documented public API.

The library offers three core interfaces:

  • The High Level Client - Communicate with an existing interface exported on the bus by another client through a proxy object.

  • The High Level Service - Export a service interface for your application other clients can connect to for interaction with your application at runtime.

  • The Low Level Interface - Work with DBus messages directly for applications that work with the DBus daemon directly or to build your own high level abstractions.

Installation

This library is available on PyPi as dbus-next.

pip3 install dbus-next

Contributing

Development for this library happens on Github. Report bugs or request features there. Contributions are welcome.

License

This library is available under an MIT License.

© 2019, Tony Crisci

Indices and tables