Skip to main content

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://docs.armnet.dev/packages/runtime/

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.3.0.tar.gz (56.0 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.3.0-py3-none-any.whl (54.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for armnet_runtime-0.3.0.tar.gz
Algorithm Hash digest
SHA256 839f86035403f094f4056a82b0f060cf437389ae4150e07e0547ee2ff9e476e1
MD5 f8a89362e1742215a9dda48f1ade9d44
BLAKE2b-256 e65b38b8626f94fb5ade39a4734dc601faeb70e477eb41326db2481e707ef680

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for armnet_runtime-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 59df75fbbedcd0e981e276bfec04dcae973a2d69d2863a008df1b5b7ada11702
MD5 67c77d81b93782ad14baa39faf9e96d1
BLAKE2b-256 cdabb5bd6bf656291c5c1e1cdcebd83bca1ed03d038e082ff089fb298de1f813

See more details on using hashes here.

Release history Release notifications | RSS feed

0.3.1

2 files

This release

0.3.0 This release

2 files

0.2.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page