Skip to main content

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.1.tar.gz (19.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nexus_rpc_sdk-0.5.1-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

Details for the file nexus_rpc_sdk-0.5.1.tar.gz.

File metadata

  • Download URL: nexus_rpc_sdk-0.5.1.tar.gz
  • Upload date:
  • Size: 19.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for nexus_rpc_sdk-0.5.1.tar.gz
Algorithm Hash digest
SHA256 262f733c37eaf8cb056abb05f93700dea77bc91d6ab7927c79a7d38e083bb65f
MD5 26f41c69020a61d492127c816f0bc229
BLAKE2b-256 4950fdf0df5c569f72d564f0ef69d0122dba61ae19dd7ef582c556956af5c8ae

See more details on using hashes here.

File details

Details for the file nexus_rpc_sdk-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: nexus_rpc_sdk-0.5.1-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.11.14

File hashes

Hashes for nexus_rpc_sdk-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7d79dd44d392bba26bf6c889ea96a920e22fd7381fedbe986f07c417298719f7
MD5 0e32ad5e23d17a66cc86484c780c2453
BLAKE2b-256 c8bfbfbc156a8d44f313cdabc7d6bbebabcdd3fd5c318abb2722c324521c33c0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page