pynats2 0.9.0

Last updated:

0 purchases

pynats2 0.9.0 Image
pynats2 0.9.0 Images
Add to Cart

Description:

pynats2 0.9.0

pynats2
Thread based python client for NATS messaging system.
This project is a replacement for abandoned pynats and nats-python. pynats2 supports only Python 3.6+ and fully covered with typings.
Go to the asyncio-nats project, if you're looking for asyncio implementation.
Installation
$ pip install pynats2

Usage
from pynats2 import NATSClient

with NATSClient() as client:
client.publish("test-subject", payload=b"test-payload")

Contributing
To work on the pynats2 codebase, you'll want to clone the project locally and install the required dependencies via pip.
$ git clone [email protected]:yosshy/pynats2.git
$ pip install -r requirements.txt
$ python setup.py install

To run tests and linters use command below:
$ black --check --diff .
$ flake8 pynats2 tests
$ mypy --ignore-missing-imports --follow-imports=silent pynats2 tests

License
pynats2 is licensed under the MIT license. See the license file for details.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.