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.2.tar.gz
(20.4 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.2.tar.gz.
File metadata
- Download URL: nexus_rpc_sdk-0.5.2.tar.gz
- Upload date:
- Size: 20.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87615077c0183b92fa47af38e98c80ba3137e3d6d738412ddc049e0811c2fb6c
|
|
| MD5 |
516270b2f228b0f18010663ca61d63a7
|
|
| BLAKE2b-256 |
683962659129e4b8cdf88780748e6fe4cd306bd0146aff61b42da71f9f0b7007
|
File details
Details for the file nexus_rpc_sdk-0.5.2-py3-none-any.whl.
File metadata
- Download URL: nexus_rpc_sdk-0.5.2-py3-none-any.whl
- Upload date:
- Size: 13.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cadb4345b3020c21950f289903327111925965c2c92572274fbfe79ca7174c85
|
|
| MD5 |
b0067ed333b32811c2052862e3abd7a6
|
|
| BLAKE2b-256 |
2a521618d08be6b52ed23fa6634d24bca9d792fed374c7368018afae800fc831
|