The official Python client library for NSQ
Python Shell
Latest commit ed7ef0d Feb 22, 2017 @jehiah jehiah committed on GitHub Merge pull request #169 from jehiah/client_id_169
IDENTIFY: send 1.0 compatible client_id and hostname fields

README.md

pynsq

Build Status GitHub release PyPI

The official Python client library for NSQ.

Installation

$ pip install pynsq

Docs

For HTML documentation, visit https://pynsq.readthedocs.org/

Tests

These are the prerequisites for running tests:

 sudo apt-get install libsnappy-dev
 wget http://bitly-downloads.s3.amazonaws.com/nsq/nsq-0.3.5.linux-amd64.go1.4.2.tar.gz
 tar zxvf nsq-0.3.5.linux-amd64.go1.4.2.tar.gz
 sudo cp nsq-0.3.5.linux-amd64.go1.4.2/bin/{nsqd,nsqlookupd} /usr/local/bin

To run test cases:

 python setup.py test