Ann: txDBus 1.0 - Native Python implementation of DBus for Twisted
bwanamarko at yahoo.com
Fri Jul 6 09:28:36 PDT 2012
Hi, Not to diminish your impressive working porting dbus to native Python, but I wanted to let you all know that with Simon's help, I have successfully ported dbus-python to windows (Simon + others did the _real_ work!). I'm typing up the recipe right now, which I;ll send to Simon to review. Also I'm not 100% sure that all of the functionality is there, but I can import the library dbus into Python. Maybe other windows users can follow the recipe and test it to work out anymore bugs.
From: Pavel Strashkin <pavel.strashkin at gmail.com>
To: Tom Cocagne <tom.cocagne at gmail.com>
Cc: dbus at lists.freedesktop.org
Sent: Friday, July 6, 2012 1:16 AM
Subject: Re: Ann: txDBus 1.0 - Native Python implementation of DBus for Twisted
That is just amazing! For those who are not interested in speed that
is a good opportunity to start using dbus + python on Windows while
dbus-python is being ported.
The only thing i miss in txDBus comparing to dbus-python is the way to
In dbus-python there are dbus.service.BusName (Service) and
dbus.service.Object with dbus_method and dbus_signal decorators.
@dbus.service.method(interface, in_args, out_args, ...)
def sum(self, a, b):
return self.sumCalculated(a + b) # emits signal
def sumCalculated(self, sum):
Anyway good start. Keep improving it!
2012/7/5 Tom Cocagne <tom.cocagne at gmail.com>:
> For those interested, I've recently released a pure-python
> implementation of DBus that's specifically geared for the Twisted
> networking library. It's significantly slower than the libdbus binding
> (approximately 1/3rd to 1/5th the performance) on the CPython
> interpreter but runs at about the same speed as the libdbus bindings
> when running on the pypy.
> The documentation includes a comprehensive tutorial on how to use the
> library as well as a general-purpose overview of the DBus protocol.
> Tom Cocagne
> dbus mailing list
> dbus at lists.freedesktop.org
dbus mailing list
dbus at lists.freedesktop.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dbus