Metadata-Version: 2.4
Name: ruststream-nats
Version: 0.1.0
Classifier: Development Status :: 1 - Planning
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Rust
Classifier: Topic :: Software Development :: Libraries
Classifier: Typing :: Typed
Requires-Dist: ruststream>=0.1.0,<0.2.0
Summary: NATS broker for the RustStream messaging framework (Python bindings).
Author: RustStream contributors
License: MIT OR Apache-2.0
Requires-Python: >=3.11, <3.15
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Homepage, https://github.com/powersemmi/ruststream-nats
Project-URL: Repository, https://github.com/powersemmi/ruststream-nats

# ruststream-nats

NATS broker for the [RustStream](../../) Python bindings.

Install via the `nats` extra on the core package (recommended) or directly:

```bash
pip install ruststream[nats]
# or, equivalently:
pip install ruststream ruststream-nats
```

Use the broker with the core router:

```python
from ruststream import Router
from ruststream_nats import NatsBroker

broker = await NatsBroker.connect("nats://127.0.0.1:4222")
router = Router(broker)
```

`ruststream_nats.testing.NatsTestClient` (Phase 5 rewrite — coming) provides a pure
in-process NATS / JetStream simulator for unit tests without a live `nats-server`.

