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 details)
Built Distribution
gnsq-0.1.1-py2.py3-none-any.whl
(21.2 kB
view details)
File details
Details for the file gnsq-0.1.1.tar.gz
.
File metadata
- Download URL: gnsq-0.1.1.tar.gz
- Upload date:
- Size: 33.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93977fbc0c81ac4f22f8a120f94c206f831fbd32cccd134adcd4ef3c40286030 |
|
MD5 | 3d279a504cc62d7603526cc426a49430 |
|
BLAKE2b-256 | 46ad71b74f8baa9365ceddb35e7ca9f749cd9275afb813898ea4005949c52c29 |
Provenance
File details
Details for the file gnsq-0.1.1-py2.py3-none-any.whl
.
File metadata
- Download URL: gnsq-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 21.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c349ecb8cc4731f4d0272293d387e29804e07e1fea009e7c9fa7b9d27d67d6f9 |
|
MD5 | bce8c2c5381a6006512b62ce711ad792 |
|
BLAKE2b-256 | aacfe456af7609d0bedaf812830777f632fb26af3dad55e9adf9c18330edd57e |