sift-stream-bindings 0.1.1__cp38-cp38-manylinux_2_17_armv7l.manylinux2014_armv7l.whl → 0.1.2__cp38-cp38-manylinux_2_17_armv7l.manylinux2014_armv7l.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 sift-stream-bindings might be problematic. Click here for more details.

@@ -10,6 +10,7 @@ __all__ = [
10
10
  "DurationPy",
11
11
  "FlowConfigPy",
12
12
  "FlowPy",
13
+ "IngestWithConfigDataChannelValuePy",
13
14
  "IngestWithConfigDataStreamRequestPy",
14
15
  "IngestionConfigFormPy",
15
16
  "RecoveryStrategyPy",
@@ -29,7 +30,9 @@ class ChannelBitFieldElementPy:
29
30
  name: builtins.str
30
31
  index: builtins.int
31
32
  bit_count: builtins.int
32
- def __new__(cls, name:builtins.str, index:builtins.int, bit_count:builtins.int) -> ChannelBitFieldElementPy: ...
33
+ def __new__(
34
+ cls, name: builtins.str, index: builtins.int, bit_count: builtins.int
35
+ ) -> ChannelBitFieldElementPy: ...
33
36
 
34
37
  @typing.final
35
38
  class ChannelConfigPy:
@@ -39,95 +42,155 @@ class ChannelConfigPy:
39
42
  data_type: ChannelDataTypePy
40
43
  enum_types: builtins.list[ChannelEnumTypePy]
41
44
  bit_field_elements: builtins.list[ChannelBitFieldElementPy]
42
- def __new__(cls, name:builtins.str, unit:builtins.str, description:builtins.str, data_type:ChannelDataTypePy, enum_types:typing.Sequence[ChannelEnumTypePy], bit_field_elements:typing.Sequence[ChannelBitFieldElementPy]) -> ChannelConfigPy: ...
45
+ def __new__(
46
+ cls,
47
+ name: builtins.str,
48
+ unit: builtins.str,
49
+ description: builtins.str,
50
+ data_type: ChannelDataTypePy,
51
+ enum_types: typing.Sequence[ChannelEnumTypePy],
52
+ bit_field_elements: typing.Sequence[ChannelBitFieldElementPy],
53
+ ) -> ChannelConfigPy: ...
43
54
 
44
55
  @typing.final
45
56
  class ChannelEnumTypePy:
46
57
  name: builtins.str
47
58
  key: builtins.int
48
- def __new__(cls, name:builtins.str, key:builtins.int) -> ChannelEnumTypePy: ...
59
+ def __new__(cls, name: builtins.str, key: builtins.int) -> ChannelEnumTypePy: ...
49
60
 
50
61
  @typing.final
51
62
  class ChannelValuePy:
52
63
  @staticmethod
53
- def bool(name:builtins.str, value:builtins.bool) -> ChannelValuePy: ...
64
+ def bool(name: builtins.str, value: builtins.bool) -> ChannelValuePy: ...
54
65
  @staticmethod
55
- def string(name:builtins.str, value:builtins.str) -> ChannelValuePy: ...
66
+ def string(name: builtins.str, value: builtins.str) -> ChannelValuePy: ...
56
67
  @staticmethod
57
- def float(name:builtins.str, value:builtins.float) -> ChannelValuePy: ...
68
+ def float(name: builtins.str, value: builtins.float) -> ChannelValuePy: ...
58
69
  @staticmethod
59
- def double(name:builtins.str, value:builtins.float) -> ChannelValuePy: ...
70
+ def double(name: builtins.str, value: builtins.float) -> ChannelValuePy: ...
60
71
  @staticmethod
61
- def int32(name:builtins.str, value:builtins.int) -> ChannelValuePy: ...
72
+ def int32(name: builtins.str, value: builtins.int) -> ChannelValuePy: ...
62
73
  @staticmethod
63
- def uint32(name:builtins.str, value:builtins.int) -> ChannelValuePy: ...
74
+ def uint32(name: builtins.str, value: builtins.int) -> ChannelValuePy: ...
64
75
  @staticmethod
65
- def int64(name:builtins.str, value:builtins.int) -> ChannelValuePy: ...
76
+ def int64(name: builtins.str, value: builtins.int) -> ChannelValuePy: ...
66
77
  @staticmethod
67
- def uint64(name:builtins.str, value:builtins.int) -> ChannelValuePy: ...
78
+ def uint64(name: builtins.str, value: builtins.int) -> ChannelValuePy: ...
68
79
  @staticmethod
69
- def enum_value(name:builtins.str, value:ChannelEnumTypePy) -> ChannelValuePy: ...
80
+ def enum_value(name: builtins.str, value: ChannelEnumTypePy) -> ChannelValuePy: ...
70
81
  @staticmethod
71
- def bitfield(name:builtins.str, value:typing.Sequence[builtins.int]) -> ChannelValuePy: ...
82
+ def bitfield(
83
+ name: builtins.str, value: typing.Sequence[builtins.int]
84
+ ) -> ChannelValuePy: ...
72
85
 
73
86
  @typing.final
74
87
  class ChannelValueTypePy:
75
88
  @staticmethod
76
- def bool(value:builtins.bool) -> ChannelValueTypePy: ...
89
+ def bool(value: builtins.bool) -> ChannelValueTypePy: ...
77
90
  @staticmethod
78
- def string(value:builtins.str) -> ChannelValueTypePy: ...
91
+ def string(value: builtins.str) -> ChannelValueTypePy: ...
79
92
  @staticmethod
80
- def float(value:builtins.float) -> ChannelValueTypePy: ...
93
+ def float(value: builtins.float) -> ChannelValueTypePy: ...
81
94
  @staticmethod
82
- def double(value:builtins.float) -> ChannelValueTypePy: ...
95
+ def double(value: builtins.float) -> ChannelValueTypePy: ...
83
96
  @staticmethod
84
- def int32(value:builtins.int) -> ChannelValueTypePy: ...
97
+ def int32(value: builtins.int) -> ChannelValueTypePy: ...
85
98
  @staticmethod
86
- def uint32(value:builtins.int) -> ChannelValueTypePy: ...
99
+ def uint32(value: builtins.int) -> ChannelValueTypePy: ...
87
100
  @staticmethod
88
- def int64(value:builtins.int) -> ChannelValueTypePy: ...
101
+ def int64(value: builtins.int) -> ChannelValueTypePy: ...
89
102
  @staticmethod
90
- def uint64(value:builtins.int) -> ChannelValueTypePy: ...
103
+ def uint64(value: builtins.int) -> ChannelValueTypePy: ...
91
104
  @staticmethod
92
- def enum_value(value:builtins.int) -> ChannelValueTypePy: ...
105
+ def enum_value(value: builtins.int) -> ChannelValueTypePy: ...
93
106
  @staticmethod
94
- def bitfield(value:typing.Sequence[builtins.int]) -> ChannelValueTypePy: ...
107
+ def bitfield(value: typing.Sequence[builtins.int]) -> ChannelValueTypePy: ...
95
108
  @staticmethod
96
- def bytes(value:typing.Sequence[builtins.int]) -> ChannelValueTypePy: ...
109
+ def bytes(value: typing.Sequence[builtins.int]) -> ChannelValueTypePy: ...
110
+ @staticmethod
111
+ def empty() -> ChannelValueTypePy: ...
97
112
 
98
113
  @typing.final
99
114
  class DurationPy:
100
115
  secs: builtins.int
101
116
  nanos: builtins.int
102
- def __new__(cls, secs:builtins.int, nanos:builtins.int) -> DurationPy: ...
117
+ def __new__(cls, secs: builtins.int, nanos: builtins.int) -> DurationPy: ...
103
118
 
104
119
  @typing.final
105
120
  class FlowConfigPy:
106
121
  name: builtins.str
107
122
  channels: builtins.list[ChannelConfigPy]
108
- def __new__(cls, name:builtins.str, channels:typing.Sequence[ChannelConfigPy]) -> FlowConfigPy: ...
123
+ def __new__(
124
+ cls, name: builtins.str, channels: typing.Sequence[ChannelConfigPy]
125
+ ) -> FlowConfigPy: ...
109
126
 
110
127
  @typing.final
111
128
  class FlowPy:
112
- def __new__(cls, flow_name:builtins.str, timestamp:TimeValuePy, values:typing.Sequence[ChannelValuePy]) -> FlowPy: ...
129
+ def __new__(
130
+ cls,
131
+ flow_name: builtins.str,
132
+ timestamp: TimeValuePy,
133
+ values: typing.Sequence[ChannelValuePy],
134
+ ) -> FlowPy: ...
135
+
136
+ @typing.final
137
+ class IngestWithConfigDataChannelValuePy:
138
+ @staticmethod
139
+ def bool(value: builtins.bool) -> IngestWithConfigDataChannelValuePy: ...
140
+ @staticmethod
141
+ def string(value: builtins.str) -> IngestWithConfigDataChannelValuePy: ...
142
+ @staticmethod
143
+ def float(value: builtins.float) -> IngestWithConfigDataChannelValuePy: ...
144
+ @staticmethod
145
+ def double(value: builtins.float) -> IngestWithConfigDataChannelValuePy: ...
146
+ @staticmethod
147
+ def int32(value: builtins.int) -> IngestWithConfigDataChannelValuePy: ...
148
+ @staticmethod
149
+ def uint32(value: builtins.int) -> IngestWithConfigDataChannelValuePy: ...
150
+ @staticmethod
151
+ def int64(value: builtins.int) -> IngestWithConfigDataChannelValuePy: ...
152
+ @staticmethod
153
+ def uint64(value: builtins.int) -> IngestWithConfigDataChannelValuePy: ...
154
+ @staticmethod
155
+ def enum_value(value: builtins.int) -> IngestWithConfigDataChannelValuePy: ...
156
+ @staticmethod
157
+ def bitfield(
158
+ value: typing.Sequence[builtins.int],
159
+ ) -> IngestWithConfigDataChannelValuePy: ...
160
+ @staticmethod
161
+ def empty() -> IngestWithConfigDataChannelValuePy: ...
113
162
 
114
163
  @typing.final
115
164
  class IngestWithConfigDataStreamRequestPy:
116
165
  ingestion_config_id: builtins.str
117
166
  flow: builtins.str
118
167
  timestamp: typing.Optional[TimeValuePy]
119
- channel_values: builtins.list[ChannelValuePy]
168
+ channel_values: builtins.list[IngestWithConfigDataChannelValuePy]
120
169
  run_id: builtins.str
121
170
  end_stream_on_validation_error: builtins.bool
122
171
  organization_id: builtins.str
123
- def __new__(cls, ingestion_config_id:builtins.str, flow:builtins.str, timestamp:typing.Optional[TimeValuePy], channel_values:typing.Sequence[ChannelValuePy], run_id:builtins.str, end_stream_on_validation_error:builtins.bool, organization_id:builtins.str) -> IngestWithConfigDataStreamRequestPy: ...
172
+ def __new__(
173
+ cls,
174
+ ingestion_config_id: builtins.str,
175
+ flow: builtins.str,
176
+ timestamp: typing.Optional[TimeValuePy],
177
+ channel_values: typing.Sequence[IngestWithConfigDataChannelValuePy],
178
+ run_id: builtins.str,
179
+ end_stream_on_validation_error: builtins.bool,
180
+ organization_id: builtins.str,
181
+ ) -> IngestWithConfigDataStreamRequestPy: ...
124
182
 
125
183
  @typing.final
126
184
  class IngestionConfigFormPy:
127
185
  asset_name: builtins.str
128
186
  flows: builtins.list[FlowConfigPy]
129
187
  client_key: builtins.str
130
- def __new__(cls, asset_name:builtins.str, client_key:builtins.str, flows:typing.Sequence[FlowConfigPy]) -> IngestionConfigFormPy: ...
188
+ def __new__(
189
+ cls,
190
+ asset_name: builtins.str,
191
+ client_key: builtins.str,
192
+ flows: typing.Sequence[FlowConfigPy],
193
+ ) -> IngestionConfigFormPy: ...
131
194
 
132
195
  @typing.final
133
196
  class RecoveryStrategyPy:
@@ -136,13 +199,26 @@ class RecoveryStrategyPy:
136
199
  max_buffer_size: typing.Optional[builtins.int]
137
200
  backups_dir: typing.Optional[builtins.str]
138
201
  max_backups_file_size: typing.Optional[builtins.int]
139
- def __new__(cls, strategy_type:builtins.str, retry_policy:typing.Optional[RetryPolicyPy], max_buffer_size:typing.Optional[builtins.int], backups_dir:typing.Optional[builtins.str], max_backups_file_size:typing.Optional[builtins.int]) -> RecoveryStrategyPy: ...
140
- @staticmethod
141
- def retry_only(retry_policy:RetryPolicyPy) -> RecoveryStrategyPy: ...
142
- @staticmethod
143
- def retry_with_in_memory_backups(retry_policy:RetryPolicyPy, max_buffer_size:typing.Optional[builtins.int]) -> RecoveryStrategyPy: ...
144
- @staticmethod
145
- def retry_with_disk_backups(retry_policy:RetryPolicyPy, backups_dir:typing.Optional[builtins.str], max_backups_file_size:typing.Optional[builtins.int]) -> RecoveryStrategyPy: ...
202
+ def __new__(
203
+ cls,
204
+ strategy_type: builtins.str,
205
+ retry_policy: typing.Optional[RetryPolicyPy],
206
+ max_buffer_size: typing.Optional[builtins.int],
207
+ backups_dir: typing.Optional[builtins.str],
208
+ max_backups_file_size: typing.Optional[builtins.int],
209
+ ) -> RecoveryStrategyPy: ...
210
+ @staticmethod
211
+ def retry_only(retry_policy: RetryPolicyPy) -> RecoveryStrategyPy: ...
212
+ @staticmethod
213
+ def retry_with_in_memory_backups(
214
+ retry_policy: RetryPolicyPy, max_buffer_size: typing.Optional[builtins.int]
215
+ ) -> RecoveryStrategyPy: ...
216
+ @staticmethod
217
+ def retry_with_disk_backups(
218
+ retry_policy: RetryPolicyPy,
219
+ backups_dir: typing.Optional[builtins.str],
220
+ max_backups_file_size: typing.Optional[builtins.int],
221
+ ) -> RecoveryStrategyPy: ...
146
222
  @staticmethod
147
223
  def default() -> RecoveryStrategyPy: ...
148
224
  @staticmethod
@@ -156,7 +232,13 @@ class RetryPolicyPy:
156
232
  initial_backoff: DurationPy
157
233
  max_backoff: DurationPy
158
234
  backoff_multiplier: builtins.int
159
- def __new__(cls, max_attempts:builtins.int, initial_backoff:DurationPy, max_backoff:DurationPy, backoff_multiplier:builtins.int) -> RetryPolicyPy: ...
235
+ def __new__(
236
+ cls,
237
+ max_attempts: builtins.int,
238
+ initial_backoff: DurationPy,
239
+ max_backoff: DurationPy,
240
+ backoff_multiplier: builtins.int,
241
+ ) -> RetryPolicyPy: ...
160
242
  @staticmethod
161
243
  def default() -> RetryPolicyPy: ...
162
244
 
@@ -166,7 +248,13 @@ class RunFormPy:
166
248
  client_key: builtins.str
167
249
  description: typing.Optional[builtins.str]
168
250
  tags: typing.Optional[builtins.list[builtins.str]]
169
- def __new__(cls, name:builtins.str, client_key:builtins.str, description:typing.Optional[builtins.str], tags:typing.Optional[typing.Sequence[builtins.str]]) -> RunFormPy: ...
251
+ def __new__(
252
+ cls,
253
+ name: builtins.str,
254
+ client_key: builtins.str,
255
+ description: typing.Optional[builtins.str],
256
+ tags: typing.Optional[typing.Sequence[builtins.str]],
257
+ ) -> RunFormPy: ...
170
258
 
171
259
  @typing.final
172
260
  class SiftStreamBuilderPy:
@@ -178,28 +266,32 @@ class SiftStreamBuilderPy:
178
266
  checkpoint_interval: DurationPy
179
267
  run: typing.Optional[RunFormPy]
180
268
  run_id: typing.Optional[builtins.str]
181
- def __new__(cls, uri:builtins.str, apikey:builtins.str) -> SiftStreamBuilderPy: ...
269
+ def __new__(
270
+ cls, uri: builtins.str, apikey: builtins.str
271
+ ) -> SiftStreamBuilderPy: ...
182
272
  def build(self) -> typing.Any: ...
183
273
 
184
274
  @typing.final
185
275
  class SiftStreamPy:
186
- def send(self, flow:FlowPy) -> typing.Any: ...
187
- def send_requests(self, requests:typing.Sequence[IngestWithConfigDataStreamRequestPy]) -> typing.Any: ...
276
+ def send(self, flow: FlowPy) -> typing.Any: ...
277
+ def send_requests(
278
+ self, requests: typing.Sequence[IngestWithConfigDataStreamRequestPy]
279
+ ) -> typing.Any: ...
188
280
  def finish(self) -> typing.Any: ...
189
281
 
190
282
  @typing.final
191
283
  class TimeValuePy:
192
284
  def __new__(cls) -> TimeValuePy: ...
193
285
  @staticmethod
194
- def from_timestamp(secs:builtins.int, nsecs:builtins.int) -> TimeValuePy: ...
286
+ def from_timestamp(secs: builtins.int, nsecs: builtins.int) -> TimeValuePy: ...
195
287
  @staticmethod
196
- def from_timestamp_millis(millis:builtins.int) -> TimeValuePy: ...
288
+ def from_timestamp_millis(millis: builtins.int) -> TimeValuePy: ...
197
289
  @staticmethod
198
- def from_timestamp_micros(micros:builtins.int) -> TimeValuePy: ...
290
+ def from_timestamp_micros(micros: builtins.int) -> TimeValuePy: ...
199
291
  @staticmethod
200
- def from_timestamp_nanos(nanos:builtins.int) -> TimeValuePy: ...
292
+ def from_timestamp_nanos(nanos: builtins.int) -> TimeValuePy: ...
201
293
  @staticmethod
202
- def from_rfc3339(val:builtins.str) -> TimeValuePy: ...
294
+ def from_rfc3339(val: builtins.str) -> TimeValuePy: ...
203
295
 
204
296
  @typing.final
205
297
  class ChannelDataTypePy(Enum):
@@ -0,0 +1,9 @@
1
+ Metadata-Version: 2.4
2
+ Name: sift-stream-bindings
3
+ Version: 0.1.2
4
+ Classifier: Programming Language :: Rust
5
+ Classifier: Programming Language :: Python :: Implementation :: CPython
6
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
7
+ Home-Page: https://github.com/sift-stack/sift/tree/main/rust
8
+ Maintainer-email: Sift Software Engineers <engineering@siftstack.com>
9
+ Requires-Python: >=3.8
@@ -0,0 +1,7 @@
1
+ sift_stream_bindings-0.1.2.dist-info/METADATA,sha256=67oyRko5Z63CjBPS7aDmtVWG6KRzIervENAG85CVbJY,400
2
+ sift_stream_bindings-0.1.2.dist-info/WHEEL,sha256=h3D_2RlAKif1X9O8zy6Z03iL3WMrz3sZ-L6p1LyRbHE,127
3
+ sift_stream_bindings/__init__.py,sha256=ArkbnVmcnLHQiPvx9hffXgrxI4fERn19dnuruVB-iW8,163
4
+ sift_stream_bindings/__init__.pyi,sha256=_rA0z6mYJkZ3BcqGKYQ1p9o26w_QaGIfA7t-3luTA-8,10153
5
+ sift_stream_bindings/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
+ sift_stream_bindings/sift_stream_bindings.cpython-38-arm-linux-gnueabihf.so,sha256=Kw8XrNkFRVDH6XnmKMJnVY3bXaDhZu1SPOWG0952lHE,7339400
7
+ sift_stream_bindings-0.1.2.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: maturin (1.9.1)
2
+ Generator: maturin (1.9.3)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp38-cp38-manylinux_2_17_armv7l.manylinux2014_armv7l
@@ -1,23 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: sift-stream-bindings
3
- Version: 0.1.1
4
- Classifier: Programming Language :: Rust
5
- Classifier: Programming Language :: Python :: Implementation :: CPython
6
- Classifier: Programming Language :: Python :: Implementation :: PyPy
7
- Keywords: sift,siftstack,sift-stack,sift_rs,telemetry
8
- Home-Page: https://github.com/sift-stack/sift/tree/main/rust
9
- Author: Sift Software Engineers <engineering@siftstack.com>
10
- Author-email: Sift Software Engineers <engineering@siftstack.com>
11
- Maintainer-email: Sift Software Engineers <engineering@siftstack.com>
12
- License: MIT
13
- Requires-Python: >=3.8
14
- Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
15
- Project-URL: Source Code, https://github.com/sift-stack/sift/tree/main/rust
16
-
17
- # Sift Stream Python Bindings
18
-
19
- [![pypi](https://img.shields.io/pypi/v/sift-stream-bindings)](https://pypi.org/project/sift-stream-bindings/)
20
- [![pypi](https://img.shields.io/pypi/pyversions/sift-stream-bindings)](https://pypi.org/project/sift-stream-bindings/)
21
-
22
- This library provides Python bindings for the `sift_stream` crate, offering access to the core functionality offered by `sift_stream` via Python. It is built using [pyo3](https://docs.rs/pyo3/latest/pyo3/) and published using [maturin](https://github.com/PyO3/maturin). This library is built with the intention of being used within the underlying architecture of the sift-stack-py package.
23
-
@@ -1,7 +0,0 @@
1
- sift_stream_bindings-0.1.1.dist-info/METADATA,sha256=lSMv8vDZlmjliyr9CvOHenVFhAB8yws95zBmkcyLl3Q,1390
2
- sift_stream_bindings-0.1.1.dist-info/WHEEL,sha256=bVdV9yiuRtACz2-GP7Xn86pq0pGX5gq4nhh5Uk1vjm4,127
3
- sift_stream_bindings/__init__.py,sha256=ArkbnVmcnLHQiPvx9hffXgrxI4fERn19dnuruVB-iW8,163
4
- sift_stream_bindings/__init__.pyi,sha256=WSmaPmN3Y47jqEpJN818LqwDouSPewb-CDZgArJBXaI,8304
5
- sift_stream_bindings/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
- sift_stream_bindings/sift_stream_bindings.cpython-38-arm-linux-gnueabihf.so,sha256=BKyeGEqIBEqyZc89pKda_Z0pE1LsA9y_4ZSmhbqpxoU,7307340
7
- sift_stream_bindings-0.1.1.dist-info/RECORD,,