Skip to main content

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.

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.0.3.tar.gz (28.4 kB view details)

Uploaded Source

Built Distribution

gdbus_util-0.0.3-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

File details

Details for the file gdbus_util-0.0.3.tar.gz.

File metadata

  • Download URL: gdbus_util-0.0.3.tar.gz
  • Upload date:
  • Size: 28.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for gdbus_util-0.0.3.tar.gz
Algorithm Hash digest
SHA256 e55fd983a7c98c213455c59d92335b6958fcecabf78fc7915fb7c3e55dbb9302
MD5 068ebf745660a4d2fd8017d46afd5568
BLAKE2b-256 7f41c89c21afaf0add8022f8a9e8bf790cfa9731d82036fcce1b231808decb9b

See more details on using hashes here.

File details

Details for the file gdbus_util-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: gdbus_util-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 22.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for gdbus_util-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ab54c7b3aa9a8c1dc7a436f1151bf2e037c720f06afb7d8d5521de2a07774365
MD5 8e2b84fc890db340ec77d90b43b159da
BLAKE2b-256 dc0ad8dae969e66e24d8035cfc342bb081d69b39ddc5e8ea2e7284810a4eff19

See more details on using hashes here.

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