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.

Filename, size & hash SHA256 hash help File type Python version Upload date
debus-0.1.12.tar.gz (124.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page