A collection of utilities to create GDBus services in Python.
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.
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.
To install the latest release from PyPI:
pip install gdbus-util
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
.