Easy GDBus service creation with exit-on-idle functionality.
Project description
Python GDBus Util
A collection of utilities to create GDBus services in Python.
DBusObject
This class can be used to define a D-Bus object and register it on a D-Bus connection.
See the DBusObject
documentation
for more information.
ExitOnIdleService
This class implements race-free exit-on-idle for a D-Bus service. It is useful for services that are meant to be started on demand and exit automatically when they are no longer needed.
See the ExitOnIdleService
documentation
for more information.
Installation
To install the latest release from PyPI:
pip install gdbus-util
Credits
The race-free exit-on-idle implementation was inspired by
https://github.com/cgwalters/test-exit-on-idle and systemd's
bus_event_loop_with_idle
.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file gdbus_util-0.1.0.tar.gz
.
File metadata
- Download URL: gdbus_util-0.1.0.tar.gz
- Upload date:
- Size: 31.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95b8098fde1e207fc61dd91e1d0c318051277c9e680c24f7e049c941a3c5b1a5 |
|
MD5 | 524e15d3ad1eb986dc6e7a42560a02ca |
|
BLAKE2b-256 | 6b5cdfb26a6e777e4c5ffa3a55560f02bac2ed413f5ed4b119d24ca0b3e40991 |
File details
Details for the file gdbus_util-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: gdbus_util-0.1.0-py3-none-any.whl
- Upload date:
- Size: 22.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e76cd395147eb8631a48fc4ea83d438637da474bdf5f95d7c6ee6bf9d9d02a1 |
|
MD5 | 2481bed105277e5590fa2e1957c0d2c3 |
|
BLAKE2b-256 | 00718f72806ead81f46a39c7dcc99be836ca24942251a85d58344e63d9db0327 |