A gevent based NSQ driver for Python.
Project description
A gevent based NSQ driver for Python.
Free software: BSD license
Documentation: http://gnsq.readthedocs.org.
Installation
At the command line:
$ easy_install gnsq
Or even better, if you have virtualenvwrapper installed:
$ mkvirtualenv gnsq $ pip install gnsq
Usage
To use gnsq in a project:
import gnsq reader = gnsq.Reader('topic', 'channel', 'localhost:4150') @reader.on_message.connect def handler(reader, message): do_work(message.body) reader.start()
History
0.1.1 (2014-07-07)
Fix packaging stream submodule.
Send queued messages before closing socket.
Continue to read from socket on EAGAIN
0.1.0 (2014-07-07)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gnsq-0.1.1.tar.gz
(33.1 kB
view hashes)
Built Distribution
gnsq-0.1.1-py2.py3-none-any.whl
(21.2 kB
view hashes)