Python DBus-Fast Documentation¶
- The Type System
- The High Level Client
- The High Level Service
- The Low Level Interface
- The Message Bus
- Introspection
- Validators
- Constants
BusType
MessageType
MessageFlag
NameFlag
RequestNameReply
ReleaseNameReply
PropertyAccess
ArgDirection
ErrorType
ErrorType.ACCESS_DENIED
ErrorType.ADDRESS_IN_USE
ErrorType.AUTH_FAILED
ErrorType.BAD_ADDRESS
ErrorType.CLIENT_ERROR
ErrorType.DISCONNECTED
ErrorType.FAILED
ErrorType.FILE_EXISTS
ErrorType.FILE_NOT_FOUND
ErrorType.INCONSISTENT_MESSAGE
ErrorType.INTERACTIVE_AUTHORIZATION_REQUIRED
ErrorType.INTERNAL_ERROR
ErrorType.INVALID_ARGS
ErrorType.INVALID_SIGNATURE
ErrorType.IO_ERROR
ErrorType.LIMITS_EXCEEDED
ErrorType.MATCH_RULE_INVALID
ErrorType.MATCH_RULE_NOT_FOUND
ErrorType.NAME_HAS_NO_OWNER
ErrorType.NOT_SUPPORTED
ErrorType.NO_MEMORY
ErrorType.NO_NETWORK
ErrorType.NO_REPLY
ErrorType.NO_SERVER
ErrorType.PROPERTY_READ_ONLY
ErrorType.SERVICE_ERROR
ErrorType.SERVICE_UNKNOWN
ErrorType.TIMEOUT
ErrorType.UNIX_PROCESS_ID_UNKNOWN
ErrorType.UNKNOWN_INTERFACE
ErrorType.UNKNOWN_METHOD
ErrorType.UNKNOWN_OBJECT
ErrorType.UNKNOWN_PROPERTY
- Errors
- Authentication
Overview¶
Python DBus-Fast 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-fast.
pip3 install dbus-fast
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.
© 2022, Bluetooth Devices authors © 2019, Tony Crisci