nats-io/nats.py
Python3 client for NATS observed · 2026-08-28
Health v2 · maintenance only
95/100
- Activity 98
- Release rhythm 87
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 24.0
- age_days: 3901
- days_rel: 89
- days_push: 12
- n_releases_24m: 13
Adoption not part of the score
1243 stars · 262 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
nats.py is the official asyncio-based Python client for the NATS messaging system, supporting pub/sub, request/reply, and JetStream. It also includes a companion nats-server package for managing NATS server instances during development and testing.
Use cases
- publish and subscribe to messages over NATS from Python
- build async microservices communicating via NATS
- use JetStream persistent messaging from Python
- implement request/reply messaging with asyncio
- spin up NATS servers programmatically for tests
- connect Python apps to cloud-native NATS clusters
When to choose
- you need an async Python client for NATS or JetStream
- you're building event-driven or microservice architectures in Python
- you want official, well-maintained NATS support with TLS and JWT auth
When to avoid
- you need a synchronous/blocking NATS client
- you use Kafka, RabbitMQ, or another broker instead of NATS
- you're not working in Python
Facets
library · maturity active
message-queue http-client sdk microservices cloud-computing developer-tools python cross-platform nats asyncio pub-sub jetstream cloud-native messaging-client messaging
3 sources
- readme: https://github.com/nats-io/nats.py · fetched 2026-08-28 · b0f3c60b063f
- homepage: https://nats-io.github.io/nats.py/ · fetched 2026-08-29 · 66cdc4554d75
- registry_pypi: https://pypi.org/pypi/nats.py/json · fetched 2026-08-29 · 01a63b8e36c9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| nats-io/nats.py | main | 95 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem