Skip to main content

MirrorNeuron REST API

Project description

MirrorNeuron API

mn-api is the FastAPI REST gateway for MirrorNeuron. It exposes runtime, blueprint, job, graph, event, metric, and run-artifact endpoints and forwards runtime calls to the core through the Python SDK gRPC client.

Quick Start

Install locally and run tests:

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

Start the local API:

mn-api

Default local URL:

http://localhost:54001

Details

Notes

  • A running MirrorNeuron core is required for live runtime calls.
  • Use MN_ENV=prod with MN_API_TOKEN when exposing protected endpoints.
  • MN_RUNS_ROOT controls where run artifacts are read from.

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

mirrorneuron_api-1.2.6.tar.gz (109.7 kB view details)

Uploaded Source

Built Distribution

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

mirrorneuron_api-1.2.6-py3-none-any.whl (73.0 kB view details)

Uploaded Python 3

File details

Details for the file mirrorneuron_api-1.2.6.tar.gz.

File metadata

  • Download URL: mirrorneuron_api-1.2.6.tar.gz
  • Upload date:
  • Size: 109.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mirrorneuron_api-1.2.6.tar.gz
Algorithm Hash digest
SHA256 66519a889d98f380efbc9ccc1777f72651f6e803bdc0cf1ed004f6b170b7c520
MD5 27b31b2256e3ea1732c54d4115da9fb8
BLAKE2b-256 753d5ce90ffcb3369683b9f5252c4e795adae6cc0f1d4c5c1340f0eebda150b4

See more details on using hashes here.

Provenance

The following attestation bundles were made for mirrorneuron_api-1.2.6.tar.gz:

Publisher: release.yml on MirrorNeuronLab/mn-api

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mirrorneuron_api-1.2.6-py3-none-any.whl.

File metadata

File hashes

Hashes for mirrorneuron_api-1.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 e437659e06a79ae181a8e9385ec2b5f6ad967575bf1833b13100f05028c42c30
MD5 d4b08a95606699ad59824f86a6953ddc
BLAKE2b-256 b50b23a08d323b2c58cfb90eee0d92e3850132acfff0687a2cb90e6c7d7b5413

See more details on using hashes here.

Provenance

The following attestation bundles were made for mirrorneuron_api-1.2.6-py3-none-any.whl:

Publisher: release.yml on MirrorNeuronLab/mn-api

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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