<html><body><div style="color:#000; background-color:#fff; font-family:garamond, new york, times, serif;font-size:12pt"><div><span>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.</span></div><div> </div><div><span style="font-family: garamond, times, serif; ">Thanks,<br>Mark Mikofski<br><a rel="nofollow" target="_blank" href="http://poquitopicante.blogspot.com/">poquitopicante.blogspot.com</a><br><a rel="nofollow" target="_blank" href="http://breakingbytes.blogspot.com/">breakingbytes.blogspot.com</a><br><a
 rel="nofollow" target="_blank" href="http://www.breaking-bytes.com/">www.breaking-bytes.com</a></span></div><div><br></div>  <div style="font-family: garamond, 'new york', times, serif; font-size: 12pt; "> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Pavel Strashkin <pavel.strashkin@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> Tom Cocagne <tom.cocagne@gmail.com> <br><b><span style="font-weight: bold;">Cc:</span></b> dbus@lists.freedesktop.org <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, July 6, 2012 1:16 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: Ann: txDBus 1.0 - Native Python implementation of DBus for Twisted<br> </font> </div> <br>
Hi Tom,<br><br>That is just amazing! For those who are not interested in speed that<br>is a good opportunity to start using dbus + python on Windows while<br>dbus-python is being ported.<br><br>The only thing i miss in txDBus comparing to dbus-python is the way to<br>export services/objects.<br>In dbus-python there are dbus.service.BusName (Service) and<br>dbus.service.Object with dbus_method and dbus_signal decorators.<br><br>class MyObject(dbus.service.Object):<br>  @dbus.service.method(interface, in_args, out_args, ...)<br>  def sum(self, a, b):<br>    return self.sumCalculated(a + b) # emits signal<br><br>   @dbus.service.signal(interface, signature)<br>   def sumCalculated(self, sum):<br>     return sum<br><br>Anyway good start. Keep improving it!<br><br>2012/7/5 Tom Cocagne <<a ymailto="mailto:tom.cocagne@gmail.com" href="mailto:tom.cocagne@gmail.com">tom.cocagne@gmail.com</a>>:<br>> For those
 interested, I've recently released a pure-python<br>> implementation of DBus that's specifically geared for the Twisted<br>> networking library. It's significantly slower than the libdbus binding<br>> (approximately 1/3rd to 1/5th the performance) on the CPython<br>> interpreter but runs at about the same speed as the libdbus bindings<br>> when running on the pypy.<br>><br>> The documentation includes a comprehensive tutorial on how to use the<br>> library as well as a general-purpose overview of the DBus protocol.<br>><br>> <a href="https://github.com/cocagne/txdbus" target="_blank">https://github.com/cocagne/txdbus</a><br>><br>> http://pypi.python.org/pypi/txdbus<br>><br>> Cheers,<br>><br>> Tom Cocagne<br>> _______________________________________________<br>> dbus mailing list<br>> <a ymailto="mailto:dbus@lists.freedesktop.org"
 href="mailto:dbus@lists.freedesktop.org">dbus@lists.freedesktop.org</a><br>> http://lists.freedesktop.org/mailman/listinfo/dbus<br>_______________________________________________<br>dbus mailing list<br><a ymailto="mailto:dbus@lists.freedesktop.org" href="mailto:dbus@lists.freedesktop.org">dbus@lists.freedesktop.org</a><br><a href="http://lists.freedesktop.org/mailman/listinfo/dbus" target="_blank">http://lists.freedesktop.org/mailman/listinfo/dbus</a><br><br><br> </div> </div>  </div></body></html>