[Twisted-Python] Twisted apps + zeroconf, anyone?

Thomas Hervé therve at free.fr
Wed Dec 26 08:12:59 EST 2007

Jarek Zgoda a écrit :
> I'd like to add auto-discovery feature to my (Twisted) application and I 
> thought I'll use zeroconf to advertize the service to clients in local 
> network. I decided on zeroconf, because the app is a webservice that has to 
> be accessible to multitude of various clients. Unfortunately, the only one 
> library I found barely usable with Twisted is PyZeroconf (the other is 
> avahi, but it seems too tightly bound to gobject to be usable with 
> Twisted). Is this all or I do not know how to use google?
> Anybody can share any hints on this? Is this feasible idea or there are 
> better ways to achieve what I want?

A quick search of twisted and zeroconf should redirect you to some 
infos, especially to the mDNS implementation of itamar in its sandbox: 
http://twistedmatrix.com/trac/browser/sandbox/itamar/mdns. Nothing 
completly finished though, but contributions are welcome :).

I don't know avahi, but the fact it uses gobject may not be a problem if 
you use the gtk2reactor.


More information about the Twisted-Python mailing list