NATS Python client
Python client for NATS messaging and JetStream.
Jobs, queues and workflows PyPI Apache-2.0
How NATS Python client is used
NATS Python client joined the catalog on its public numbers (1,518,036 downloads a week on PyPI and 1,264 GitHub stars), not on our project count: it is a dependency in 9 public GitHub projects of our scan, 5 of them set up for AI coding agents. The most used alternative in our scan is confluent-kafka-python (3 projects). Projects that use it most often also use Pydantic (88.9%), Pydantic Settings (88.9%), SQLAlchemy (77.8%).
NATS Python client popularity over time
Gid Score 41: downloads 68, use in agent projects 16, GitHub stars 16, downloads trend 65 (each 0-100). How it is calculated.
Often used with NATS Python client
| Pydantic | 88.9% of NATS Python client projects · 10.3× more than average |
|---|---|
| Pydantic Settings | 88.9% of NATS Python client projects · 25.4× more than average |
| SQLAlchemy | 77.8% of NATS Python client projects · 27.0× more than average |
| Uvicorn | 77.8% of NATS Python client projects · 10.2× more than average |
| redis (Python) | 66.7% of NATS Python client projects · 33.4× more than average |
| FastAPI | 66.7% of NATS Python client projects · 8.9× more than average |
| OpenAI Python Library | 66.7% of NATS Python client projects · 16.9× more than average |
| cryptography | 66.7% of NATS Python client projects · 28.3× more than average |
Install
| Package | pip install nats-py |
|---|---|
| Main stacks | Python (8), Next.js (1) |
| Example projects | epuerta9/kitchenai, dainsiahtill-dev/Polaris, webspoilt/omniclaw |
Alternatives to NATS Python client
Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside NATS Python client are not listed here; they are in "Often used with".
| Tool | Gid Score | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|---|
| confluent-kafka-python pypi · new in the catalog Confluent's Python client for Apache Kafka. |
46 | 3 (0.2%) | 10.3M | 521 | Apache-2.0 |
| Pika pypi · new in the catalog RabbitMQ (AMQP) client for Python. |
52 | 3 (0.2%) | 2.8M | 3,888 | BSD |
More in Jobs, queues and workflows: APScheduler Croner node-cron Celery BullMQ croniter Inngest schedule