Skip to main content

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

Project description

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.

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

gdbus_util-0.1.0.tar.gz (31.8 kB view hashes)

Uploaded Source

Built Distribution

gdbus_util-0.1.0-py3-none-any.whl (22.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page