apache-iggy 0.5.0__cp312-cp312-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 apache-iggy might be problematic. Click here for more details.
- apache_iggy/__init__.py +5 -0
- apache_iggy/__init__.pyi +412 -0
- apache_iggy/apache_iggy.cpython-312-darwin.so +0 -0
- apache_iggy/py.typed +0 -0
- apache_iggy-0.5.0.dist-info/METADATA +136 -0
- apache_iggy-0.5.0.dist-info/RECORD +9 -0
- apache_iggy-0.5.0.dist-info/WHEEL +4 -0
- apache_iggy-0.5.0.dist-info/licenses/LICENSE +201 -0
- apache_iggy-0.5.0.dist-info/licenses/NOTICE +13 -0
apache_iggy/__init__.py
ADDED
apache_iggy/__init__.pyi
ADDED
|
@@ -0,0 +1,412 @@
|
|
|
1
|
+
# Licensed to the Apache Software Foundation (ASF) under one
|
|
2
|
+
# or more contributor license agreements. See the NOTICE file
|
|
3
|
+
# distributed with this work for additional information
|
|
4
|
+
# regarding copyright ownership. The ASF licenses this file
|
|
5
|
+
# to you under the Apache License, Version 2.0 (the
|
|
6
|
+
# "License"); you may not use this file except in compliance
|
|
7
|
+
# with the License. You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing,
|
|
12
|
+
# software distributed under the License is distributed on an
|
|
13
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
# KIND, either express or implied. See the License for the
|
|
15
|
+
# specific language governing permissions and limitations
|
|
16
|
+
# under the License.
|
|
17
|
+
|
|
18
|
+
# This file is automatically generated by pyo3_stub_gen
|
|
19
|
+
# ruff: noqa: E501, F401
|
|
20
|
+
|
|
21
|
+
import asyncio
|
|
22
|
+
import builtins
|
|
23
|
+
import collections.abc
|
|
24
|
+
import datetime
|
|
25
|
+
import typing
|
|
26
|
+
|
|
27
|
+
class AutoCommit:
|
|
28
|
+
r"""
|
|
29
|
+
The auto-commit configuration for storing the offset on the server.
|
|
30
|
+
"""
|
|
31
|
+
class Disabled(AutoCommit):
|
|
32
|
+
r"""
|
|
33
|
+
The auto-commit is disabled and the offset must be stored manually by the consumer.
|
|
34
|
+
"""
|
|
35
|
+
__match_args__ = ((),)
|
|
36
|
+
def __new__(cls) -> AutoCommit.Disabled: ...
|
|
37
|
+
def __len__(self) -> builtins.int: ...
|
|
38
|
+
def __getitem__(self, key:builtins.int) -> typing.Any: ...
|
|
39
|
+
|
|
40
|
+
class Interval(AutoCommit):
|
|
41
|
+
r"""
|
|
42
|
+
The auto-commit is enabled and the offset is stored on the server after a certain interval.
|
|
43
|
+
"""
|
|
44
|
+
__match_args__ = ("_0",)
|
|
45
|
+
@property
|
|
46
|
+
def _0(self) -> datetime.timedelta: ...
|
|
47
|
+
def __new__(cls, _0:datetime.timedelta) -> AutoCommit.Interval: ...
|
|
48
|
+
def __len__(self) -> builtins.int: ...
|
|
49
|
+
def __getitem__(self, key:builtins.int) -> typing.Any: ...
|
|
50
|
+
|
|
51
|
+
class IntervalOrWhen(AutoCommit):
|
|
52
|
+
r"""
|
|
53
|
+
The auto-commit is enabled and the offset is stored on the server after a certain interval or depending on the mode when consuming the messages.
|
|
54
|
+
"""
|
|
55
|
+
__match_args__ = ("_0", "_1",)
|
|
56
|
+
@property
|
|
57
|
+
def _0(self) -> datetime.timedelta: ...
|
|
58
|
+
@property
|
|
59
|
+
def _1(self) -> AutoCommitWhen: ...
|
|
60
|
+
def __new__(cls, _0:datetime.timedelta, _1:AutoCommitWhen) -> AutoCommit.IntervalOrWhen: ...
|
|
61
|
+
def __len__(self) -> builtins.int: ...
|
|
62
|
+
def __getitem__(self, key:builtins.int) -> typing.Any: ...
|
|
63
|
+
|
|
64
|
+
class IntervalOrAfter(AutoCommit):
|
|
65
|
+
r"""
|
|
66
|
+
The auto-commit is enabled and the offset is stored on the server after a certain interval or depending on the mode after consuming the messages.
|
|
67
|
+
"""
|
|
68
|
+
__match_args__ = ("_0", "_1",)
|
|
69
|
+
@property
|
|
70
|
+
def _0(self) -> datetime.timedelta: ...
|
|
71
|
+
@property
|
|
72
|
+
def _1(self) -> AutoCommitAfter: ...
|
|
73
|
+
def __new__(cls, _0:datetime.timedelta, _1:AutoCommitAfter) -> AutoCommit.IntervalOrAfter: ...
|
|
74
|
+
def __len__(self) -> builtins.int: ...
|
|
75
|
+
def __getitem__(self, key:builtins.int) -> typing.Any: ...
|
|
76
|
+
|
|
77
|
+
class When(AutoCommit):
|
|
78
|
+
r"""
|
|
79
|
+
The auto-commit is enabled and the offset is stored on the server depending on the mode when consuming the messages.
|
|
80
|
+
"""
|
|
81
|
+
__match_args__ = ("_0",)
|
|
82
|
+
@property
|
|
83
|
+
def _0(self) -> AutoCommitWhen: ...
|
|
84
|
+
def __new__(cls, _0:AutoCommitWhen) -> AutoCommit.When: ...
|
|
85
|
+
def __len__(self) -> builtins.int: ...
|
|
86
|
+
def __getitem__(self, key:builtins.int) -> typing.Any: ...
|
|
87
|
+
|
|
88
|
+
class After(AutoCommit):
|
|
89
|
+
r"""
|
|
90
|
+
The auto-commit is enabled and the offset is stored on the server depending on the mode after consuming the messages.
|
|
91
|
+
"""
|
|
92
|
+
__match_args__ = ("_0",)
|
|
93
|
+
@property
|
|
94
|
+
def _0(self) -> AutoCommitAfter: ...
|
|
95
|
+
def __new__(cls, _0:AutoCommitAfter) -> AutoCommit.After: ...
|
|
96
|
+
def __len__(self) -> builtins.int: ...
|
|
97
|
+
def __getitem__(self, key:builtins.int) -> typing.Any: ...
|
|
98
|
+
|
|
99
|
+
...
|
|
100
|
+
|
|
101
|
+
class AutoCommitAfter:
|
|
102
|
+
r"""
|
|
103
|
+
The auto-commit mode for storing the offset on the server **after** receiving the messages.
|
|
104
|
+
"""
|
|
105
|
+
class ConsumingAllMessages(AutoCommitAfter):
|
|
106
|
+
r"""
|
|
107
|
+
The offset is stored on the server after all the messages are consumed.
|
|
108
|
+
"""
|
|
109
|
+
__match_args__ = ((),)
|
|
110
|
+
def __new__(cls) -> AutoCommitAfter.ConsumingAllMessages: ...
|
|
111
|
+
def __len__(self) -> builtins.int: ...
|
|
112
|
+
def __getitem__(self, key:builtins.int) -> typing.Any: ...
|
|
113
|
+
|
|
114
|
+
class ConsumingEachMessage(AutoCommitAfter):
|
|
115
|
+
r"""
|
|
116
|
+
The offset is stored on the server after consuming each message.
|
|
117
|
+
"""
|
|
118
|
+
__match_args__ = ((),)
|
|
119
|
+
def __new__(cls) -> AutoCommitAfter.ConsumingEachMessage: ...
|
|
120
|
+
def __len__(self) -> builtins.int: ...
|
|
121
|
+
def __getitem__(self, key:builtins.int) -> typing.Any: ...
|
|
122
|
+
|
|
123
|
+
class ConsumingEveryNthMessage(AutoCommitAfter):
|
|
124
|
+
r"""
|
|
125
|
+
The offset is stored on the server after consuming every Nth message.
|
|
126
|
+
"""
|
|
127
|
+
__match_args__ = ("_0",)
|
|
128
|
+
@property
|
|
129
|
+
def _0(self) -> builtins.int: ...
|
|
130
|
+
def __new__(cls, _0:builtins.int) -> AutoCommitAfter.ConsumingEveryNthMessage: ...
|
|
131
|
+
def __len__(self) -> builtins.int: ...
|
|
132
|
+
def __getitem__(self, key:builtins.int) -> typing.Any: ...
|
|
133
|
+
|
|
134
|
+
...
|
|
135
|
+
|
|
136
|
+
class AutoCommitWhen:
|
|
137
|
+
r"""
|
|
138
|
+
The auto-commit mode for storing the offset on the server.
|
|
139
|
+
"""
|
|
140
|
+
class PollingMessages(AutoCommitWhen):
|
|
141
|
+
r"""
|
|
142
|
+
The offset is stored on the server when the messages are received.
|
|
143
|
+
"""
|
|
144
|
+
__match_args__ = ((),)
|
|
145
|
+
def __new__(cls) -> AutoCommitWhen.PollingMessages: ...
|
|
146
|
+
def __len__(self) -> builtins.int: ...
|
|
147
|
+
def __getitem__(self, key:builtins.int) -> typing.Any: ...
|
|
148
|
+
|
|
149
|
+
class ConsumingAllMessages(AutoCommitWhen):
|
|
150
|
+
r"""
|
|
151
|
+
The offset is stored on the server when all the messages are consumed.
|
|
152
|
+
"""
|
|
153
|
+
__match_args__ = ((),)
|
|
154
|
+
def __new__(cls) -> AutoCommitWhen.ConsumingAllMessages: ...
|
|
155
|
+
def __len__(self) -> builtins.int: ...
|
|
156
|
+
def __getitem__(self, key:builtins.int) -> typing.Any: ...
|
|
157
|
+
|
|
158
|
+
class ConsumingEachMessage(AutoCommitWhen):
|
|
159
|
+
r"""
|
|
160
|
+
The offset is stored on the server when consuming each message.
|
|
161
|
+
"""
|
|
162
|
+
__match_args__ = ((),)
|
|
163
|
+
def __new__(cls) -> AutoCommitWhen.ConsumingEachMessage: ...
|
|
164
|
+
def __len__(self) -> builtins.int: ...
|
|
165
|
+
def __getitem__(self, key:builtins.int) -> typing.Any: ...
|
|
166
|
+
|
|
167
|
+
class ConsumingEveryNthMessage(AutoCommitWhen):
|
|
168
|
+
r"""
|
|
169
|
+
The offset is stored on the server when consuming every Nth message.
|
|
170
|
+
"""
|
|
171
|
+
__match_args__ = ("_0",)
|
|
172
|
+
@property
|
|
173
|
+
def _0(self) -> builtins.int: ...
|
|
174
|
+
def __new__(cls, _0:builtins.int) -> AutoCommitWhen.ConsumingEveryNthMessage: ...
|
|
175
|
+
def __len__(self) -> builtins.int: ...
|
|
176
|
+
def __getitem__(self, key:builtins.int) -> typing.Any: ...
|
|
177
|
+
|
|
178
|
+
...
|
|
179
|
+
|
|
180
|
+
class IggyClient:
|
|
181
|
+
r"""
|
|
182
|
+
A Python class representing the Iggy client.
|
|
183
|
+
It wraps the RustIggyClient and provides asynchronous functionality
|
|
184
|
+
through the contained runtime.
|
|
185
|
+
"""
|
|
186
|
+
def __new__(cls, conn:typing.Optional[builtins.str]=None) -> IggyClient:
|
|
187
|
+
r"""
|
|
188
|
+
Constructs a new IggyClient.
|
|
189
|
+
|
|
190
|
+
This initializes a new runtime for asynchronous operations.
|
|
191
|
+
Future versions might utilize asyncio for more Pythonic async.
|
|
192
|
+
"""
|
|
193
|
+
def ping(self) -> collections.abc.Awaitable[None]:
|
|
194
|
+
r"""
|
|
195
|
+
Sends a ping request to the server to check connectivity.
|
|
196
|
+
|
|
197
|
+
Returns `Ok(())` if the server responds successfully, or a `PyRuntimeError`
|
|
198
|
+
if the connection fails.
|
|
199
|
+
"""
|
|
200
|
+
def login_user(self, username:builtins.str, password:builtins.str) -> collections.abc.Awaitable[None]:
|
|
201
|
+
r"""
|
|
202
|
+
Logs in the user with the given credentials.
|
|
203
|
+
|
|
204
|
+
Returns `Ok(())` on success, or a PyRuntimeError on failure.
|
|
205
|
+
"""
|
|
206
|
+
def connect(self) -> collections.abc.Awaitable[None]:
|
|
207
|
+
r"""
|
|
208
|
+
Connects the IggyClient to its service.
|
|
209
|
+
|
|
210
|
+
Returns Ok(()) on successful connection or a PyRuntimeError on failure.
|
|
211
|
+
"""
|
|
212
|
+
def create_stream(self, name:builtins.str, stream_id:typing.Optional[builtins.int]=None) -> collections.abc.Awaitable[None]:
|
|
213
|
+
r"""
|
|
214
|
+
Creates a new stream with the provided ID and name.
|
|
215
|
+
|
|
216
|
+
Returns Ok(()) on successful stream creation or a PyRuntimeError on failure.
|
|
217
|
+
"""
|
|
218
|
+
def get_stream(self, stream_id:builtins.str | builtins.int) -> collections.abc.Awaitable[typing.Optional[StreamDetails]]:
|
|
219
|
+
r"""
|
|
220
|
+
Gets stream by id.
|
|
221
|
+
|
|
222
|
+
Returns Option of stream details or a PyRuntimeError on failure.
|
|
223
|
+
"""
|
|
224
|
+
def create_topic(self, stream:builtins.str | builtins.int, name:builtins.str, partitions_count:builtins.int, compression_algorithm:typing.Optional[builtins.str]=None, topic_id:typing.Optional[builtins.int]=None, replication_factor:typing.Optional[builtins.int]=None) -> collections.abc.Awaitable[None]:
|
|
225
|
+
r"""
|
|
226
|
+
Creates a new topic with the given parameters.
|
|
227
|
+
|
|
228
|
+
Returns Ok(()) on successful topic creation or a PyRuntimeError on failure.
|
|
229
|
+
"""
|
|
230
|
+
def get_topic(self, stream_id:builtins.str | builtins.int, topic_id:builtins.str | builtins.int) -> collections.abc.Awaitable[typing.Optional[TopicDetails]]:
|
|
231
|
+
r"""
|
|
232
|
+
Gets topic by stream and id.
|
|
233
|
+
|
|
234
|
+
Returns Option of topic details or a PyRuntimeError on failure.
|
|
235
|
+
"""
|
|
236
|
+
def send_messages(self, stream:builtins.str | builtins.int, topic:builtins.str | builtins.int, partitioning:builtins.int, messages:list[SendMessage]) -> collections.abc.Awaitable[None]:
|
|
237
|
+
r"""
|
|
238
|
+
Sends a list of messages to the specified topic.
|
|
239
|
+
|
|
240
|
+
Returns Ok(()) on successful sending or a PyRuntimeError on failure.
|
|
241
|
+
"""
|
|
242
|
+
def poll_messages(self, stream:builtins.str | builtins.int, topic:builtins.str | builtins.int, partition_id:builtins.int, polling_strategy:PollingStrategy, count:builtins.int, auto_commit:builtins.bool) -> collections.abc.Awaitable[list[ReceiveMessage]]:
|
|
243
|
+
r"""
|
|
244
|
+
Polls for messages from the specified topic and partition.
|
|
245
|
+
|
|
246
|
+
Returns a list of received messages or a PyRuntimeError on failure.
|
|
247
|
+
"""
|
|
248
|
+
def consumer_group(self, name:builtins.str, stream:builtins.str, topic:builtins.str, partition_id:typing.Optional[builtins.int]=None, polling_strategy:typing.Optional[PollingStrategy]=None, batch_length:typing.Optional[builtins.int]=None, auto_commit:typing.Optional[AutoCommit]=None, create_consumer_group_if_not_exists:builtins.bool=True, auto_join_consumer_group:builtins.bool=True, poll_interval:typing.Optional[datetime.timedelta]=None, polling_retry_interval:typing.Optional[datetime.timedelta]=None, init_retries:typing.Optional[builtins.int]=None, init_retry_interval:typing.Optional[datetime.timedelta]=None, allow_replay:builtins.bool=False) -> IggyConsumer:
|
|
249
|
+
r"""
|
|
250
|
+
Creates a new consumer group consumer.
|
|
251
|
+
|
|
252
|
+
Returns the consumer or a PyRuntimeError on failure.
|
|
253
|
+
"""
|
|
254
|
+
|
|
255
|
+
class IggyConsumer:
|
|
256
|
+
r"""
|
|
257
|
+
A Python class representing the Iggy consumer.
|
|
258
|
+
It wraps the RustIggyConsumer and provides asynchronous functionality
|
|
259
|
+
through the contained runtime.
|
|
260
|
+
"""
|
|
261
|
+
def get_last_consumed_offset(self, partition_id:builtins.int) -> typing.Optional[builtins.int]:
|
|
262
|
+
r"""
|
|
263
|
+
Get the last consumed offset or `None` if no offset has been consumed yet.
|
|
264
|
+
"""
|
|
265
|
+
def get_last_stored_offset(self, partition_id:builtins.int) -> typing.Optional[builtins.int]:
|
|
266
|
+
r"""
|
|
267
|
+
Get the last stored offset or `None` if no offset has been stored yet.
|
|
268
|
+
"""
|
|
269
|
+
def name(self) -> builtins.str:
|
|
270
|
+
r"""
|
|
271
|
+
Gets the name of the consumer group.
|
|
272
|
+
"""
|
|
273
|
+
def partition_id(self) -> builtins.int:
|
|
274
|
+
r"""
|
|
275
|
+
Gets the current partition id or `0` if no messages have been polled yet.
|
|
276
|
+
"""
|
|
277
|
+
def stream(self) -> builtins.str | builtins.int:
|
|
278
|
+
r"""
|
|
279
|
+
Gets the name of the stream this consumer group is configured for.
|
|
280
|
+
"""
|
|
281
|
+
def topic(self) -> builtins.str | builtins.int:
|
|
282
|
+
r"""
|
|
283
|
+
Gets the name of the topic this consumer group is configured for.
|
|
284
|
+
"""
|
|
285
|
+
def store_offset(self, offset:builtins.int, partition_id:typing.Optional[builtins.int]) -> collections.abc.Awaitable[None]:
|
|
286
|
+
r"""
|
|
287
|
+
Stores the provided offset for the provided partition id or if none is specified
|
|
288
|
+
uses the current partition id for the consumer group.
|
|
289
|
+
|
|
290
|
+
Returns `Ok(())` if the server responds successfully, or a `PyRuntimeError`
|
|
291
|
+
if the operation fails.
|
|
292
|
+
"""
|
|
293
|
+
def delete_offset(self, partition_id:typing.Optional[builtins.int]) -> collections.abc.Awaitable[None]:
|
|
294
|
+
r"""
|
|
295
|
+
Deletes the offset for the provided partition id or if none is specified
|
|
296
|
+
uses the current partition id for the consumer group.
|
|
297
|
+
|
|
298
|
+
Returns `Ok(())` if the server responds successfully, or a `PyRuntimeError`
|
|
299
|
+
if the operation fails.
|
|
300
|
+
"""
|
|
301
|
+
def consume_messages(self, callback:collections.abc.Callable[[str]], shutdown_event:typing.Optional[asyncio.Event]) -> collections.abc.Awaitable[None]:
|
|
302
|
+
r"""
|
|
303
|
+
Consumes messages continuously using a callback function and an optional `asyncio.Event` for signaling shutdown.
|
|
304
|
+
|
|
305
|
+
Returns an awaitable that completes when shutdown is signaled or a PyRuntimeError on failure.
|
|
306
|
+
"""
|
|
307
|
+
|
|
308
|
+
class PollingStrategy:
|
|
309
|
+
class Offset(PollingStrategy):
|
|
310
|
+
__match_args__ = ("value",)
|
|
311
|
+
@property
|
|
312
|
+
def value(self) -> builtins.int: ...
|
|
313
|
+
def __new__(cls, value:builtins.int) -> PollingStrategy.Offset: ...
|
|
314
|
+
|
|
315
|
+
class Timestamp(PollingStrategy):
|
|
316
|
+
__match_args__ = ("value",)
|
|
317
|
+
@property
|
|
318
|
+
def value(self) -> builtins.int: ...
|
|
319
|
+
def __new__(cls, value:builtins.int) -> PollingStrategy.Timestamp: ...
|
|
320
|
+
|
|
321
|
+
class First(PollingStrategy):
|
|
322
|
+
__match_args__ = ((),)
|
|
323
|
+
def __new__(cls) -> PollingStrategy.First: ...
|
|
324
|
+
|
|
325
|
+
class Last(PollingStrategy):
|
|
326
|
+
__match_args__ = ((),)
|
|
327
|
+
def __new__(cls) -> PollingStrategy.Last: ...
|
|
328
|
+
|
|
329
|
+
class Next(PollingStrategy):
|
|
330
|
+
__match_args__ = ((),)
|
|
331
|
+
def __new__(cls) -> PollingStrategy.Next: ...
|
|
332
|
+
|
|
333
|
+
...
|
|
334
|
+
|
|
335
|
+
class ReceiveMessage:
|
|
336
|
+
r"""
|
|
337
|
+
A Python class representing a received message.
|
|
338
|
+
|
|
339
|
+
This class wraps a Rust message, allowing for access to its payload and offset from Python.
|
|
340
|
+
"""
|
|
341
|
+
def payload(self) -> typing.Any:
|
|
342
|
+
r"""
|
|
343
|
+
Retrieves the payload of the received message.
|
|
344
|
+
|
|
345
|
+
The payload is returned as a Python bytes object.
|
|
346
|
+
"""
|
|
347
|
+
def offset(self) -> builtins.int:
|
|
348
|
+
r"""
|
|
349
|
+
Retrieves the offset of the received message.
|
|
350
|
+
|
|
351
|
+
The offset represents the position of the message within its topic.
|
|
352
|
+
"""
|
|
353
|
+
def timestamp(self) -> builtins.int:
|
|
354
|
+
r"""
|
|
355
|
+
Retrieves the timestamp of the received message.
|
|
356
|
+
|
|
357
|
+
The timestamp represents the time of the message within its topic.
|
|
358
|
+
"""
|
|
359
|
+
def id(self) -> builtins.int:
|
|
360
|
+
r"""
|
|
361
|
+
Retrieves the id of the received message.
|
|
362
|
+
|
|
363
|
+
The id represents unique identifier of the message within its topic.
|
|
364
|
+
"""
|
|
365
|
+
def checksum(self) -> builtins.int:
|
|
366
|
+
r"""
|
|
367
|
+
Retrieves the checksum of the received message.
|
|
368
|
+
|
|
369
|
+
The checksum represents the integrity of the message within its topic.
|
|
370
|
+
"""
|
|
371
|
+
def length(self) -> builtins.int:
|
|
372
|
+
r"""
|
|
373
|
+
Retrieves the length of the received message.
|
|
374
|
+
|
|
375
|
+
The length represents the length of the payload.
|
|
376
|
+
"""
|
|
377
|
+
|
|
378
|
+
class SendMessage:
|
|
379
|
+
r"""
|
|
380
|
+
A Python class representing a message to be sent.
|
|
381
|
+
|
|
382
|
+
This class wraps a Rust message meant for sending, facilitating
|
|
383
|
+
the creation of such messages from Python and their subsequent use in Rust.
|
|
384
|
+
"""
|
|
385
|
+
def __new__(cls, data:builtins.str) -> SendMessage:
|
|
386
|
+
r"""
|
|
387
|
+
Constructs a new `SendMessage` instance from a string.
|
|
388
|
+
|
|
389
|
+
This method allows for the creation of a `SendMessage` instance
|
|
390
|
+
directly from Python using the provided string data.
|
|
391
|
+
"""
|
|
392
|
+
|
|
393
|
+
class StreamDetails:
|
|
394
|
+
@property
|
|
395
|
+
def id(self) -> builtins.int: ...
|
|
396
|
+
@property
|
|
397
|
+
def name(self) -> builtins.str: ...
|
|
398
|
+
@property
|
|
399
|
+
def messages_count(self) -> builtins.int: ...
|
|
400
|
+
@property
|
|
401
|
+
def topics_count(self) -> builtins.int: ...
|
|
402
|
+
|
|
403
|
+
class TopicDetails:
|
|
404
|
+
@property
|
|
405
|
+
def id(self) -> builtins.int: ...
|
|
406
|
+
@property
|
|
407
|
+
def name(self) -> builtins.str: ...
|
|
408
|
+
@property
|
|
409
|
+
def messages_count(self) -> builtins.int: ...
|
|
410
|
+
@property
|
|
411
|
+
def partitions_count(self) -> builtins.int: ...
|
|
412
|
+
|
|
Binary file
|
apache_iggy/py.typed
ADDED
|
File without changes
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: apache-iggy
|
|
3
|
+
Version: 0.5.0
|
|
4
|
+
Classifier: Development Status :: 4 - Beta
|
|
5
|
+
Classifier: Intended Audience :: Developers
|
|
6
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
7
|
+
Classifier: Operating System :: OS Independent
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Classifier: Programming Language :: Rust
|
|
16
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
17
|
+
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
18
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
19
|
+
Classifier: Topic :: System :: Networking
|
|
20
|
+
Classifier: Topic :: System :: Distributed Computing
|
|
21
|
+
Requires-Dist: pytest>=7.0,<9.0 ; extra == 'testing'
|
|
22
|
+
Requires-Dist: pytest-asyncio>=0.21.0,<1.0 ; extra == 'testing'
|
|
23
|
+
Requires-Dist: pytest-xdist>=3.0,<4.0 ; extra == 'testing'
|
|
24
|
+
Requires-Dist: pytest-timeout>=2.0,<3.0 ; extra == 'testing'
|
|
25
|
+
Requires-Dist: loguru>=0.7.0,<1.0 ; extra == 'examples'
|
|
26
|
+
Requires-Dist: testcontainers[docker]>=3.7.0,<5.0 ; extra == 'testing-docker'
|
|
27
|
+
Requires-Dist: maturin>=1.2,<2.0 ; extra == 'dev'
|
|
28
|
+
Requires-Dist: black>=23.0,<25.0 ; extra == 'dev'
|
|
29
|
+
Requires-Dist: isort>=5.12.0,<6.0 ; extra == 'dev'
|
|
30
|
+
Requires-Dist: mypy>=1.5.0,<2.0 ; extra == 'dev'
|
|
31
|
+
Requires-Dist: ruff>=0.1.0,<1.0 ; extra == 'dev'
|
|
32
|
+
Requires-Dist: pytest>=7.0,<9.0 ; extra == 'all'
|
|
33
|
+
Requires-Dist: pytest-asyncio>=0.21.0,<1.0 ; extra == 'all'
|
|
34
|
+
Requires-Dist: pytest-xdist>=3.0,<4.0 ; extra == 'all'
|
|
35
|
+
Requires-Dist: pytest-timeout>=2.0,<3.0 ; extra == 'all'
|
|
36
|
+
Requires-Dist: loguru>=0.7.0,<1.0 ; extra == 'all'
|
|
37
|
+
Requires-Dist: testcontainers[docker]>=3.7.0,<5.0 ; extra == 'all'
|
|
38
|
+
Requires-Dist: maturin>=1.2,<2.0 ; extra == 'all'
|
|
39
|
+
Requires-Dist: black>=23.0,<25.0 ; extra == 'all'
|
|
40
|
+
Requires-Dist: isort>=5.12.0,<6.0 ; extra == 'all'
|
|
41
|
+
Requires-Dist: mypy>=1.5.0,<2.0 ; extra == 'all'
|
|
42
|
+
Requires-Dist: ruff>=0.1.0,<1.0 ; extra == 'all'
|
|
43
|
+
Provides-Extra: testing
|
|
44
|
+
Provides-Extra: examples
|
|
45
|
+
Provides-Extra: testing-docker
|
|
46
|
+
Provides-Extra: dev
|
|
47
|
+
Provides-Extra: all
|
|
48
|
+
License-File: LICENSE
|
|
49
|
+
License-File: NOTICE
|
|
50
|
+
Summary: Apache Iggy is the persistent message streaming platform written in Rust, supporting QUIC, TCP and HTTP transport protocols, capable of processing millions of messages per second.
|
|
51
|
+
Keywords: streaming,messaging,pubsub,iggy,rust,performance
|
|
52
|
+
Author-email: Dario Lencina Talarico <darioalessandrolencina@gmail.com>, Albin Skott <albin@mattsson.io>
|
|
53
|
+
Requires-Python: >=3.7
|
|
54
|
+
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
|
55
|
+
Project-URL: Homepage, https://iggy.apache.org
|
|
56
|
+
Project-URL: Documentation, https://iggy.apache.org/docs/
|
|
57
|
+
Project-URL: Repository, https://github.com/apache/iggy
|
|
58
|
+
Project-URL: Bug Tracker, https://github.com/apache/iggy/issues
|
|
59
|
+
Project-URL: Discord, https://discord.gg/C5Sux5NcRa
|
|
60
|
+
|
|
61
|
+
# apache-iggy
|
|
62
|
+
|
|
63
|
+
[](https://discord.gg/C5Sux5NcRa)
|
|
64
|
+
|
|
65
|
+
Apache Iggy is the persistent message streaming platform written in Rust, supporting QUIC, TCP and HTTP transport protocols, capable of processing millions of messages per second.
|
|
66
|
+
|
|
67
|
+
## Installation
|
|
68
|
+
|
|
69
|
+
### Basic Installation
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
pip install apache-iggy
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
### Development Installation
|
|
76
|
+
|
|
77
|
+
For testing:
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
pip install -e ".[testing]"
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
For development with all tools:
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
pip install -e ".[dev,testing,examples]"
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
### Supported Python Versions
|
|
90
|
+
|
|
91
|
+
- Python 3.7+
|
|
92
|
+
|
|
93
|
+
## Usage and Examples
|
|
94
|
+
|
|
95
|
+
All examples rely on a running iggy server. To start the server, execute:
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
# Using latest version
|
|
99
|
+
docker run --rm -p 8080:8080 -p 3000:3000 -p 8090:8090 apache/iggy:latest
|
|
100
|
+
|
|
101
|
+
# Or build from source (recommended for development)
|
|
102
|
+
cd ../../ && cargo run --bin iggy-server
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
## Testing
|
|
106
|
+
|
|
107
|
+
### Quick Test
|
|
108
|
+
|
|
109
|
+
```bash
|
|
110
|
+
# Run tests with Docker (recommended)
|
|
111
|
+
docker compose -f docker-compose.test.yml up --build
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
### Local Development
|
|
115
|
+
|
|
116
|
+
```bash
|
|
117
|
+
# Install dependencies and build
|
|
118
|
+
pip install -e ".[testing]"
|
|
119
|
+
maturin develop
|
|
120
|
+
|
|
121
|
+
# Run tests (requires iggy-server running)
|
|
122
|
+
pytest tests/ -v
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
## Examples
|
|
126
|
+
|
|
127
|
+
Refer to the [python_examples/](https://github.com/apache/iggy/tree/master/foreign/python/python_examples) directory for usage examples.
|
|
128
|
+
|
|
129
|
+
## Contributing
|
|
130
|
+
|
|
131
|
+
See [CONTRIBUTING.md](https://github.com/apache/iggy/blob/master/foreign/python/CONTRIBUTING.md) for development setup and guidelines.
|
|
132
|
+
|
|
133
|
+
## License
|
|
134
|
+
|
|
135
|
+
Licensed under the Apache License 2.0. See [LICENSE](https://github.com/apache/iggy/blob/master/foreign/python/LICENSE) for details.
|
|
136
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
apache_iggy-0.5.0.dist-info/METADATA,sha256=nrR8E691awg3X5Dl9pHWPfRLlLpqL0fOZ0o4vV-lVk0,4700
|
|
2
|
+
apache_iggy-0.5.0.dist-info/WHEEL,sha256=qPmdr8fB5VyzHuEe_BZYkwViBC6_YLDjr40IyuSix7k,104
|
|
3
|
+
apache_iggy-0.5.0.dist-info/licenses/LICENSE,sha256=xazLvYVG6Uw0rtJK_miaYXYn0Y7tWmxIJ35I21fCOFE,11356
|
|
4
|
+
apache_iggy-0.5.0.dist-info/licenses/NOTICE,sha256=yv2Z8L4fYMDCuQkvr1biXnF1-gEaY7VN3_ADtE2I2CY,579
|
|
5
|
+
apache_iggy/__init__.py,sha256=nOsR-PZQCmNWdJvuzBIrJVSWmW2DhZycMpukC7uOOyE,127
|
|
6
|
+
apache_iggy/__init__.pyi,sha256=LpOnOyFjfkvOfuKhD-sdBXp6IgOFmjL9k7XVCcqeyWY,16873
|
|
7
|
+
apache_iggy/apache_iggy.cpython-312-darwin.so,sha256=z-zxxK81DbUI6OhgYx6PRuV6JKFRokZV-ibffUzSqIg,9580560
|
|
8
|
+
apache_iggy/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
|
+
apache_iggy-0.5.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "{}"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright {yyyy} {name of copyright owner}
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
Copyright 2023-2025 Piotr Gankiewicz, LaserData, Inc.
|
|
2
|
+
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License.
|
|
5
|
+
You may obtain a copy of the License at
|
|
6
|
+
|
|
7
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
|
|
9
|
+
Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
See the License for the specific language governing permissions and
|
|
13
|
+
limitations under the License.
|