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.4.0.tar.gz (19.7 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.4.0-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nexus_rpc_sdk-0.4.0.tar.gz
  • Upload date:
  • Size: 19.7 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.4.0.tar.gz
Algorithm Hash digest
SHA256 14564a979e19154ab55e07f883010e48db24fb10de7a95322dbffa0aba3a1729
MD5 f6f935ab5438eedffe3ec3086f886b99
BLAKE2b-256 57d5e64a50cf05119b9f4bacd84efb8c2525863075800c9587e9e4401ae93f44

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for nexus_rpc_sdk-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d7a769ac790d6260cac3231155feb921f83fb923ce21e88fcbce466bc71febd6
MD5 daa6e7f9771fd983e563b72beecd5156
BLAKE2b-256 7a41b1ff13dc3fce02e110790b2bbf7a17d36b9c41643740e3f3fef4a5d0887e

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