Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.32 KB

README.md

File metadata and controls

41 lines (29 loc) · 1.32 KB

Python GDBus Util

Read the Docs PyPI - Version

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.