WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

adombeck/python-gdbus-util

Repository files navigation

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.

About

Easy GDBus service creation with exit-on-idle functionality.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published