sift-stream-bindings 0.1.3__cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl → 0.2.0rc1__cp310-cp310-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.
@@ -1,38 +1,59 @@
1
1
  # This file is automatically generated by pyo3_stub_gen
2
2
 
3
3
  __all__ = [
4
+ "BackupMetricsSnapshotPy",
4
5
  "ChannelBitFieldElementPy",
5
6
  "ChannelConfigPy",
6
7
  "ChannelDataTypePy",
8
+ "ChannelEnumPy",
7
9
  "ChannelEnumTypePy",
8
10
  "ChannelValuePy",
9
11
  "ChannelValueTypePy",
12
+ "CheckpointMetricsSnapshotPy",
13
+ "DiskBackupPolicyPy",
10
14
  "DurationPy",
11
15
  "FlowConfigPy",
12
16
  "FlowPy",
13
17
  "IngestWithConfigDataChannelValuePy",
14
18
  "IngestWithConfigDataStreamRequestPy",
15
19
  "IngestionConfigFormPy",
20
+ "MetadataPy",
21
+ "MetadataValuePy",
16
22
  "RecoveryStrategyPy",
17
23
  "RetryPolicyPy",
24
+ "RollingFilePolicyPy",
18
25
  "RunFormPy",
26
+ "RunSelectorPy",
19
27
  "SiftStreamBuilderPy",
28
+ "SiftStreamMetricsSnapshotPy",
20
29
  "SiftStreamPy",
21
30
  "TimeValuePy",
31
+ "ValuePy",
22
32
  ]
23
33
 
24
34
  import builtins
25
35
  import typing
26
36
  from enum import Enum
27
37
 
38
+ @typing.final
39
+ class BackupMetricsSnapshotPy:
40
+ cur_checkpoint_file_count: builtins.int
41
+ cur_checkpoint_cur_file_size: builtins.int
42
+ cur_checkpoint_bytes: builtins.int
43
+ cur_checkpoint_messages: builtins.int
44
+ total_file_count: builtins.int
45
+ total_bytes: builtins.int
46
+ total_messages: builtins.int
47
+ files_pending_ingestion: builtins.int
48
+ files_ingested: builtins.int
49
+ cur_ingest_retries: builtins.int
50
+
28
51
  @typing.final
29
52
  class ChannelBitFieldElementPy:
30
53
  name: builtins.str
31
54
  index: builtins.int
32
55
  bit_count: builtins.int
33
- def __new__(
34
- cls, name: builtins.str, index: builtins.int, bit_count: builtins.int
35
- ) -> ChannelBitFieldElementPy: ...
56
+ def __new__(cls, name:builtins.str, index:builtins.int, bit_count:builtins.int) -> ChannelBitFieldElementPy: ...
36
57
 
37
58
  @typing.final
38
59
  class ChannelConfigPy:
@@ -42,121 +63,112 @@ class ChannelConfigPy:
42
63
  data_type: ChannelDataTypePy
43
64
  enum_types: builtins.list[ChannelEnumTypePy]
44
65
  bit_field_elements: builtins.list[ChannelBitFieldElementPy]
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: ...
66
+ 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: ...
67
+
68
+ @typing.final
69
+ class ChannelEnumPy:
70
+ def __new__(cls, val:builtins.int) -> ChannelEnumPy: ...
54
71
 
55
72
  @typing.final
56
73
  class ChannelEnumTypePy:
57
74
  name: builtins.str
58
75
  key: builtins.int
59
- def __new__(cls, name: builtins.str, key: builtins.int) -> ChannelEnumTypePy: ...
76
+ def __new__(cls, name:builtins.str, key:builtins.int) -> ChannelEnumTypePy: ...
60
77
 
61
78
  @typing.final
62
79
  class ChannelValuePy:
63
- @staticmethod
64
- def bool(name: builtins.str, value: builtins.bool) -> ChannelValuePy: ...
65
- @staticmethod
66
- def string(name: builtins.str, value: builtins.str) -> ChannelValuePy: ...
67
- @staticmethod
68
- def float(name: builtins.str, value: builtins.float) -> ChannelValuePy: ...
69
- @staticmethod
70
- def double(name: builtins.str, value: builtins.float) -> ChannelValuePy: ...
71
- @staticmethod
72
- def int32(name: builtins.str, value: builtins.int) -> ChannelValuePy: ...
73
- @staticmethod
74
- def uint32(name: builtins.str, value: builtins.int) -> ChannelValuePy: ...
75
- @staticmethod
76
- def int64(name: builtins.str, value: builtins.int) -> ChannelValuePy: ...
77
- @staticmethod
78
- def uint64(name: builtins.str, value: builtins.int) -> ChannelValuePy: ...
79
- @staticmethod
80
- def enum_value(name: builtins.str, value: ChannelEnumTypePy) -> ChannelValuePy: ...
81
- @staticmethod
82
- def bitfield(
83
- name: builtins.str, value: typing.Sequence[builtins.int]
84
- ) -> ChannelValuePy: ...
80
+ name: builtins.str
81
+ value: ValuePy
82
+ def __new__(cls, name:builtins.str, value:ValuePy) -> ChannelValuePy: ...
85
83
 
86
84
  @typing.final
87
85
  class ChannelValueTypePy:
88
86
  @staticmethod
89
- def bool(value: builtins.bool) -> ChannelValueTypePy: ...
87
+ def bool(value:builtins.bool) -> ChannelValueTypePy: ...
90
88
  @staticmethod
91
- def string(value: builtins.str) -> ChannelValueTypePy: ...
89
+ def string(value:builtins.str) -> ChannelValueTypePy: ...
92
90
  @staticmethod
93
- def float(value: builtins.float) -> ChannelValueTypePy: ...
91
+ def float(value:builtins.float) -> ChannelValueTypePy: ...
94
92
  @staticmethod
95
- def double(value: builtins.float) -> ChannelValueTypePy: ...
93
+ def double(value:builtins.float) -> ChannelValueTypePy: ...
96
94
  @staticmethod
97
- def int32(value: builtins.int) -> ChannelValueTypePy: ...
95
+ def int32(value:builtins.int) -> ChannelValueTypePy: ...
98
96
  @staticmethod
99
- def uint32(value: builtins.int) -> ChannelValueTypePy: ...
97
+ def uint32(value:builtins.int) -> ChannelValueTypePy: ...
100
98
  @staticmethod
101
- def int64(value: builtins.int) -> ChannelValueTypePy: ...
99
+ def int64(value:builtins.int) -> ChannelValueTypePy: ...
102
100
  @staticmethod
103
- def uint64(value: builtins.int) -> ChannelValueTypePy: ...
101
+ def uint64(value:builtins.int) -> ChannelValueTypePy: ...
104
102
  @staticmethod
105
- def enum_value(value: builtins.int) -> ChannelValueTypePy: ...
103
+ def enum_value(value:builtins.int) -> ChannelValueTypePy: ...
106
104
  @staticmethod
107
- def bitfield(value: typing.Sequence[builtins.int]) -> ChannelValueTypePy: ...
105
+ def bitfield(value:typing.Sequence[builtins.int]) -> ChannelValueTypePy: ...
108
106
  @staticmethod
109
- def bytes(value: typing.Sequence[builtins.int]) -> ChannelValueTypePy: ...
107
+ def bytes(value:typing.Sequence[builtins.int]) -> ChannelValueTypePy: ...
110
108
  @staticmethod
111
109
  def empty() -> ChannelValueTypePy: ...
112
110
 
111
+ @typing.final
112
+ class CheckpointMetricsSnapshotPy:
113
+ checkpoint_count: builtins.int
114
+ failed_checkpoint_count: builtins.int
115
+ checkpoint_timer_reached_cnt: builtins.int
116
+ checkpoint_manually_reached_cnt: builtins.int
117
+ cur_elapsed_secs: builtins.float
118
+ cur_messages_sent: builtins.int
119
+ cur_message_rate: builtins.float
120
+ cur_bytes_sent: builtins.int
121
+ cur_byte_rate: builtins.float
122
+
123
+ @typing.final
124
+ class DiskBackupPolicyPy:
125
+ backups_dir: typing.Optional[builtins.str]
126
+ max_backup_file_size: builtins.int
127
+ rolling_file_policy: RollingFilePolicyPy
128
+ retain_backups: builtins.bool
129
+ def __new__(cls, backups_dir:typing.Optional[builtins.str], max_backup_file_size:builtins.int, rolling_file_policy:RollingFilePolicyPy, retain_backups:builtins.bool) -> DiskBackupPolicyPy: ...
130
+ @staticmethod
131
+ def default() -> DiskBackupPolicyPy: ...
132
+
113
133
  @typing.final
114
134
  class DurationPy:
115
135
  secs: builtins.int
116
136
  nanos: builtins.int
117
- def __new__(cls, secs: builtins.int, nanos: builtins.int) -> DurationPy: ...
137
+ def __new__(cls, secs:builtins.int, nanos:builtins.int) -> DurationPy: ...
118
138
 
119
139
  @typing.final
120
140
  class FlowConfigPy:
121
141
  name: builtins.str
122
142
  channels: builtins.list[ChannelConfigPy]
123
- def __new__(
124
- cls, name: builtins.str, channels: typing.Sequence[ChannelConfigPy]
125
- ) -> FlowConfigPy: ...
143
+ def __new__(cls, name:builtins.str, channels:typing.Sequence[ChannelConfigPy]) -> FlowConfigPy: ...
126
144
 
127
145
  @typing.final
128
146
  class FlowPy:
129
- def __new__(
130
- cls,
131
- flow_name: builtins.str,
132
- timestamp: TimeValuePy,
133
- values: typing.Sequence[ChannelValuePy],
134
- ) -> FlowPy: ...
147
+ def __new__(cls, flow_name:builtins.str, timestamp:TimeValuePy, values:typing.Sequence[ChannelValuePy]) -> FlowPy: ...
135
148
 
136
149
  @typing.final
137
150
  class IngestWithConfigDataChannelValuePy:
151
+ ty: ChannelValueTypePy
138
152
  @staticmethod
139
- def bool(value: builtins.bool) -> IngestWithConfigDataChannelValuePy: ...
153
+ def bool(value:builtins.bool) -> IngestWithConfigDataChannelValuePy: ...
140
154
  @staticmethod
141
- def string(value: builtins.str) -> IngestWithConfigDataChannelValuePy: ...
155
+ def string(value:builtins.str) -> IngestWithConfigDataChannelValuePy: ...
142
156
  @staticmethod
143
- def float(value: builtins.float) -> IngestWithConfigDataChannelValuePy: ...
157
+ def float(value:builtins.float) -> IngestWithConfigDataChannelValuePy: ...
144
158
  @staticmethod
145
- def double(value: builtins.float) -> IngestWithConfigDataChannelValuePy: ...
159
+ def double(value:builtins.float) -> IngestWithConfigDataChannelValuePy: ...
146
160
  @staticmethod
147
- def int32(value: builtins.int) -> IngestWithConfigDataChannelValuePy: ...
161
+ def int32(value:builtins.int) -> IngestWithConfigDataChannelValuePy: ...
148
162
  @staticmethod
149
- def uint32(value: builtins.int) -> IngestWithConfigDataChannelValuePy: ...
163
+ def uint32(value:builtins.int) -> IngestWithConfigDataChannelValuePy: ...
150
164
  @staticmethod
151
- def int64(value: builtins.int) -> IngestWithConfigDataChannelValuePy: ...
165
+ def int64(value:builtins.int) -> IngestWithConfigDataChannelValuePy: ...
152
166
  @staticmethod
153
- def uint64(value: builtins.int) -> IngestWithConfigDataChannelValuePy: ...
167
+ def uint64(value:builtins.int) -> IngestWithConfigDataChannelValuePy: ...
154
168
  @staticmethod
155
- def enum_value(value: builtins.int) -> IngestWithConfigDataChannelValuePy: ...
169
+ def enum_value(value:builtins.int) -> IngestWithConfigDataChannelValuePy: ...
156
170
  @staticmethod
157
- def bitfield(
158
- value: typing.Sequence[builtins.int],
159
- ) -> IngestWithConfigDataChannelValuePy: ...
171
+ def bitfield(value:typing.Sequence[builtins.int]) -> IngestWithConfigDataChannelValuePy: ...
160
172
  @staticmethod
161
173
  def empty() -> IngestWithConfigDataChannelValuePy: ...
162
174
 
@@ -169,62 +181,29 @@ class IngestWithConfigDataStreamRequestPy:
169
181
  run_id: builtins.str
170
182
  end_stream_on_validation_error: builtins.bool
171
183
  organization_id: builtins.str
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: ...
184
+ def __new__(cls, ingestion_config_id:builtins.str, flow:builtins.str, timestamp:typing.Optional[TimeValuePy], channel_values:typing.Sequence[IngestWithConfigDataChannelValuePy], run_id:builtins.str, end_stream_on_validation_error:builtins.bool, organization_id:builtins.str) -> IngestWithConfigDataStreamRequestPy: ...
182
185
 
183
186
  @typing.final
184
187
  class IngestionConfigFormPy:
185
188
  asset_name: builtins.str
186
189
  flows: builtins.list[FlowConfigPy]
187
190
  client_key: builtins.str
188
- def __new__(
189
- cls,
190
- asset_name: builtins.str,
191
- client_key: builtins.str,
192
- flows: typing.Sequence[FlowConfigPy],
193
- ) -> IngestionConfigFormPy: ...
191
+ def __new__(cls, asset_name:builtins.str, client_key:builtins.str, flows:typing.Sequence[FlowConfigPy]) -> IngestionConfigFormPy: ...
192
+
193
+ @typing.final
194
+ class MetadataPy:
195
+ key: builtins.str
196
+ value: MetadataValuePy
197
+ def __new__(cls, key:builtins.str, value:MetadataValuePy) -> MetadataPy: ...
194
198
 
195
199
  @typing.final
196
200
  class RecoveryStrategyPy:
197
- strategy_type: builtins.str
198
- retry_policy: typing.Optional[RetryPolicyPy]
199
- max_buffer_size: typing.Optional[builtins.int]
200
- backups_dir: typing.Optional[builtins.str]
201
- max_backups_file_size: typing.Optional[builtins.int]
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: ...
222
201
  @staticmethod
223
- def default() -> RecoveryStrategyPy: ...
202
+ def retry_only(retry_policy:RetryPolicyPy) -> RecoveryStrategyPy: ...
224
203
  @staticmethod
225
- def default_retry_policy_in_memory_backups() -> RecoveryStrategyPy: ...
204
+ def retry_with_backups(retry_policy:RetryPolicyPy, disk_backup_policy:DiskBackupPolicyPy) -> RecoveryStrategyPy: ...
226
205
  @staticmethod
227
- def default_retry_policy_disk_backups() -> RecoveryStrategyPy: ...
206
+ def default() -> RecoveryStrategyPy: ...
228
207
 
229
208
  @typing.final
230
209
  class RetryPolicyPy:
@@ -232,29 +211,31 @@ class RetryPolicyPy:
232
211
  initial_backoff: DurationPy
233
212
  max_backoff: DurationPy
234
213
  backoff_multiplier: builtins.int
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: ...
214
+ def __new__(cls, max_attempts:builtins.int, initial_backoff:DurationPy, max_backoff:DurationPy, backoff_multiplier:builtins.int) -> RetryPolicyPy: ...
242
215
  @staticmethod
243
216
  def default() -> RetryPolicyPy: ...
244
217
 
218
+ @typing.final
219
+ class RollingFilePolicyPy:
220
+ def __new__(cls, max_file_count:typing.Optional[builtins.int]) -> RollingFilePolicyPy: ...
221
+ @staticmethod
222
+ def default() -> RollingFilePolicyPy: ...
223
+
245
224
  @typing.final
246
225
  class RunFormPy:
247
226
  name: builtins.str
248
227
  client_key: builtins.str
249
228
  description: typing.Optional[builtins.str]
250
229
  tags: typing.Optional[builtins.list[builtins.str]]
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: ...
230
+ metadata: typing.Optional[builtins.list[MetadataPy]]
231
+ def __new__(cls, name:builtins.str, client_key:builtins.str, description:typing.Optional[builtins.str], tags:typing.Optional[typing.Sequence[builtins.str]], metadata:typing.Optional[typing.Sequence[MetadataPy]]) -> RunFormPy: ...
232
+
233
+ @typing.final
234
+ class RunSelectorPy:
235
+ @staticmethod
236
+ def by_id(run_id:builtins.str) -> RunSelectorPy: ...
237
+ @staticmethod
238
+ def by_form(form:RunFormPy) -> RunSelectorPy: ...
258
239
 
259
240
  @typing.final
260
241
  class SiftStreamBuilderPy:
@@ -263,35 +244,96 @@ class SiftStreamBuilderPy:
263
244
  enable_tls: builtins.bool
264
245
  ingestion_config: typing.Optional[IngestionConfigFormPy]
265
246
  recovery_strategy: typing.Optional[RecoveryStrategyPy]
266
- checkpoint_interval: DurationPy
247
+ checkpoint_interval: typing.Optional[DurationPy]
267
248
  run: typing.Optional[RunFormPy]
268
249
  run_id: typing.Optional[builtins.str]
269
- def __new__(
270
- cls, uri: builtins.str, apikey: builtins.str
271
- ) -> SiftStreamBuilderPy: ...
250
+ asset_tags: typing.Optional[builtins.list[builtins.str]]
251
+ metadata: typing.Optional[builtins.list[MetadataPy]]
252
+ def __new__(cls, uri:builtins.str, apikey:builtins.str) -> SiftStreamBuilderPy: ...
272
253
  def build(self) -> typing.Any: ...
273
254
 
255
+ @typing.final
256
+ class SiftStreamMetricsSnapshotPy:
257
+ elapsed_secs: builtins.float
258
+ loaded_flows: builtins.int
259
+ unique_flows_received: builtins.int
260
+ messages_received: builtins.int
261
+ messages_sent: builtins.int
262
+ message_rate: builtins.float
263
+ bytes_sent: builtins.int
264
+ byte_rate: builtins.float
265
+ messages_sent_to_backup: builtins.int
266
+ cur_retry_count: builtins.int
267
+ checkpoint: CheckpointMetricsSnapshotPy
268
+ backups: BackupMetricsSnapshotPy
269
+
274
270
  @typing.final
275
271
  class SiftStreamPy:
276
- def send(self, flow: FlowPy) -> typing.Any: ...
277
- def send_requests(
278
- self, requests: typing.Sequence[IngestWithConfigDataStreamRequestPy]
279
- ) -> typing.Any: ...
272
+ def send(self, flow:FlowPy) -> typing.Any: ...
273
+ def send_requests(self, requests:typing.Sequence[IngestWithConfigDataStreamRequestPy]) -> typing.Any: ...
274
+ def get_metrics_snapshot(self) -> SiftStreamMetricsSnapshotPy: ...
275
+ def add_new_flows(self, flow_configs:typing.Sequence[FlowConfigPy]) -> typing.Any: ...
276
+ def attach_run(self, run_selector:RunSelectorPy) -> typing.Any: ...
277
+ def detach_run(self) -> None: ...
278
+ def run(self) -> typing.Optional[builtins.str]: ...
280
279
  def finish(self) -> typing.Any: ...
281
280
 
282
281
  @typing.final
283
282
  class TimeValuePy:
284
283
  def __new__(cls) -> TimeValuePy: ...
285
284
  @staticmethod
286
- def from_timestamp(secs: builtins.int, nsecs: builtins.int) -> TimeValuePy: ...
285
+ def from_timestamp(secs:builtins.int, nsecs:builtins.int) -> TimeValuePy: ...
287
286
  @staticmethod
288
- def from_timestamp_millis(millis: builtins.int) -> TimeValuePy: ...
287
+ def from_timestamp_millis(millis:builtins.int) -> TimeValuePy: ...
289
288
  @staticmethod
290
- def from_timestamp_micros(micros: builtins.int) -> TimeValuePy: ...
289
+ def from_timestamp_micros(micros:builtins.int) -> TimeValuePy: ...
291
290
  @staticmethod
292
- def from_timestamp_nanos(nanos: builtins.int) -> TimeValuePy: ...
291
+ def from_timestamp_nanos(nanos:builtins.int) -> TimeValuePy: ...
293
292
  @staticmethod
294
- def from_rfc3339(val: builtins.str) -> TimeValuePy: ...
293
+ def from_rfc3339(val:builtins.str) -> TimeValuePy: ...
294
+
295
+ @typing.final
296
+ class ValuePy:
297
+ @staticmethod
298
+ def Bool(value:builtins.bool) -> ValuePy: ...
299
+ @staticmethod
300
+ def String(value:builtins.str) -> ValuePy: ...
301
+ @staticmethod
302
+ def Float(value:builtins.float) -> ValuePy: ...
303
+ @staticmethod
304
+ def Double(value:builtins.float) -> ValuePy: ...
305
+ @staticmethod
306
+ def Int32(value:builtins.int) -> ValuePy: ...
307
+ @staticmethod
308
+ def Int64(value:builtins.int) -> ValuePy: ...
309
+ @staticmethod
310
+ def Uint32(value:builtins.int) -> ValuePy: ...
311
+ @staticmethod
312
+ def Uint64(value:builtins.int) -> ValuePy: ...
313
+ @staticmethod
314
+ def Enum(value:builtins.int) -> ValuePy: ...
315
+ @staticmethod
316
+ def BitField(value:typing.Sequence[builtins.int]) -> ValuePy: ...
317
+ def is_bool(self) -> builtins.bool: ...
318
+ def is_string(self) -> builtins.bool: ...
319
+ def is_float(self) -> builtins.bool: ...
320
+ def is_double(self) -> builtins.bool: ...
321
+ def is_int32(self) -> builtins.bool: ...
322
+ def is_int64(self) -> builtins.bool: ...
323
+ def is_uint32(self) -> builtins.bool: ...
324
+ def is_uint64(self) -> builtins.bool: ...
325
+ def is_enum(self) -> builtins.bool: ...
326
+ def is_bitfield(self) -> builtins.bool: ...
327
+ def as_bool(self) -> builtins.bool: ...
328
+ def as_string(self) -> builtins.str: ...
329
+ def as_float(self) -> builtins.float: ...
330
+ def as_double(self) -> builtins.float: ...
331
+ def as_int32(self) -> builtins.int: ...
332
+ def as_int64(self) -> builtins.int: ...
333
+ def as_uint32(self) -> builtins.int: ...
334
+ def as_uint64(self) -> builtins.int: ...
335
+ def as_enum(self) -> builtins.int: ...
336
+ def as_bitfield(self) -> builtins.list[builtins.int]: ...
295
337
 
296
338
  @typing.final
297
339
  class ChannelDataTypePy(Enum):
@@ -307,3 +349,19 @@ class ChannelDataTypePy(Enum):
307
349
  Int64 = ...
308
350
  Uint64 = ...
309
351
  Bytes = ...
352
+
353
+ @typing.final
354
+ class MetadataValuePy(Enum):
355
+ String = ...
356
+ Number = ...
357
+ Boolean = ...
358
+
359
+ def __new__(cls, obj:typing.Any) -> MetadataValuePy: ...
360
+
361
+ def __str__(self) -> builtins.str: ...
362
+
363
+ def is_string(self) -> builtins.bool: ...
364
+
365
+ def is_number(self) -> builtins.bool: ...
366
+
367
+ def is_boolean(self) -> builtins.bool: ...
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sift-stream-bindings
3
- Version: 0.1.3
3
+ Version: 0.2.0rc1
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: Implementation :: CPython
6
6
  Classifier: Programming Language :: Python :: Implementation :: PyPy
7
- Home-Page: https://github.com/sift-stack/sift/tree/main/rust
7
+ Home-Page: https://github.com/sift-stack/sift
8
8
  Maintainer-email: Sift Software Engineers <engineering@siftstack.com>
9
9
  Requires-Python: >=3.8
@@ -0,0 +1,7 @@
1
+ sift_stream_bindings-0.2.0rc1.dist-info/METADATA,sha256=efKr1hifjUdbqwSB5oTZs8sw-Prp-d3XijzgQ7qM8sI,388
2
+ sift_stream_bindings-0.2.0rc1.dist-info/WHEEL,sha256=dGiiSRc3oL8mrgQgjhFzYdTcWzCOdgyD0uUaNO75nxc,147
3
+ sift_stream_bindings/__init__.py,sha256=ArkbnVmcnLHQiPvx9hffXgrxI4fERn19dnuruVB-iW8,163
4
+ sift_stream_bindings/__init__.pyi,sha256=uNe5tUT1Kok6krGl9tuFCZ6nCizUHwRovihczp0qW08,13069
5
+ sift_stream_bindings/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
+ sift_stream_bindings/sift_stream_bindings.cpython-310-arm-linux-gnueabihf.so,sha256=s6a8-PyD6PJR9tearodoY8FeJKjRfXn6dxTBqJOwXYc,8283052
7
+ sift_stream_bindings-0.2.0rc1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: maturin (1.10.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp310-cp310-manylinux_2_17_armv7l
5
+ Tag: cp310-cp310-manylinux2014_armv7l
@@ -1,7 +0,0 @@
1
- sift_stream_bindings-0.1.3.dist-info/METADATA,sha256=No4GpUMFqN-bxWo7BDvSVnoBDR_1_RTyqzAZD8g9RZc,400
2
- sift_stream_bindings-0.1.3.dist-info/WHEEL,sha256=0CB3per0QkoFOxmxSId1S7o50f1mZHJLX6blzK9kucw,129
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-310-arm-linux-gnueabihf.so,sha256=-438JFS2TuhYiZdRp8jrqvUkoP7YrGpu6PbUUhIA41I,7488540
7
- sift_stream_bindings-0.1.3.dist-info/RECORD,,
@@ -1,4 +0,0 @@
1
- Wheel-Version: 1.0
2
- Generator: maturin (1.9.6)
3
- Root-Is-Purelib: false
4
- Tag: cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l