Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 936 Bytes

File metadata and controls

38 lines (27 loc) · 936 Bytes

MirrorNeuron Python SDK

mn-python-sdk provides the Python gRPC client and workflow-bundle helpers used by the CLI, API, and Python-defined workflows.

Quick Start

Install locally and run tests:

python3.11 -m venv .venv
. .venv/bin/activate
.venv/bin/python -m pip install -e ".[dev]"
.venv/bin/python -m pytest -q
.venv/bin/python -m ruff check .

Minimal client example:

from mn_sdk import Client

client = Client(target="localhost:55051")
print(client.list_jobs(limit=5))

Details

Notes

  • A running MirrorNeuron core is required for live client calls.
  • Constructor arguments take precedence over environment variables.
  • Generated protocol modules are included with the package.