sift-stream-bindings 0.1.3__cp313-cp313-win_amd64.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.

@@ -0,0 +1,5 @@
1
+ from .sift_stream_bindings import *
2
+
3
+ __doc__ = sift_stream_bindings.__doc__
4
+ if hasattr(sift_stream_bindings, "__all__"):
5
+ __all__ = sift_stream_bindings.__all__
@@ -0,0 +1,309 @@
1
+ # This file is automatically generated by pyo3_stub_gen
2
+
3
+ __all__ = [
4
+ "ChannelBitFieldElementPy",
5
+ "ChannelConfigPy",
6
+ "ChannelDataTypePy",
7
+ "ChannelEnumTypePy",
8
+ "ChannelValuePy",
9
+ "ChannelValueTypePy",
10
+ "DurationPy",
11
+ "FlowConfigPy",
12
+ "FlowPy",
13
+ "IngestWithConfigDataChannelValuePy",
14
+ "IngestWithConfigDataStreamRequestPy",
15
+ "IngestionConfigFormPy",
16
+ "RecoveryStrategyPy",
17
+ "RetryPolicyPy",
18
+ "RunFormPy",
19
+ "SiftStreamBuilderPy",
20
+ "SiftStreamPy",
21
+ "TimeValuePy",
22
+ ]
23
+
24
+ import builtins
25
+ import typing
26
+ from enum import Enum
27
+
28
+ @typing.final
29
+ class ChannelBitFieldElementPy:
30
+ name: builtins.str
31
+ index: builtins.int
32
+ bit_count: builtins.int
33
+ def __new__(
34
+ cls, name: builtins.str, index: builtins.int, bit_count: builtins.int
35
+ ) -> ChannelBitFieldElementPy: ...
36
+
37
+ @typing.final
38
+ class ChannelConfigPy:
39
+ name: builtins.str
40
+ unit: builtins.str
41
+ description: builtins.str
42
+ data_type: ChannelDataTypePy
43
+ enum_types: builtins.list[ChannelEnumTypePy]
44
+ 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: ...
54
+
55
+ @typing.final
56
+ class ChannelEnumTypePy:
57
+ name: builtins.str
58
+ key: builtins.int
59
+ def __new__(cls, name: builtins.str, key: builtins.int) -> ChannelEnumTypePy: ...
60
+
61
+ @typing.final
62
+ 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: ...
85
+
86
+ @typing.final
87
+ class ChannelValueTypePy:
88
+ @staticmethod
89
+ def bool(value: builtins.bool) -> ChannelValueTypePy: ...
90
+ @staticmethod
91
+ def string(value: builtins.str) -> ChannelValueTypePy: ...
92
+ @staticmethod
93
+ def float(value: builtins.float) -> ChannelValueTypePy: ...
94
+ @staticmethod
95
+ def double(value: builtins.float) -> ChannelValueTypePy: ...
96
+ @staticmethod
97
+ def int32(value: builtins.int) -> ChannelValueTypePy: ...
98
+ @staticmethod
99
+ def uint32(value: builtins.int) -> ChannelValueTypePy: ...
100
+ @staticmethod
101
+ def int64(value: builtins.int) -> ChannelValueTypePy: ...
102
+ @staticmethod
103
+ def uint64(value: builtins.int) -> ChannelValueTypePy: ...
104
+ @staticmethod
105
+ def enum_value(value: builtins.int) -> ChannelValueTypePy: ...
106
+ @staticmethod
107
+ def bitfield(value: typing.Sequence[builtins.int]) -> ChannelValueTypePy: ...
108
+ @staticmethod
109
+ def bytes(value: typing.Sequence[builtins.int]) -> ChannelValueTypePy: ...
110
+ @staticmethod
111
+ def empty() -> ChannelValueTypePy: ...
112
+
113
+ @typing.final
114
+ class DurationPy:
115
+ secs: builtins.int
116
+ nanos: builtins.int
117
+ def __new__(cls, secs: builtins.int, nanos: builtins.int) -> DurationPy: ...
118
+
119
+ @typing.final
120
+ class FlowConfigPy:
121
+ name: builtins.str
122
+ channels: builtins.list[ChannelConfigPy]
123
+ def __new__(
124
+ cls, name: builtins.str, channels: typing.Sequence[ChannelConfigPy]
125
+ ) -> FlowConfigPy: ...
126
+
127
+ @typing.final
128
+ class 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: ...
162
+
163
+ @typing.final
164
+ class IngestWithConfigDataStreamRequestPy:
165
+ ingestion_config_id: builtins.str
166
+ flow: builtins.str
167
+ timestamp: typing.Optional[TimeValuePy]
168
+ channel_values: builtins.list[IngestWithConfigDataChannelValuePy]
169
+ run_id: builtins.str
170
+ end_stream_on_validation_error: builtins.bool
171
+ 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: ...
182
+
183
+ @typing.final
184
+ class IngestionConfigFormPy:
185
+ asset_name: builtins.str
186
+ flows: builtins.list[FlowConfigPy]
187
+ 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: ...
194
+
195
+ @typing.final
196
+ 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
+ @staticmethod
223
+ def default() -> RecoveryStrategyPy: ...
224
+ @staticmethod
225
+ def default_retry_policy_in_memory_backups() -> RecoveryStrategyPy: ...
226
+ @staticmethod
227
+ def default_retry_policy_disk_backups() -> RecoveryStrategyPy: ...
228
+
229
+ @typing.final
230
+ class RetryPolicyPy:
231
+ max_attempts: builtins.int
232
+ initial_backoff: DurationPy
233
+ max_backoff: DurationPy
234
+ 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: ...
242
+ @staticmethod
243
+ def default() -> RetryPolicyPy: ...
244
+
245
+ @typing.final
246
+ class RunFormPy:
247
+ name: builtins.str
248
+ client_key: builtins.str
249
+ description: typing.Optional[builtins.str]
250
+ 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: ...
258
+
259
+ @typing.final
260
+ class SiftStreamBuilderPy:
261
+ uri: builtins.str
262
+ apikey: builtins.str
263
+ enable_tls: builtins.bool
264
+ ingestion_config: typing.Optional[IngestionConfigFormPy]
265
+ recovery_strategy: typing.Optional[RecoveryStrategyPy]
266
+ checkpoint_interval: DurationPy
267
+ run: typing.Optional[RunFormPy]
268
+ run_id: typing.Optional[builtins.str]
269
+ def __new__(
270
+ cls, uri: builtins.str, apikey: builtins.str
271
+ ) -> SiftStreamBuilderPy: ...
272
+ def build(self) -> typing.Any: ...
273
+
274
+ @typing.final
275
+ class SiftStreamPy:
276
+ def send(self, flow: FlowPy) -> typing.Any: ...
277
+ def send_requests(
278
+ self, requests: typing.Sequence[IngestWithConfigDataStreamRequestPy]
279
+ ) -> typing.Any: ...
280
+ def finish(self) -> typing.Any: ...
281
+
282
+ @typing.final
283
+ class TimeValuePy:
284
+ def __new__(cls) -> TimeValuePy: ...
285
+ @staticmethod
286
+ def from_timestamp(secs: builtins.int, nsecs: builtins.int) -> TimeValuePy: ...
287
+ @staticmethod
288
+ def from_timestamp_millis(millis: builtins.int) -> TimeValuePy: ...
289
+ @staticmethod
290
+ def from_timestamp_micros(micros: builtins.int) -> TimeValuePy: ...
291
+ @staticmethod
292
+ def from_timestamp_nanos(nanos: builtins.int) -> TimeValuePy: ...
293
+ @staticmethod
294
+ def from_rfc3339(val: builtins.str) -> TimeValuePy: ...
295
+
296
+ @typing.final
297
+ class ChannelDataTypePy(Enum):
298
+ Unspecified = ...
299
+ Double = ...
300
+ String = ...
301
+ Enum = ...
302
+ BitField = ...
303
+ Bool = ...
304
+ Float = ...
305
+ Int32 = ...
306
+ Uint32 = ...
307
+ Int64 = ...
308
+ Uint64 = ...
309
+ Bytes = ...
File without changes
@@ -0,0 +1,9 @@
1
+ Metadata-Version: 2.4
2
+ Name: sift-stream-bindings
3
+ Version: 0.1.3
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.3.dist-info/METADATA,sha256=No4GpUMFqN-bxWo7BDvSVnoBDR_1_RTyqzAZD8g9RZc,400
2
+ sift_stream_bindings-0.1.3.dist-info/WHEEL,sha256=TJQY77QRLvXq32tEs9ATmwKO6NAOtuKOAw50eyiSmWU,96
3
+ sift_stream_bindings/__init__.py,sha256=ArkbnVmcnLHQiPvx9hffXgrxI4fERn19dnuruVB-iW8,163
4
+ sift_stream_bindings/__init__.pyi,sha256=0S9ykD9OWr3uNiTfddKVHbQah6J4reMrDlSNUuylmo4,10462
5
+ sift_stream_bindings/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
+ sift_stream_bindings/sift_stream_bindings.cp313-win_amd64.pyd,sha256=6I-Z2zwYQv-gxzEX-UpE3KZqxdCtRHT6ZqAZvfbjmHQ,6545408
7
+ sift_stream_bindings-0.1.3.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: maturin (1.9.6)
3
+ Root-Is-Purelib: false
4
+ Tag: cp313-cp313-win_amd64