Nexus microservice framework Python SDK
Project description
nexus-rpc-sdk
Python SDK for the Nexus microservice framework.
Installation
pip install nexus-rpc-sdk
Quick example
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nexus_rpc_sdk-0.5.0.tar.gz
(19.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nexus_rpc_sdk-0.5.0.tar.gz.
File metadata
- Download URL: nexus_rpc_sdk-0.5.0.tar.gz
- Upload date:
- Size: 19.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bcfae111f888285675318cb8745afc865fcc479d2346e78445e6db5cfd883a1b
|
|
| MD5 |
3b820193d4010586a6384b2d03aee315
|
|
| BLAKE2b-256 |
fa64c5cc3a1467a2916b12588bc4896c9f42b60dc19839ba4d4dc422f7e2da76
|
File details
Details for the file nexus_rpc_sdk-0.5.0-py3-none-any.whl.
File metadata
- Download URL: nexus_rpc_sdk-0.5.0-py3-none-any.whl
- Upload date:
- Size: 13.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d7f2d18f07a3b2a6fecbf443346e13a0a8a0572e2ce3d72b0fdcc3a979c1c2b
|
|
| MD5 |
7908690955849f30ad2c3465bae478d8
|
|
| BLAKE2b-256 |
6ae8fa3c226ebbca6d95a045d0544d2b7827be7fd8cba233e5e3b4105f46a4c3
|