{"categories":[{"label":"Distributed Computing","url":"https://skillfed.io/packages/category/system-distributed-computing"}],"enrichment":{"capability":"An asyncio Python client for connecting to and messaging through NATS, a distributed messaging system, with support for core pub-sub, request-reply, and JetStream persistence patterns.","skillfed_tags":["async-messaging","distributed-systems","pub-sub"],"use_cases":["Build microservices that communicate asynchronously via pub-sub topics without tight coupling.","Implement request-reply patterns where one service asks another for data and waits for a response.","Create persistent message queues using JetStream to ensure messages are not lost if subscribers are temporarily offline.","Distribute work across multiple workers by publishing tasks to a queue group and letting subscribers process them in parallel.","Monitor and log events from distributed systems by publishing events to a central NATS server."],"what_it_does":"nats-py is an asyncio-native Python client for NATS, a lightweight distributed messaging system. It provides a clean async/await interface for publishing and subscribing to messages across a network, supporting both simple pub-sub patterns and request-reply interactions. The client handles connection management, message routing, and error recovery automatically.\n\nBeyond basic messaging, the package includes JetStream support for persistent message streams, allowing you to store and replay messages, create durable subscribers that survive restarts, and implement ordered consumption with flow control. It also supports TLS encryption, NKEYS authentication, and JWT credentials for secure deployments. With no external runtime dependencies, it installs cleanly into any Python 3.7+ environment.","worth_installing":"Yes. nats-py is actively maintained, has no external dependencies, and provides a straightforward asyncio interface to a mature messaging system. Install it if you need lightweight async messaging, pub-sub distribution, or persistent queues in a distributed architecture. The only prerequisite is access to a NATS server; for learning, the public demo server works, but production requires your own deployment."},"id":"nats-py","links":{"html":"https://skillfed.io/packages/nats-py","md":"https://skillfed.io/packages/nats-py.md","pypi":"https://pypi.org/project/nats-py/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-05","license_spdx":"Apache-2.0","license_treatment":"permissive","name":"nats-py","python_support":"supports_current","summary":"NATS client for Python"},"popularity":{"monthly_downloads":5452904,"position":2096,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.15.0"}
