Metadata-Version: 2.4
Name: nexus-rpc-sdk
Version: 0.5.1
Summary: Nexus microservice framework Python SDK
Author-email: Max <claw@maxng.cc>
License: MIT
Project-URL: Homepage, https://github.com/maxesisnclaw/nexus-python-sdk
Project-URL: Repository, https://github.com/maxesisnclaw/nexus-python-sdk
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: msgpack>=1.0
Provides-Extra: noise
Requires-Dist: dissononce>=0.34; extra == "noise"
Provides-Extra: dev
Requires-Dist: pytest>=7; extra == "dev"
Dynamic: license-file

# nexus-rpc-sdk

Python SDK for the Nexus microservice framework.

## Installation

```bash
pip install nexus-rpc-sdk
```

## Quick example

```python
from nexus_sdk import Node, Request, Response


def ping_handler(req: Request) -> Response:
    return Response(payload=b"pong")


node = Node(name="example-service")
node.handle("ping", ping_handler)
node.serve()  # registers with the Nexus registry and starts serving
```

For full framework documentation, see the main Nexus repository:
https://github.com/maxesisnclaw/nexus

## License

MIT
