Skip to content

feat(sdk): generate Python client from proto #19

Open

Description

@EngineerProjects

Summary

Generate a Python gRPC client from nexus.proto and publish it as a
pip-installable package so Python developers can use Nexus without
running Go.

Deliverables

  • sdk/python/ — generated stubs + thin wrapper with a friendly API
  • sdk/python/nexus/__init__.py — NexusClient class
  • sdk/python/pyproject.toml — installable as pip install nexus-engine
  • README in sdk/python/README.md with quickstart

NexusClient API (proposed)

from nexus import NexusClient

client = NexusClient(host="localhost:50051", api_key="...")

# One-shot query
response = client.query("Refactor the auth module")
print(response.content)

# Streaming
for event in client.stream("Write a Go HTTP handler"):
    if event.HasField("text_chunk"):
        print(event.text_chunk.text, end="", flush=True)

# Sessions
session = client.create_session()
session.submit("First message")
session.submit("Follow-up question")

Acceptance criteria

Activity

  1. added
    enhancement
    on Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions