armnet-runtime 0.1.0__tar.gz → 0.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. {armnet_runtime-0.1.0 → armnet_runtime-0.2.0}/.gitignore +3 -0
  2. {armnet_runtime-0.1.0 → armnet_runtime-0.2.0}/PKG-INFO +2 -2
  3. {armnet_runtime-0.1.0 → armnet_runtime-0.2.0}/pyproject.toml +4 -2
  4. {armnet_runtime-0.1.0 → armnet_runtime-0.2.0}/src/armnet_runtime/__init__.py +9 -1
  5. {armnet_runtime-0.1.0 → armnet_runtime-0.2.0}/src/armnet_runtime/context.py +484 -45
  6. {armnet_runtime-0.1.0 → armnet_runtime-0.2.0}/src/armnet_runtime/env.py +3 -0
  7. armnet_runtime-0.2.0/src/armnet_runtime/leaderboard.py +135 -0
  8. {armnet_runtime-0.1.0 → armnet_runtime-0.2.0}/src/armnet_runtime/lerobot/_remote_protocol.py +148 -5
  9. {armnet_runtime-0.1.0 → armnet_runtime-0.2.0}/src/armnet_runtime/lerobot/import_swap.py +15 -0
  10. {armnet_runtime-0.1.0 → armnet_runtime-0.2.0}/src/armnet_runtime/lerobot/remote_arx5.py +12 -2
  11. {armnet_runtime-0.1.0 → armnet_runtime-0.2.0}/src/armnet_runtime/lerobot/remote_camera.py +30 -4
  12. {armnet_runtime-0.1.0 → armnet_runtime-0.2.0}/src/armnet_runtime/lerobot/remote_feetech.py +70 -5
  13. armnet_runtime-0.2.0/src/armnet_runtime/volume_sync.py +610 -0
  14. armnet_runtime-0.2.0/tests/test_cell_instrument.py +181 -0
  15. {armnet_runtime-0.1.0 → armnet_runtime-0.2.0}/tests/test_completion.py +15 -12
  16. armnet_runtime-0.2.0/tests/test_edge_goal_clamp.py +88 -0
  17. armnet_runtime-0.2.0/tests/test_leaderboard.py +109 -0
  18. {armnet_runtime-0.1.0 → armnet_runtime-0.2.0}/tests/test_persistent_connection.py +28 -1
  19. {armnet_runtime-0.1.0 → armnet_runtime-0.2.0}/tests/test_proxy_method_cache.py +95 -0
  20. armnet_runtime-0.2.0/tests/test_robot_telemetry.py +230 -0
  21. armnet_runtime-0.2.0/tests/test_volume_sync.py +166 -0
  22. {armnet_runtime-0.1.0 → armnet_runtime-0.2.0}/README.md +0 -0
  23. {armnet_runtime-0.1.0 → armnet_runtime-0.2.0}/proto/rerun.proto +0 -0
  24. {armnet_runtime-0.1.0 → armnet_runtime-0.2.0}/scripts/gen_proto.sh +0 -0
  25. {armnet_runtime-0.1.0 → armnet_runtime-0.2.0}/src/armnet_runtime/_rerun_pb2.py +0 -0
  26. {armnet_runtime-0.1.0 → armnet_runtime-0.2.0}/src/armnet_runtime/cli.py +0 -0
  27. {armnet_runtime-0.1.0 → armnet_runtime-0.2.0}/src/armnet_runtime/decorator.py +0 -0
  28. {armnet_runtime-0.1.0 → armnet_runtime-0.2.0}/src/armnet_runtime/lerobot/__init__.py +0 -0
  29. {armnet_runtime-0.1.0 → armnet_runtime-0.2.0}/src/armnet_runtime/markers.py +0 -0
  30. {armnet_runtime-0.1.0 → armnet_runtime-0.2.0}/src/armnet_runtime/rerun.py +0 -0
  31. {armnet_runtime-0.1.0 → armnet_runtime-0.2.0}/tests/test_context_arms.py +0 -0
  32. {armnet_runtime-0.1.0 → armnet_runtime-0.2.0}/tests/test_embodiment.py +0 -0
@@ -215,3 +215,6 @@ assets/*pi0*
215
215
 
216
216
  # Git worktrees
217
217
  .worktrees/
218
+
219
+ # Local credentials (HF/W&B tokens etc.)
220
+ .secrets/
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: armnet-runtime
3
- Version: 0.1.0
3
+ Version: 0.2.0
4
4
  Summary: armnet runtime SDK — used by code running inside customer containers on a cell.
5
5
  Project-URL: Homepage, https://armnet.dev
6
6
  Project-URL: Documentation, https://safe-robotics.github.io/alpha-robotics/packages/runtime/
7
7
  Author: Ville Kuosmanen
8
8
  License: Apache-2.0
9
9
  Requires-Python: <3.13,>=3.12
10
- Requires-Dist: armnet-core>=0.1.0
10
+ Requires-Dist: armnet-core>=0.2.0
11
11
  Requires-Dist: protobuf<7,>=5
12
12
  Requires-Dist: pydantic<3,>=2.6
13
13
  Provides-Extra: dev
@@ -4,7 +4,9 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "armnet-runtime"
7
- version = "0.1.0"
7
+ # 0.2.0 follows armnet-core: ctx.cell now carries an environment and hands
8
+ # reset/scoring to it, and CompletionStatus moved to armnet-core.
9
+ version = "0.2.0"
8
10
  description = "armnet runtime SDK \u2014 used by code running inside customer containers on a cell."
9
11
  readme = "README.md"
10
12
  requires-python = ">=3.12,<3.13"
@@ -12,7 +14,7 @@ license = { text = "Apache-2.0" }
12
14
  authors = [{ name = "Ville Kuosmanen" }]
13
15
 
14
16
  dependencies = [
15
- "armnet-core>=0.1.0",
17
+ "armnet-core>=0.2.0",
16
18
  "pydantic>=2.6,<3",
17
19
  # Wire format for Rerun visualization packets (armnet_runtime.rerun).
18
20
  "protobuf>=5,<7",
@@ -21,6 +21,9 @@ re-exported from :mod:`armnet_core` for ergonomics, so customer code
21
21
  never needs to know about the core package directly.
22
22
  """
23
23
 
24
+ from importlib.metadata import PackageNotFoundError as _PackageNotFound
25
+ from importlib.metadata import version as _package_version
26
+
24
27
  from armnet_core import (
25
28
  Embodiment,
26
29
  Job,
@@ -63,4 +66,9 @@ __all__ = [
63
66
  "main",
64
67
  ]
65
68
 
66
- __version__ = "0.1.0"
69
+ # Read from installed metadata so the version lives in pyproject.toml only; a
70
+ # second hand-edited copy here is one more thing to forget on a release.
71
+ try:
72
+ __version__ = _package_version("armnet-runtime")
73
+ except _PackageNotFound: # running from a source tree with nothing installed
74
+ __version__ = "0.0.0+unknown"