Skip to main content

DBus wire protocol implementation

Project description

Build Status

debus: a non-reference DBus implementation

Summary

This is an attempt to make a nice-to-use asynchronous DBus implementation without any extra dependencies and magic.

Why?

There are two main issues with using "the" dbus implementation with python:

  • magical dependencies ("what is import gi and how do I get it to work on my embedded device?")
  • foreign event loop mandatory for certain operations*, while in the end we only need ot read/write to a socket

* AFAIR you can do synchronous calls wihtout the event loop, but definitely can't subscribe to signals without it

Dependecies

debus uses cython. Thus, you need it (and a working build environment for C) to build debus.

At runtime no extra dependencies (except python itself) is needed.

Known limitations

  • Only little-endian messages are supported so far
  • Methods have to return a tuple to match dbus idea of multiple "out" parameters

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

debus-0.1.12.1.tar.gz (124.9 kB view hashes)

Uploaded Source

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