{"repo":"nats-io/nats.py","free":true,"listed":false,"github":"https://github.com/nats-io/nats.py","clone":"git clone https://github.com/nats-io/nats.py.git","description":"Python3 client for NATS","language":"Python","stars":1241,"topics":["asyncio","nats","python3","cloud-native","aio-nats","aio"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"NATS.py - Python Client and Tools A Python workspace for NATS messaging system, containing: - nats-py - An asyncio Python client for NATS - nats-server - Python library for managing NATS servers for development and testing Packages nats-py The main NATS client for Python, providing async/await support for pub/sub and JetStream. Installation: pip install nats-py Documentation: See Getting Started and JetStream below nats-server A Python library for managing NATS servers in development and testing environments. Provides async APIs to start, configure, and manage NATS server instances and clusters. Installation: pip install nats-server Documentation: See the nats-server package for details --- nats-py Client Supported platforms Should be compatible with at least Python +3.8. Getting started JetStream Starting v2.0.0 series, the client now has JetStream support: TLS TLS connections can be configured with an ssl context Setting the scheme to tls in the connect URL will make the client create a default ssl context automatically: Note : If getting SSL certificate errors in OS X, try first installing the certifi certificate bundle. If using Python 3.7 for example, then run: NKEYS and JWT User Credentials Since v0.9.0 release, you can also optionally install NKEYS in order to use the new NATS v2.0 auth features: Usage: --- Client and Orbit NATS client functionality is split across two layers: the core client ( nats-py , this repo) and Orbit , a separate set of packages with higher-lev","default_branch":null,"files":null,"tree":[],"storefront":"/r/nats-io","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nats-io/nats.py/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}