kurrentdbclient 0.3__py3-none-any.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.
- kurrentdbclient/__init__.py +49 -0
- kurrentdbclient/asyncio_client.py +1662 -0
- kurrentdbclient/client.py +1914 -0
- kurrentdbclient/common.py +535 -0
- kurrentdbclient/connection.py +107 -0
- kurrentdbclient/connection_spec.py +371 -0
- kurrentdbclient/events.py +141 -0
- kurrentdbclient/exceptions.py +239 -0
- kurrentdbclient/gossip.py +104 -0
- kurrentdbclient/instrumentation/__init__.py +0 -0
- kurrentdbclient/instrumentation/opentelemetry/__init__.py +185 -0
- kurrentdbclient/instrumentation/opentelemetry/attributes.py +20 -0
- kurrentdbclient/instrumentation/opentelemetry/grpc.py +165 -0
- kurrentdbclient/instrumentation/opentelemetry/package.py +2 -0
- kurrentdbclient/instrumentation/opentelemetry/spanners.py +1097 -0
- kurrentdbclient/instrumentation/opentelemetry/utils.py +199 -0
- kurrentdbclient/instrumentation/opentelemetry/version.py +2 -0
- kurrentdbclient/persistent.py +1982 -0
- kurrentdbclient/projections.py +735 -0
- kurrentdbclient/protos/Grpc/cluster_pb2.py +92 -0
- kurrentdbclient/protos/Grpc/cluster_pb2.pyi +765 -0
- kurrentdbclient/protos/Grpc/cluster_pb2_grpc.py +514 -0
- kurrentdbclient/protos/Grpc/code_pb2.py +37 -0
- kurrentdbclient/protos/Grpc/code_pb2.pyi +357 -0
- kurrentdbclient/protos/Grpc/code_pb2_grpc.py +24 -0
- kurrentdbclient/protos/Grpc/gossip_pb2.py +46 -0
- kurrentdbclient/protos/Grpc/gossip_pb2.pyi +126 -0
- kurrentdbclient/protos/Grpc/gossip_pb2_grpc.py +98 -0
- kurrentdbclient/protos/Grpc/persistent_pb2.py +140 -0
- kurrentdbclient/protos/Grpc/persistent_pb2.pyi +1135 -0
- kurrentdbclient/protos/Grpc/persistent_pb2_grpc.py +399 -0
- kurrentdbclient/protos/Grpc/projections_pb2.py +99 -0
- kurrentdbclient/protos/Grpc/projections_pb2.pyi +558 -0
- kurrentdbclient/protos/Grpc/projections_pb2_grpc.py +485 -0
- kurrentdbclient/protos/Grpc/shared_pb2.py +62 -0
- kurrentdbclient/protos/Grpc/shared_pb2.pyi +218 -0
- kurrentdbclient/protos/Grpc/shared_pb2_grpc.py +24 -0
- kurrentdbclient/protos/Grpc/status_pb2.py +39 -0
- kurrentdbclient/protos/Grpc/status_pb2.pyi +67 -0
- kurrentdbclient/protos/Grpc/status_pb2_grpc.py +24 -0
- kurrentdbclient/protos/Grpc/streams_pb2.py +132 -0
- kurrentdbclient/protos/Grpc/streams_pb2.pyi +1038 -0
- kurrentdbclient/protos/Grpc/streams_pb2_grpc.py +269 -0
- kurrentdbclient/py.typed +0 -0
- kurrentdbclient/streams.py +1400 -0
- kurrentdbclient-0.3.dist-info/LICENSE +29 -0
- kurrentdbclient-0.3.dist-info/METADATA +3769 -0
- kurrentdbclient-0.3.dist-info/RECORD +49 -0
- kurrentdbclient-0.3.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
from kurrentdbclient.asyncio_client import AsyncioKurrentDBClient, AsyncKurrentDBClient
|
|
3
|
+
from kurrentdbclient.client import (
|
|
4
|
+
DEFAULT_EXCLUDE_FILTER,
|
|
5
|
+
KDB_PERSISTENT_CONFIG_EVENTS_REGEX,
|
|
6
|
+
KDB_SYSTEM_EVENTS_REGEX,
|
|
7
|
+
KurrentDBClient,
|
|
8
|
+
)
|
|
9
|
+
from kurrentdbclient.events import (
|
|
10
|
+
CaughtUp,
|
|
11
|
+
Checkpoint,
|
|
12
|
+
ContentType,
|
|
13
|
+
NewEvent,
|
|
14
|
+
RecordedEvent,
|
|
15
|
+
)
|
|
16
|
+
from kurrentdbclient.persistent import (
|
|
17
|
+
AsyncPersistentSubscription,
|
|
18
|
+
PersistentSubscription,
|
|
19
|
+
)
|
|
20
|
+
from kurrentdbclient.streams import (
|
|
21
|
+
AsyncCatchupSubscription,
|
|
22
|
+
AsyncReadResponse,
|
|
23
|
+
CatchupSubscription,
|
|
24
|
+
ReadResponse,
|
|
25
|
+
StreamState,
|
|
26
|
+
)
|
|
27
|
+
|
|
28
|
+
__version__ = "1.1"
|
|
29
|
+
|
|
30
|
+
__all__ = [
|
|
31
|
+
"DEFAULT_EXCLUDE_FILTER",
|
|
32
|
+
"KDB_PERSISTENT_CONFIG_EVENTS_REGEX",
|
|
33
|
+
"KDB_SYSTEM_EVENTS_REGEX",
|
|
34
|
+
"AsyncioKurrentDBClient",
|
|
35
|
+
"AsyncCatchupSubscription",
|
|
36
|
+
"AsyncKurrentDBClient",
|
|
37
|
+
"AsyncPersistentSubscription",
|
|
38
|
+
"AsyncReadResponse",
|
|
39
|
+
"CatchupSubscription",
|
|
40
|
+
"Checkpoint",
|
|
41
|
+
"CaughtUp",
|
|
42
|
+
"ContentType",
|
|
43
|
+
"KurrentDBClient",
|
|
44
|
+
"NewEvent",
|
|
45
|
+
"RecordedEvent",
|
|
46
|
+
"ReadResponse",
|
|
47
|
+
"StreamState",
|
|
48
|
+
"PersistentSubscription",
|
|
49
|
+
]
|