Instead, consider using pynng
_.
Is what it says on the tin. Stay tuned for more. Dependencies:
The usual should work:
.. code-block:: shell
$ sudo pip install nnpy
.. code-block:: python
import nnpy
pub = nnpy.Socket(nnpy.AF_SP, nnpy.PUB) pub.bind('inproc://foo')
sub = nnpy.Socket(nnpy.AF_SP, nnpy.SUB) sub.connect('inproc://foo') sub.setsockopt(nnpy.SUB, nnpy.SUB_SUBSCRIBE, '')
pub.send('hello, world') print(sub.recv())
nanomsg <http://nanomsg.org/>
_aionn <https://github.com/wrobell/aionn>
_ - asyncio messaging library based on nnpy.. _pynng: https://github.com/codypiersall/pynng