antioch-py 2.0.3__tar.gz → 2.0.4__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.
Potentially problematic release.
This version of antioch-py might be problematic. Click here for more details.
- antioch_py-2.0.4/PKG-INFO +115 -0
- antioch_py-2.0.4/README.pypi.md +79 -0
- antioch_py-2.0.4/antioch_py.egg-info/PKG-INFO +115 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/pyproject.toml +1 -1
- antioch_py-2.0.3/PKG-INFO +0 -96
- antioch_py-2.0.3/README.pypi.md +0 -60
- antioch_py-2.0.3/antioch_py.egg-info/PKG-INFO +0 -96
- {antioch_py-2.0.3 → antioch_py-2.0.4}/MANIFEST.in +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/README.md +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/antioch/__init__.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/antioch/message.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/antioch/module/__init__.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/antioch/module/clock.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/antioch/module/execution.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/antioch/module/input.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/antioch/module/module.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/antioch/module/node.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/antioch/module/token.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/antioch/session/__init__.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/antioch/session/ark.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/antioch/session/asset.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/antioch/session/error.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/antioch/session/record.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/antioch/session/scene.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/antioch/session/session.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/antioch/session/task.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/antioch/session/views/__init__.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/antioch/session/views/animation.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/antioch/session/views/articulation.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/antioch/session/views/basis_curve.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/antioch/session/views/camera.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/antioch/session/views/collision.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/antioch/session/views/geometry.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/antioch/session/views/ground_plane.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/antioch/session/views/imu.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/antioch/session/views/joint.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/antioch/session/views/light.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/antioch/session/views/pir_sensor.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/antioch/session/views/radar.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/antioch/session/views/rigid_body.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/antioch/session/views/xform.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/antioch_py.egg-info/SOURCES.txt +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/antioch_py.egg-info/dependency_links.txt +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/antioch_py.egg-info/entry_points.txt +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/antioch_py.egg-info/requires.txt +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/antioch_py.egg-info/top_level.txt +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/__init__.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/ark/__init__.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/ark/ark.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/ark/hardware.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/ark/kinematics.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/ark/module.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/ark/node.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/ark/scheduler.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/ark/sim.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/assets/__init__.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/constants.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/core/__init__.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/core/agent.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/core/auth.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/core/registry.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/core/task.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/message/__init__.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/message/annotation.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/message/array.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/message/base.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/message/camera.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/message/color.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/message/frame.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/message/image.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/message/imu.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/message/joint.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/message/log.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/message/pir.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/message/point.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/message/point_cloud.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/message/pose.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/message/quaternion.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/message/radar.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/message/types.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/message/vector.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/rome/__init__.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/rome/client.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/rome/error.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/session/__init__.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/session/environment.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/session/sim.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/session/views/__init__.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/session/views/animation.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/session/views/articulation.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/session/views/basis_curve.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/session/views/camera.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/session/views/collision.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/session/views/geometry.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/session/views/ground_plane.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/session/views/imu.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/session/views/joint.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/session/views/light.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/session/views/pir_sensor.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/session/views/radar.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/session/views/rigid_body.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/session/views/viewport.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/session/views/xform.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/utils/__init__.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/utils/comms.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/utils/logger.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/utils/time.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/common/utils/usd.py +0 -0
- {antioch_py-2.0.3 → antioch_py-2.0.4}/setup.cfg +0 -0
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: antioch-py
|
|
3
|
+
Version: 2.0.4
|
|
4
|
+
Summary: The Antioch Python SDK
|
|
5
|
+
Author-email: Antioch Robotics <support@antioch.dev>
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://antioch.com
|
|
8
|
+
Keywords: robotics,simulation,middleware,sdk
|
|
9
|
+
Classifier: Development Status :: 4 - Beta
|
|
10
|
+
Classifier: Intended Audience :: Developers
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
13
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
14
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
15
|
+
Requires-Python: <3.13,>=3.12
|
|
16
|
+
Description-Content-Type: text/markdown
|
|
17
|
+
Requires-Dist: click>=8.0.0
|
|
18
|
+
Requires-Dist: click>=8.3.0
|
|
19
|
+
Requires-Dist: eclipse-zenoh>=1.5.0
|
|
20
|
+
Requires-Dist: google-cloud-artifact-registry>=1.16.1
|
|
21
|
+
Requires-Dist: httpx>=0.27.0
|
|
22
|
+
Requires-Dist: loguru>=0.7.3
|
|
23
|
+
Requires-Dist: msgpack==1.1.1
|
|
24
|
+
Requires-Dist: msgpack>=1.1.1
|
|
25
|
+
Requires-Dist: numpy==1.26.0
|
|
26
|
+
Requires-Dist: ormsgpack>=1.6.0
|
|
27
|
+
Requires-Dist: pydantic>=2.11.6
|
|
28
|
+
Requires-Dist: pydantic>=2.11.7
|
|
29
|
+
Requires-Dist: python-on-whales>=0.78.0
|
|
30
|
+
Requires-Dist: pyyaml>=6.0.2
|
|
31
|
+
Requires-Dist: requests>=2.32.0
|
|
32
|
+
Requires-Dist: scipy==1.15.3
|
|
33
|
+
Requires-Dist: sortedcontainers-stubs>=2.4.3
|
|
34
|
+
Requires-Dist: sortedcontainers>=2.4.0
|
|
35
|
+
Requires-Dist: tqdm>=4.67.1
|
|
36
|
+
|
|
37
|
+
# antioch-py
|
|
38
|
+
|
|
39
|
+
Python SDK for the [Antioch](https://antioch.com) autonomy simulation platform.
|
|
40
|
+
|
|
41
|
+
## Overview
|
|
42
|
+
|
|
43
|
+
The antioch-py package provides two components:
|
|
44
|
+
|
|
45
|
+
### Module SDK (`antioch.module`)
|
|
46
|
+
|
|
47
|
+
The Module SDK is a framework for building Antioch modules in Python. Modules are containerized components that run alongside your simulation, processing sensor data and producing outputs. Each module runs in its own Docker container and communicates with the simulation through the Antioch runtime. Install the SDK in your module's Dockerfile to read sensors, run inference, and publish results.
|
|
48
|
+
|
|
49
|
+
```python
|
|
50
|
+
from antioch.module import Execution, Module
|
|
51
|
+
|
|
52
|
+
def process_radar(execution: Execution) -> None:
|
|
53
|
+
scan = execution.read_radar("sensor")
|
|
54
|
+
if scan is not None and len(scan.detections) > 0:
|
|
55
|
+
execution.output("detections").set(scan)
|
|
56
|
+
|
|
57
|
+
if __name__ == "__main__":
|
|
58
|
+
module = Module()
|
|
59
|
+
module.register("radar_node", process_radar)
|
|
60
|
+
module.spin()
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### Session SDK (`antioch.session`)
|
|
64
|
+
|
|
65
|
+
The Session SDK is a client library for orchestrating Antioch simulations. Use it from Python scripts or Jupyter notebooks to programmatically build scenes, load assets, spawn robots, control simulation playback, and record data. The Session SDK connects to your Antioch deployment and provides a high-level API for automation and experimentation.
|
|
66
|
+
|
|
67
|
+
```python
|
|
68
|
+
from antioch.session import Scene, Session, Task, TaskOutcome
|
|
69
|
+
|
|
70
|
+
session = Session()
|
|
71
|
+
scene = Scene()
|
|
72
|
+
|
|
73
|
+
# Load environment and robot
|
|
74
|
+
scene.add_asset(path="/World/environment", name="warehouse", version="1.0.0")
|
|
75
|
+
ark = scene.add_ark(name="my_robot", version="0.1.0")
|
|
76
|
+
|
|
77
|
+
# Run simulation
|
|
78
|
+
task = Task()
|
|
79
|
+
task.start(mcap_path="/tmp/recording.mcap")
|
|
80
|
+
|
|
81
|
+
scene.play()
|
|
82
|
+
scene.step(1_000_000) # step 1 second
|
|
83
|
+
scene.pause()
|
|
84
|
+
|
|
85
|
+
task.finish(outcome=TaskOutcome.SUCCESS)
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
## Installation
|
|
89
|
+
|
|
90
|
+
To install in your Python environment:
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
pip install antioch-py
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
To install in your Python-based Docker image (e.g. for an Antioch module):
|
|
97
|
+
|
|
98
|
+
```dockerfile
|
|
99
|
+
FROM python:3.12-slim
|
|
100
|
+
|
|
101
|
+
RUN pip install antioch-py
|
|
102
|
+
|
|
103
|
+
COPY . /app
|
|
104
|
+
WORKDIR /app
|
|
105
|
+
|
|
106
|
+
CMD ["python", "module.py"]
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
## Documentation
|
|
110
|
+
|
|
111
|
+
Visit [antioch.com](https://antioch.com) for full documentation.
|
|
112
|
+
|
|
113
|
+
## License
|
|
114
|
+
|
|
115
|
+
MIT
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# antioch-py
|
|
2
|
+
|
|
3
|
+
Python SDK for the [Antioch](https://antioch.com) autonomy simulation platform.
|
|
4
|
+
|
|
5
|
+
## Overview
|
|
6
|
+
|
|
7
|
+
The antioch-py package provides two components:
|
|
8
|
+
|
|
9
|
+
### Module SDK (`antioch.module`)
|
|
10
|
+
|
|
11
|
+
The Module SDK is a framework for building Antioch modules in Python. Modules are containerized components that run alongside your simulation, processing sensor data and producing outputs. Each module runs in its own Docker container and communicates with the simulation through the Antioch runtime. Install the SDK in your module's Dockerfile to read sensors, run inference, and publish results.
|
|
12
|
+
|
|
13
|
+
```python
|
|
14
|
+
from antioch.module import Execution, Module
|
|
15
|
+
|
|
16
|
+
def process_radar(execution: Execution) -> None:
|
|
17
|
+
scan = execution.read_radar("sensor")
|
|
18
|
+
if scan is not None and len(scan.detections) > 0:
|
|
19
|
+
execution.output("detections").set(scan)
|
|
20
|
+
|
|
21
|
+
if __name__ == "__main__":
|
|
22
|
+
module = Module()
|
|
23
|
+
module.register("radar_node", process_radar)
|
|
24
|
+
module.spin()
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
### Session SDK (`antioch.session`)
|
|
28
|
+
|
|
29
|
+
The Session SDK is a client library for orchestrating Antioch simulations. Use it from Python scripts or Jupyter notebooks to programmatically build scenes, load assets, spawn robots, control simulation playback, and record data. The Session SDK connects to your Antioch deployment and provides a high-level API for automation and experimentation.
|
|
30
|
+
|
|
31
|
+
```python
|
|
32
|
+
from antioch.session import Scene, Session, Task, TaskOutcome
|
|
33
|
+
|
|
34
|
+
session = Session()
|
|
35
|
+
scene = Scene()
|
|
36
|
+
|
|
37
|
+
# Load environment and robot
|
|
38
|
+
scene.add_asset(path="/World/environment", name="warehouse", version="1.0.0")
|
|
39
|
+
ark = scene.add_ark(name="my_robot", version="0.1.0")
|
|
40
|
+
|
|
41
|
+
# Run simulation
|
|
42
|
+
task = Task()
|
|
43
|
+
task.start(mcap_path="/tmp/recording.mcap")
|
|
44
|
+
|
|
45
|
+
scene.play()
|
|
46
|
+
scene.step(1_000_000) # step 1 second
|
|
47
|
+
scene.pause()
|
|
48
|
+
|
|
49
|
+
task.finish(outcome=TaskOutcome.SUCCESS)
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## Installation
|
|
53
|
+
|
|
54
|
+
To install in your Python environment:
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
pip install antioch-py
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
To install in your Python-based Docker image (e.g. for an Antioch module):
|
|
61
|
+
|
|
62
|
+
```dockerfile
|
|
63
|
+
FROM python:3.12-slim
|
|
64
|
+
|
|
65
|
+
RUN pip install antioch-py
|
|
66
|
+
|
|
67
|
+
COPY . /app
|
|
68
|
+
WORKDIR /app
|
|
69
|
+
|
|
70
|
+
CMD ["python", "module.py"]
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
## Documentation
|
|
74
|
+
|
|
75
|
+
Visit [antioch.com](https://antioch.com) for full documentation.
|
|
76
|
+
|
|
77
|
+
## License
|
|
78
|
+
|
|
79
|
+
MIT
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: antioch-py
|
|
3
|
+
Version: 2.0.4
|
|
4
|
+
Summary: The Antioch Python SDK
|
|
5
|
+
Author-email: Antioch Robotics <support@antioch.dev>
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://antioch.com
|
|
8
|
+
Keywords: robotics,simulation,middleware,sdk
|
|
9
|
+
Classifier: Development Status :: 4 - Beta
|
|
10
|
+
Classifier: Intended Audience :: Developers
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
13
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
14
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
15
|
+
Requires-Python: <3.13,>=3.12
|
|
16
|
+
Description-Content-Type: text/markdown
|
|
17
|
+
Requires-Dist: click>=8.0.0
|
|
18
|
+
Requires-Dist: click>=8.3.0
|
|
19
|
+
Requires-Dist: eclipse-zenoh>=1.5.0
|
|
20
|
+
Requires-Dist: google-cloud-artifact-registry>=1.16.1
|
|
21
|
+
Requires-Dist: httpx>=0.27.0
|
|
22
|
+
Requires-Dist: loguru>=0.7.3
|
|
23
|
+
Requires-Dist: msgpack==1.1.1
|
|
24
|
+
Requires-Dist: msgpack>=1.1.1
|
|
25
|
+
Requires-Dist: numpy==1.26.0
|
|
26
|
+
Requires-Dist: ormsgpack>=1.6.0
|
|
27
|
+
Requires-Dist: pydantic>=2.11.6
|
|
28
|
+
Requires-Dist: pydantic>=2.11.7
|
|
29
|
+
Requires-Dist: python-on-whales>=0.78.0
|
|
30
|
+
Requires-Dist: pyyaml>=6.0.2
|
|
31
|
+
Requires-Dist: requests>=2.32.0
|
|
32
|
+
Requires-Dist: scipy==1.15.3
|
|
33
|
+
Requires-Dist: sortedcontainers-stubs>=2.4.3
|
|
34
|
+
Requires-Dist: sortedcontainers>=2.4.0
|
|
35
|
+
Requires-Dist: tqdm>=4.67.1
|
|
36
|
+
|
|
37
|
+
# antioch-py
|
|
38
|
+
|
|
39
|
+
Python SDK for the [Antioch](https://antioch.com) autonomy simulation platform.
|
|
40
|
+
|
|
41
|
+
## Overview
|
|
42
|
+
|
|
43
|
+
The antioch-py package provides two components:
|
|
44
|
+
|
|
45
|
+
### Module SDK (`antioch.module`)
|
|
46
|
+
|
|
47
|
+
The Module SDK is a framework for building Antioch modules in Python. Modules are containerized components that run alongside your simulation, processing sensor data and producing outputs. Each module runs in its own Docker container and communicates with the simulation through the Antioch runtime. Install the SDK in your module's Dockerfile to read sensors, run inference, and publish results.
|
|
48
|
+
|
|
49
|
+
```python
|
|
50
|
+
from antioch.module import Execution, Module
|
|
51
|
+
|
|
52
|
+
def process_radar(execution: Execution) -> None:
|
|
53
|
+
scan = execution.read_radar("sensor")
|
|
54
|
+
if scan is not None and len(scan.detections) > 0:
|
|
55
|
+
execution.output("detections").set(scan)
|
|
56
|
+
|
|
57
|
+
if __name__ == "__main__":
|
|
58
|
+
module = Module()
|
|
59
|
+
module.register("radar_node", process_radar)
|
|
60
|
+
module.spin()
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### Session SDK (`antioch.session`)
|
|
64
|
+
|
|
65
|
+
The Session SDK is a client library for orchestrating Antioch simulations. Use it from Python scripts or Jupyter notebooks to programmatically build scenes, load assets, spawn robots, control simulation playback, and record data. The Session SDK connects to your Antioch deployment and provides a high-level API for automation and experimentation.
|
|
66
|
+
|
|
67
|
+
```python
|
|
68
|
+
from antioch.session import Scene, Session, Task, TaskOutcome
|
|
69
|
+
|
|
70
|
+
session = Session()
|
|
71
|
+
scene = Scene()
|
|
72
|
+
|
|
73
|
+
# Load environment and robot
|
|
74
|
+
scene.add_asset(path="/World/environment", name="warehouse", version="1.0.0")
|
|
75
|
+
ark = scene.add_ark(name="my_robot", version="0.1.0")
|
|
76
|
+
|
|
77
|
+
# Run simulation
|
|
78
|
+
task = Task()
|
|
79
|
+
task.start(mcap_path="/tmp/recording.mcap")
|
|
80
|
+
|
|
81
|
+
scene.play()
|
|
82
|
+
scene.step(1_000_000) # step 1 second
|
|
83
|
+
scene.pause()
|
|
84
|
+
|
|
85
|
+
task.finish(outcome=TaskOutcome.SUCCESS)
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
## Installation
|
|
89
|
+
|
|
90
|
+
To install in your Python environment:
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
pip install antioch-py
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
To install in your Python-based Docker image (e.g. for an Antioch module):
|
|
97
|
+
|
|
98
|
+
```dockerfile
|
|
99
|
+
FROM python:3.12-slim
|
|
100
|
+
|
|
101
|
+
RUN pip install antioch-py
|
|
102
|
+
|
|
103
|
+
COPY . /app
|
|
104
|
+
WORKDIR /app
|
|
105
|
+
|
|
106
|
+
CMD ["python", "module.py"]
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
## Documentation
|
|
110
|
+
|
|
111
|
+
Visit [antioch.com](https://antioch.com) for full documentation.
|
|
112
|
+
|
|
113
|
+
## License
|
|
114
|
+
|
|
115
|
+
MIT
|
antioch_py-2.0.3/PKG-INFO
DELETED
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: antioch-py
|
|
3
|
-
Version: 2.0.3
|
|
4
|
-
Summary: The Antioch Python SDK
|
|
5
|
-
Author-email: Antioch Robotics <support@antioch.dev>
|
|
6
|
-
License-Expression: MIT
|
|
7
|
-
Project-URL: Homepage, https://antioch.com
|
|
8
|
-
Keywords: robotics,simulation,middleware,sdk
|
|
9
|
-
Classifier: Development Status :: 4 - Beta
|
|
10
|
-
Classifier: Intended Audience :: Developers
|
|
11
|
-
Classifier: Programming Language :: Python :: 3
|
|
12
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
13
|
-
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
14
|
-
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
15
|
-
Requires-Python: <3.13,>=3.12
|
|
16
|
-
Description-Content-Type: text/markdown
|
|
17
|
-
Requires-Dist: click>=8.0.0
|
|
18
|
-
Requires-Dist: click>=8.3.0
|
|
19
|
-
Requires-Dist: eclipse-zenoh>=1.5.0
|
|
20
|
-
Requires-Dist: google-cloud-artifact-registry>=1.16.1
|
|
21
|
-
Requires-Dist: httpx>=0.27.0
|
|
22
|
-
Requires-Dist: loguru>=0.7.3
|
|
23
|
-
Requires-Dist: msgpack==1.1.1
|
|
24
|
-
Requires-Dist: msgpack>=1.1.1
|
|
25
|
-
Requires-Dist: numpy==1.26.0
|
|
26
|
-
Requires-Dist: ormsgpack>=1.6.0
|
|
27
|
-
Requires-Dist: pydantic>=2.11.6
|
|
28
|
-
Requires-Dist: pydantic>=2.11.7
|
|
29
|
-
Requires-Dist: python-on-whales>=0.78.0
|
|
30
|
-
Requires-Dist: pyyaml>=6.0.2
|
|
31
|
-
Requires-Dist: requests>=2.32.0
|
|
32
|
-
Requires-Dist: scipy==1.15.3
|
|
33
|
-
Requires-Dist: sortedcontainers-stubs>=2.4.3
|
|
34
|
-
Requires-Dist: sortedcontainers>=2.4.0
|
|
35
|
-
Requires-Dist: tqdm>=4.67.1
|
|
36
|
-
|
|
37
|
-
# antioch-py
|
|
38
|
-
|
|
39
|
-
Python SDK for the [Antioch](https://antioch.com) robotics simulation platform.
|
|
40
|
-
|
|
41
|
-
## Overview
|
|
42
|
-
|
|
43
|
-
The antioch-py package provides two main components:
|
|
44
|
-
|
|
45
|
-
### Module SDK (`antioch.module`)
|
|
46
|
-
|
|
47
|
-
Build robotics software modules in Python. The Module SDK is designed to be installed inside your module's Dockerfile, giving you access to the Antioch runtime for processing sensor data, controlling actuators, and communicating with other modules.
|
|
48
|
-
|
|
49
|
-
```python
|
|
50
|
-
from antioch.module import Module, Image, JointTargets
|
|
51
|
-
|
|
52
|
-
class MyController(Module):
|
|
53
|
-
def execute(self, image: Image) -> JointTargets:
|
|
54
|
-
# Your control logic here
|
|
55
|
-
...
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
### Session SDK (`antioch.session`)
|
|
59
|
-
|
|
60
|
-
Build and orchestrate simulation sessions programmatically. The Session SDK lets you create scenes, spawn robots, configure sensors, and run tasks from Python scripts or notebooks.
|
|
61
|
-
|
|
62
|
-
```python
|
|
63
|
-
from antioch.session import Session, Scene, Articulation
|
|
64
|
-
|
|
65
|
-
async with Session() as session:
|
|
66
|
-
scene = await session.create_scene()
|
|
67
|
-
robot = await scene.spawn(Articulation, usd_path="robot.usd")
|
|
68
|
-
await scene.play()
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
## Installation
|
|
72
|
-
|
|
73
|
-
```bash
|
|
74
|
-
pip install antioch-py
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
### Docker (for modules)
|
|
78
|
-
|
|
79
|
-
```dockerfile
|
|
80
|
-
FROM python:3.12-slim
|
|
81
|
-
|
|
82
|
-
RUN pip install antioch-py
|
|
83
|
-
|
|
84
|
-
COPY . /app
|
|
85
|
-
WORKDIR /app
|
|
86
|
-
|
|
87
|
-
CMD ["python", "main.py"]
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
## Documentation
|
|
91
|
-
|
|
92
|
-
Visit [antioch.com](https://antioch.com) for full documentation and examples.
|
|
93
|
-
|
|
94
|
-
## License
|
|
95
|
-
|
|
96
|
-
MIT
|
antioch_py-2.0.3/README.pypi.md
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
# antioch-py
|
|
2
|
-
|
|
3
|
-
Python SDK for the [Antioch](https://antioch.com) robotics simulation platform.
|
|
4
|
-
|
|
5
|
-
## Overview
|
|
6
|
-
|
|
7
|
-
The antioch-py package provides two main components:
|
|
8
|
-
|
|
9
|
-
### Module SDK (`antioch.module`)
|
|
10
|
-
|
|
11
|
-
Build robotics software modules in Python. The Module SDK is designed to be installed inside your module's Dockerfile, giving you access to the Antioch runtime for processing sensor data, controlling actuators, and communicating with other modules.
|
|
12
|
-
|
|
13
|
-
```python
|
|
14
|
-
from antioch.module import Module, Image, JointTargets
|
|
15
|
-
|
|
16
|
-
class MyController(Module):
|
|
17
|
-
def execute(self, image: Image) -> JointTargets:
|
|
18
|
-
# Your control logic here
|
|
19
|
-
...
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
### Session SDK (`antioch.session`)
|
|
23
|
-
|
|
24
|
-
Build and orchestrate simulation sessions programmatically. The Session SDK lets you create scenes, spawn robots, configure sensors, and run tasks from Python scripts or notebooks.
|
|
25
|
-
|
|
26
|
-
```python
|
|
27
|
-
from antioch.session import Session, Scene, Articulation
|
|
28
|
-
|
|
29
|
-
async with Session() as session:
|
|
30
|
-
scene = await session.create_scene()
|
|
31
|
-
robot = await scene.spawn(Articulation, usd_path="robot.usd")
|
|
32
|
-
await scene.play()
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
## Installation
|
|
36
|
-
|
|
37
|
-
```bash
|
|
38
|
-
pip install antioch-py
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
### Docker (for modules)
|
|
42
|
-
|
|
43
|
-
```dockerfile
|
|
44
|
-
FROM python:3.12-slim
|
|
45
|
-
|
|
46
|
-
RUN pip install antioch-py
|
|
47
|
-
|
|
48
|
-
COPY . /app
|
|
49
|
-
WORKDIR /app
|
|
50
|
-
|
|
51
|
-
CMD ["python", "main.py"]
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
## Documentation
|
|
55
|
-
|
|
56
|
-
Visit [antioch.com](https://antioch.com) for full documentation and examples.
|
|
57
|
-
|
|
58
|
-
## License
|
|
59
|
-
|
|
60
|
-
MIT
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: antioch-py
|
|
3
|
-
Version: 2.0.3
|
|
4
|
-
Summary: The Antioch Python SDK
|
|
5
|
-
Author-email: Antioch Robotics <support@antioch.dev>
|
|
6
|
-
License-Expression: MIT
|
|
7
|
-
Project-URL: Homepage, https://antioch.com
|
|
8
|
-
Keywords: robotics,simulation,middleware,sdk
|
|
9
|
-
Classifier: Development Status :: 4 - Beta
|
|
10
|
-
Classifier: Intended Audience :: Developers
|
|
11
|
-
Classifier: Programming Language :: Python :: 3
|
|
12
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
13
|
-
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
14
|
-
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
15
|
-
Requires-Python: <3.13,>=3.12
|
|
16
|
-
Description-Content-Type: text/markdown
|
|
17
|
-
Requires-Dist: click>=8.0.0
|
|
18
|
-
Requires-Dist: click>=8.3.0
|
|
19
|
-
Requires-Dist: eclipse-zenoh>=1.5.0
|
|
20
|
-
Requires-Dist: google-cloud-artifact-registry>=1.16.1
|
|
21
|
-
Requires-Dist: httpx>=0.27.0
|
|
22
|
-
Requires-Dist: loguru>=0.7.3
|
|
23
|
-
Requires-Dist: msgpack==1.1.1
|
|
24
|
-
Requires-Dist: msgpack>=1.1.1
|
|
25
|
-
Requires-Dist: numpy==1.26.0
|
|
26
|
-
Requires-Dist: ormsgpack>=1.6.0
|
|
27
|
-
Requires-Dist: pydantic>=2.11.6
|
|
28
|
-
Requires-Dist: pydantic>=2.11.7
|
|
29
|
-
Requires-Dist: python-on-whales>=0.78.0
|
|
30
|
-
Requires-Dist: pyyaml>=6.0.2
|
|
31
|
-
Requires-Dist: requests>=2.32.0
|
|
32
|
-
Requires-Dist: scipy==1.15.3
|
|
33
|
-
Requires-Dist: sortedcontainers-stubs>=2.4.3
|
|
34
|
-
Requires-Dist: sortedcontainers>=2.4.0
|
|
35
|
-
Requires-Dist: tqdm>=4.67.1
|
|
36
|
-
|
|
37
|
-
# antioch-py
|
|
38
|
-
|
|
39
|
-
Python SDK for the [Antioch](https://antioch.com) robotics simulation platform.
|
|
40
|
-
|
|
41
|
-
## Overview
|
|
42
|
-
|
|
43
|
-
The antioch-py package provides two main components:
|
|
44
|
-
|
|
45
|
-
### Module SDK (`antioch.module`)
|
|
46
|
-
|
|
47
|
-
Build robotics software modules in Python. The Module SDK is designed to be installed inside your module's Dockerfile, giving you access to the Antioch runtime for processing sensor data, controlling actuators, and communicating with other modules.
|
|
48
|
-
|
|
49
|
-
```python
|
|
50
|
-
from antioch.module import Module, Image, JointTargets
|
|
51
|
-
|
|
52
|
-
class MyController(Module):
|
|
53
|
-
def execute(self, image: Image) -> JointTargets:
|
|
54
|
-
# Your control logic here
|
|
55
|
-
...
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
### Session SDK (`antioch.session`)
|
|
59
|
-
|
|
60
|
-
Build and orchestrate simulation sessions programmatically. The Session SDK lets you create scenes, spawn robots, configure sensors, and run tasks from Python scripts or notebooks.
|
|
61
|
-
|
|
62
|
-
```python
|
|
63
|
-
from antioch.session import Session, Scene, Articulation
|
|
64
|
-
|
|
65
|
-
async with Session() as session:
|
|
66
|
-
scene = await session.create_scene()
|
|
67
|
-
robot = await scene.spawn(Articulation, usd_path="robot.usd")
|
|
68
|
-
await scene.play()
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
## Installation
|
|
72
|
-
|
|
73
|
-
```bash
|
|
74
|
-
pip install antioch-py
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
### Docker (for modules)
|
|
78
|
-
|
|
79
|
-
```dockerfile
|
|
80
|
-
FROM python:3.12-slim
|
|
81
|
-
|
|
82
|
-
RUN pip install antioch-py
|
|
83
|
-
|
|
84
|
-
COPY . /app
|
|
85
|
-
WORKDIR /app
|
|
86
|
-
|
|
87
|
-
CMD ["python", "main.py"]
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
## Documentation
|
|
91
|
-
|
|
92
|
-
Visit [antioch.com](https://antioch.com) for full documentation and examples.
|
|
93
|
-
|
|
94
|
-
## License
|
|
95
|
-
|
|
96
|
-
MIT
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|