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 details)

Uploaded Source

File details

Details for the file debus-0.1.12.1.tar.gz.

File metadata

  • Download URL: debus-0.1.12.1.tar.gz
  • Upload date:
  • Size: 124.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.3

File hashes

Hashes for debus-0.1.12.1.tar.gz
Algorithm Hash digest
SHA256 3a0b027569875eb41882437e6912ef6de174225c4487df2c564d463db1fd9a23
MD5 eaaa3f78fbf4ae5cea2b8ba04bd93322
BLAKE2b-256 83e7f48429c3a385305eb9b2e5fb92d16c9246add02007ce0be59d386e3a6988

See more details on using hashes here.

Supported by

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