antioch-py 2.2.3__tar.gz → 2.2.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.

Files changed (92) hide show
  1. {antioch_py-2.2.3/antioch_py.egg-info → antioch_py-2.2.4}/PKG-INFO +1 -1
  2. {antioch_py-2.2.3 → antioch_py-2.2.4}/antioch/session/objects/pir_sensor.py +5 -1
  3. {antioch_py-2.2.3 → antioch_py-2.2.4/antioch_py.egg-info}/PKG-INFO +1 -1
  4. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/rome/client.py +9 -4
  5. {antioch_py-2.2.3 → antioch_py-2.2.4}/pyproject.toml +1 -1
  6. {antioch_py-2.2.3 → antioch_py-2.2.4}/MANIFEST.in +0 -0
  7. {antioch_py-2.2.3 → antioch_py-2.2.4}/README.md +0 -0
  8. {antioch_py-2.2.3 → antioch_py-2.2.4}/README.pypi.md +0 -0
  9. {antioch_py-2.2.3 → antioch_py-2.2.4}/antioch/__init__.py +0 -0
  10. {antioch_py-2.2.3 → antioch_py-2.2.4}/antioch/message.py +0 -0
  11. {antioch_py-2.2.3 → antioch_py-2.2.4}/antioch/module/__init__.py +0 -0
  12. {antioch_py-2.2.3 → antioch_py-2.2.4}/antioch/module/clock.py +0 -0
  13. {antioch_py-2.2.3 → antioch_py-2.2.4}/antioch/module/execution.py +0 -0
  14. {antioch_py-2.2.3 → antioch_py-2.2.4}/antioch/module/input.py +0 -0
  15. {antioch_py-2.2.3 → antioch_py-2.2.4}/antioch/module/module.py +0 -0
  16. {antioch_py-2.2.3 → antioch_py-2.2.4}/antioch/module/node.py +0 -0
  17. {antioch_py-2.2.3 → antioch_py-2.2.4}/antioch/module/token.py +0 -0
  18. {antioch_py-2.2.3 → antioch_py-2.2.4}/antioch/session/__init__.py +0 -0
  19. {antioch_py-2.2.3 → antioch_py-2.2.4}/antioch/session/ark.py +0 -0
  20. {antioch_py-2.2.3 → antioch_py-2.2.4}/antioch/session/asset.py +0 -0
  21. {antioch_py-2.2.3 → antioch_py-2.2.4}/antioch/session/error.py +0 -0
  22. {antioch_py-2.2.3 → antioch_py-2.2.4}/antioch/session/objects/__init__.py +0 -0
  23. {antioch_py-2.2.3 → antioch_py-2.2.4}/antioch/session/objects/animation.py +0 -0
  24. {antioch_py-2.2.3 → antioch_py-2.2.4}/antioch/session/objects/articulation.py +0 -0
  25. {antioch_py-2.2.3 → antioch_py-2.2.4}/antioch/session/objects/basis_curve.py +0 -0
  26. {antioch_py-2.2.3 → antioch_py-2.2.4}/antioch/session/objects/camera.py +0 -0
  27. {antioch_py-2.2.3 → antioch_py-2.2.4}/antioch/session/objects/collision.py +0 -0
  28. {antioch_py-2.2.3 → antioch_py-2.2.4}/antioch/session/objects/geometry.py +0 -0
  29. {antioch_py-2.2.3 → antioch_py-2.2.4}/antioch/session/objects/ground_plane.py +0 -0
  30. {antioch_py-2.2.3 → antioch_py-2.2.4}/antioch/session/objects/imu.py +0 -0
  31. {antioch_py-2.2.3 → antioch_py-2.2.4}/antioch/session/objects/joint.py +0 -0
  32. {antioch_py-2.2.3 → antioch_py-2.2.4}/antioch/session/objects/light.py +0 -0
  33. {antioch_py-2.2.3 → antioch_py-2.2.4}/antioch/session/objects/radar.py +0 -0
  34. {antioch_py-2.2.3 → antioch_py-2.2.4}/antioch/session/objects/rigid_body.py +0 -0
  35. {antioch_py-2.2.3 → antioch_py-2.2.4}/antioch/session/objects/xform.py +0 -0
  36. {antioch_py-2.2.3 → antioch_py-2.2.4}/antioch/session/record.py +0 -0
  37. {antioch_py-2.2.3 → antioch_py-2.2.4}/antioch/session/scene.py +0 -0
  38. {antioch_py-2.2.3 → antioch_py-2.2.4}/antioch/session/session.py +0 -0
  39. {antioch_py-2.2.3 → antioch_py-2.2.4}/antioch/session/task.py +0 -0
  40. {antioch_py-2.2.3 → antioch_py-2.2.4}/antioch_py.egg-info/SOURCES.txt +0 -0
  41. {antioch_py-2.2.3 → antioch_py-2.2.4}/antioch_py.egg-info/dependency_links.txt +0 -0
  42. {antioch_py-2.2.3 → antioch_py-2.2.4}/antioch_py.egg-info/entry_points.txt +0 -0
  43. {antioch_py-2.2.3 → antioch_py-2.2.4}/antioch_py.egg-info/requires.txt +0 -0
  44. {antioch_py-2.2.3 → antioch_py-2.2.4}/antioch_py.egg-info/top_level.txt +0 -0
  45. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/__init__.py +0 -0
  46. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/ark/__init__.py +0 -0
  47. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/ark/ark.py +0 -0
  48. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/ark/hardware.py +0 -0
  49. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/ark/kinematics.py +0 -0
  50. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/ark/module.py +0 -0
  51. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/ark/node.py +0 -0
  52. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/ark/scheduler.py +0 -0
  53. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/ark/sim.py +0 -0
  54. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/assets/__init__.py +0 -0
  55. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/constants.py +0 -0
  56. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/core/__init__.py +0 -0
  57. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/core/agent.py +0 -0
  58. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/core/auth.py +0 -0
  59. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/core/registry.py +0 -0
  60. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/core/task.py +0 -0
  61. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/message/__init__.py +0 -0
  62. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/message/annotation.py +0 -0
  63. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/message/array.py +0 -0
  64. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/message/base.py +0 -0
  65. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/message/camera.py +0 -0
  66. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/message/color.py +0 -0
  67. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/message/frame.py +0 -0
  68. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/message/image.py +0 -0
  69. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/message/imu.py +0 -0
  70. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/message/joint.py +0 -0
  71. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/message/log.py +0 -0
  72. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/message/pir.py +0 -0
  73. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/message/point.py +0 -0
  74. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/message/point_cloud.py +0 -0
  75. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/message/pose.py +0 -0
  76. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/message/quaternion.py +0 -0
  77. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/message/radar.py +0 -0
  78. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/message/types.py +0 -0
  79. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/message/vector.py +0 -0
  80. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/message/velocity.py +0 -0
  81. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/rome/__init__.py +0 -0
  82. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/rome/error.py +0 -0
  83. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/session/__init__.py +0 -0
  84. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/session/config.py +0 -0
  85. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/session/environment.py +0 -0
  86. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/session/sim.py +0 -0
  87. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/utils/__init__.py +0 -0
  88. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/utils/comms.py +0 -0
  89. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/utils/logger.py +0 -0
  90. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/utils/time.py +0 -0
  91. {antioch_py-2.2.3 → antioch_py-2.2.4}/common/utils/usd.py +0 -0
  92. {antioch_py-2.2.3 → antioch_py-2.2.4}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: antioch-py
3
- Version: 2.2.3
3
+ Version: 2.2.4
4
4
  Summary: The Antioch Python SDK
5
5
  Author-email: Antioch Robotics <support@antioch.dev>
6
6
  License-Expression: MIT
@@ -57,7 +57,11 @@ class PirSensor(SessionContainer):
57
57
  :return: Detection status with is_detected, signal_strength, and per-sensor details.
58
58
  """
59
59
 
60
- return PirStatus(**self._session.query_sim_rpc(endpoint="pir_sensor/get_status", payload={"path": self._path}))
60
+ return self._session.query_sim_rpc(
61
+ endpoint="pir_sensor/get_status",
62
+ payload={"path": self._path},
63
+ response_type=PirStatus,
64
+ )
61
65
 
62
66
  def set_debug_mode(self, enabled: bool) -> None:
63
67
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: antioch-py
3
- Version: 2.2.3
3
+ Version: 2.2.4
4
4
  Summary: The Antioch Python SDK
5
5
  Author-email: Antioch Robotics <support@antioch.dev>
6
6
  License-Expression: MIT
@@ -11,10 +11,15 @@ from common.ark import ArkReference, AssetReference
11
11
  from common.core.task import TaskCompletion, TaskOutcome
12
12
  from common.rome.error import RomeAuthError, RomeError, RomeNetworkError
13
13
 
14
- DOWNLOAD_CHUNK_SIZE = 8 * 1024 * 1024 # 8MB
15
- UPLOAD_CHUNK_SIZE = 1024 # 1KB
14
+ # File transfer settings
15
+ DOWNLOAD_CHUNK_SIZE = 8 * 1024 * 1024 # 8MB for efficient streaming downloads
16
+ UPLOAD_CHUNK_SIZE = 8 * 1024 # 8KB for streaming uploads (matches server read buffer)
16
17
  FILE_TRANSFER_UNIT_DIVISOR = 1024
17
18
 
19
+ # HTTP timeout settings (10 minutes for large file uploads)
20
+ HTTP_TIMEOUT_SECONDS = 600
21
+ HTTP_REQUEST_TIMEOUT = 30 # Timeout for regular API requests
22
+
18
23
 
19
24
  class RomeClient:
20
25
  """
@@ -271,7 +276,7 @@ class RomeClient:
271
276
  try:
272
277
  url = f"{self._api_url}{endpoint}"
273
278
  headers = {"Authorization": f"Bearer {self._token}", "Content-Type": "application/json"}
274
- response = requests.request(method, url, json=json, params=params, headers=headers, timeout=30)
279
+ response = requests.request(method, url, json=json, params=params, headers=headers, timeout=HTTP_REQUEST_TIMEOUT)
275
280
  self._check_response_errors(response)
276
281
 
277
282
  if return_content:
@@ -392,7 +397,7 @@ class RomeClient:
392
397
  url = f"{self._api_url}{endpoint}"
393
398
  headers = {"Authorization": f"Bearer {self._token}", "Content-Type": content_type}
394
399
  stream_data = self._upload_file_stream(Path(file_path), show_progress)
395
- with httpx.Client(timeout=None) as client:
400
+ with httpx.Client(timeout=httpx.Timeout(timeout=HTTP_TIMEOUT_SECONDS, connect=60.0)) as client:
396
401
  response = client.post(url, params={"task_id": task_id}, content=stream_data, headers=headers)
397
402
  self._check_response_errors(response)
398
403
  except httpx.HTTPError as e:
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "antioch-py"
3
- version = "2.2.3"
3
+ version = "2.2.4"
4
4
  description = "The Antioch Python SDK"
5
5
  readme = "README.pypi.md"
6
6
  license = "MIT"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes