Skip to main content

armnet runtime SDK — used by code running inside customer containers on a cell.

Project description

armnet-runtime

The runtime SDK for the Armnet managed arm farm — the package you install inside your container image. It provides the @main decorator, the Context your function receives, and the armnet-runtime console script the container runs. It has a deliberately tiny dependency footprint so it's cheap to bake into every image.

from armnet_runtime import Context, main

@main
def run(ctx: Context) -> dict:
    ctx.report_progress("starting")
    obs = ctx.cell.get_observation()
    ...
    return {"ok": True}

Container CMD:

CMD ["armnet-runtime", "/app/main.py"]

Code that submits jobs from a dev machine or CI uses armnet-client instead.

Install

pip install armnet-runtime

Documentation

Full guides and API reference: https://safe-robotics.github.io/alpha-robotics/packages/runtime/

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

armnet_runtime-0.1.0.tar.gz (37.7 kB view details)

Uploaded Source

Built Distribution

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

armnet_runtime-0.1.0-py3-none-any.whl (40.1 kB view details)

Uploaded Python 3

File details

Details for the file armnet_runtime-0.1.0.tar.gz.

File metadata

  • Download URL: armnet_runtime-0.1.0.tar.gz
  • Upload date:
  • Size: 37.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for armnet_runtime-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4a8a981fc0029a91e6a97f80f6949d67231abec9fe30a634756829a57dac074a
MD5 78c8250a98b530e2310e543701a924ad
BLAKE2b-256 639cba43650906d92623a927b442ab7c41fa4ca77b83f030bf193ab6ae56821a

See more details on using hashes here.

File details

Details for the file armnet_runtime-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: armnet_runtime-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 40.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for armnet_runtime-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a08d2be71f082ecc9815d93c9a6a76c09c31ed9a8b7521cd917555648cf03aec
MD5 ecd652417c87d2e1a939ff7e66beaf51
BLAKE2b-256 48a0c9ef5674d7f6119a77e9b35a9da84180c07afc9f2131d42012704f88a568

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