dora-rs 0.3.4rc2__cp37-abi3-macosx_11_0_arm64.whl → 0.3.5__cp37-abi3-macosx_11_0_arm64.whl

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 dora-rs might be problematic. Click here for more details.

dora/__init__.py CHANGED
@@ -13,7 +13,6 @@ from .dora import *
13
13
 
14
14
  from .dora import (
15
15
  Node,
16
- PyEvent,
17
16
  Ros2Context,
18
17
  Ros2Node,
19
18
  Ros2NodeOptions,
dora/__init__.pyi CHANGED
@@ -22,7 +22,7 @@ from dora import Node
22
22
  node = Node()
23
23
  ```"""
24
24
 
25
- def __init__(self) -> None:
25
+ def __init__(self, node_id: str=None) -> None:
26
26
  """The custom node API lets you integrate `dora` into your application.
27
27
  It allows you to retrieve input and send output in any fashion you want.
28
28
 
@@ -39,11 +39,14 @@ node = Node()
39
39
 
40
40
  This method returns the parsed dataflow YAML file."""
41
41
 
42
+ def dataflow_id(self) -> str:
43
+ """Returns the dataflow id."""
44
+
42
45
  def merge_external_events(self, subscription: dora.Ros2Subscription) -> None:
43
46
  """Merge an external event stream with dora main loop.
44
47
  This currently only work with ROS2."""
45
48
 
46
- def next(self, timeout: float=None) -> dora.PyEvent:
49
+ def next(self, timeout: float=None) -> dict:
47
50
  """`.next()` gives you the next input that the node has received.
48
51
  It blocks until the next event becomes available.
49
52
  You can use timeout in seconds to return if no input is available.
@@ -85,15 +88,6 @@ node.send_output("string", b"string", {"open_telemetry_context": "7632e76"})
85
88
  def __next__(self) -> typing.Any:
86
89
  """Implement next(self)."""
87
90
 
88
- @typing.final
89
- class PyEvent:
90
- """Dora Event"""
91
-
92
- def inner(self):...
93
-
94
- def __getitem__(self, key: typing.Any) -> typing.Any:
95
- """Return self[key]."""
96
-
97
91
  @typing.final
98
92
  class Ros2Context:
99
93
  """ROS2 Context holding all messages definition for receiving and sending messages to ROS2.
@@ -271,7 +265,7 @@ at any point without it being considered a breaking change."""
271
265
  def publish(self, data: pyarrow.Array) -> None:
272
266
  """Publish a message into ROS2 topic.
273
267
 
274
- Remember that the data format should respect the structure of the ROS2 message usinng an arrow Structure.
268
+ Remember that the data format should respect the structure of the ROS2 message using an arrow Structure.
275
269
 
276
270
  ex:
277
271
  ```python
dora/dora.abi3.so CHANGED
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: dora-rs
3
- Version: 0.3.4rc2
3
+ Version: 0.3.5
4
4
  Requires-Dist: pyarrow
5
5
  Summary: `dora` goal is to be a low latency, composable, and distributed data flow.
6
6
  License: Apache-2.0
@@ -0,0 +1,6 @@
1
+ dora_rs-0.3.5.dist-info/METADATA,sha256=rh2pYA0SbQ_RRSG4lUY9XKjPIR3juJAVkbwpfYoyeuc,587
2
+ dora_rs-0.3.5.dist-info/WHEEL,sha256=Vn7Y8op-PHMoWV3FQ2Wiehn4YzF8gP__jAx7rF9_dhA,102
3
+ dora/__init__.pyi,sha256=MZfafEGo1F_Al2RLrD36_cGRfFgOYY8Qa1_14bFYcf0,8342
4
+ dora/__init__.py,sha256=cmZ5rB848800jqu5QCP0kvipTpNHwhvknzVVrfWR5-Q,710
5
+ dora/dora.abi3.so,sha256=a5m7-4rGNnVFxBATEb1kgsCXaa2n-DR4EtkNKg-sb3M,20634784
6
+ dora_rs-0.3.5.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: maturin (1.5.1)
2
+ Generator: maturin (1.6.0)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp37-abi3-macosx_11_0_arm64
@@ -1,6 +0,0 @@
1
- dora_rs-0.3.4rc2.dist-info/METADATA,sha256=QtQ3-N3SRSflth27u5IZWnoexcJv3DV9BzaBPYRxazM,590
2
- dora_rs-0.3.4rc2.dist-info/WHEEL,sha256=mr5kArZT1sHmSyQKqoXcetQKMw5B1J8SlpkwcrQCMKs,102
3
- dora/__init__.pyi,sha256=-Kcqo8fkO-iF9dL7YtOSUOPtLOtDoXPNLR6j0yvjkJ4,8425
4
- dora/__init__.py,sha256=ahNFD4VpQ0OBOKmgfqz9ZFUvmroLHDVwYzpz2se9a0g,723
5
- dora/dora.abi3.so,sha256=zaGQZ77p7jfcS7qO99ne91HAbaTHV3K5kmAPlrNFRFI,20351584
6
- dora_rs-0.3.4rc2.dist-info/RECORD,,