[zeromq-dev] czmq python binding Zpoller

Arnaud Loonstra arnaud at sphaero.org
Thu Nov 5 15:09:55 CET 2015

On 2015-11-05 14:53, Johan Philips wrote:
>> I haven't found the best approach yet. First of all you can use
>> ZyreEvents. See the test.py file for an example.
> I’ve been using ZyreEvent but since it’s blocking I need a working 
> Zpoller :(
>> I've used the zyre binding with PyZMQ. I had to wrap the binding to
>> cast the pointer to a PyZMQ socket object. I don't have the code 
>> here so
>> can't provide how it is done. I might have posted it on this ML 
>> though.
> Ok, I’ll look into that. We were experiencing some odd behaviour with
> Pyre that’s why I switched to the binding provided in Zyre. I’ll see
> if I can combine this with PyCZMQ, which used ffi, rather than the
> python binding in czmq, which using ctypes.

Please report any odd behaviour of Pyre. With Pyre it's much easier to 
add the sockets to a poller. I'm looking into getting the zyre bindings 
into pyre as of recent python binding improvements in zproject.



More information about the zeromq-dev mailing list