capture-runtime-client 0.4.0__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.
- capture_runtime_client/__init__.py +41 -0
- capture_runtime_client/client.py +852 -0
- capture_runtime_client/codec.py +124 -0
- capture_runtime_client/contracts.py +272 -0
- capture_runtime_client/errors.py +170 -0
- capture_runtime_client/private/__init__.py +1 -0
- capture_runtime_client/private/assets/__init__.py +1 -0
- capture_runtime_client/private/assets/contract-set.json +1 -0
- capture_runtime_client/private/assets/contract-set.sha256 +1 -0
- capture_runtime_client/private/generated_models.py +627 -0
- capture_runtime_client/private/schemas/__init__.py +1 -0
- capture_runtime_client/private/schemas/capture-block.schema.json +151 -0
- capture_runtime_client/private/schemas/capture-document.schema.json +356 -0
- capture_runtime_client/private/schemas/capture-engine.schema.json +40 -0
- capture_runtime_client/private/schemas/capture-event-v2.schema.json +301 -0
- capture_runtime_client/private/schemas/capture-failure-v2.schema.json +40 -0
- capture_runtime_client/private/schemas/capture-operation-v2.schema.json +207 -0
- capture_runtime_client/private/schemas/capture-source.schema.json +34 -0
- capture_runtime_client/private/schemas/error-body-v2.schema.json +34 -0
- capture_runtime_client/private/schemas/error-envelope-v2.schema.json +49 -0
- capture_runtime_client/private/schemas/finalize-ingestion-v2.schema.json +27 -0
- capture_runtime_client/private/schemas/ingestion-v2.schema.json +127 -0
- capture_runtime_client/private/schemas/open-ingestion-v2.schema.json +79 -0
- capture_runtime_client/private/schemas/page-locator.schema.json +49 -0
- capture_runtime_client/private/schemas/partial-capture-v2.schema.json +267 -0
- capture_runtime_client/private/schemas/raw-capture-segment.schema.json +125 -0
- capture_runtime_client/private/schemas/raw-capture.schema.json +260 -0
- capture_runtime_client/private/schemas/report-structuring-failure-v2.schema.json +28 -0
- capture_runtime_client/private/schemas/runtime-artifact-descriptor-v2.schema.json +34 -0
- capture_runtime_client/private/schemas/runtime-installation-v2.schema.json +126 -0
- capture_runtime_client/private/schemas/runtime-installations-v2.schema.json +143 -0
- capture_runtime_client/private/schemas/runtime-model-installation-v2.schema.json +121 -0
- capture_runtime_client/private/schemas/runtime-model-installations-v2.schema.json +138 -0
- capture_runtime_client/private/schemas/runtime-model-option-v2.schema.json +80 -0
- capture_runtime_client/private/schemas/runtime-model-options-v2.schema.json +103 -0
- capture_runtime_client/private/schemas/runtime-ready.schema.json +88 -0
- capture_runtime_client/private/schemas/runtime-requirement-v2.schema.json +120 -0
- capture_runtime_client/private/schemas/runtime-requirements-v2.schema.json +137 -0
- capture_runtime_client/private/schemas/runtime-streaming-capabilities-v2.schema.json +64 -0
- capture_runtime_client/private/schemas/start-capture-v2.schema.json +59 -0
- capture_runtime_client/private/schemas/start-runtime-installation-v2.schema.json +26 -0
- capture_runtime_client/private/schemas/start-runtime-model-installation-v2.schema.json +21 -0
- capture_runtime_client/private/schemas/time-locator.schema.json +27 -0
- capture_runtime_client/py.typed +1 -0
- capture_runtime_client/transport.py +158 -0
- capture_runtime_client-0.4.0.dist-info/METADATA +18 -0
- capture_runtime_client-0.4.0.dist-info/RECORD +48 -0
- capture_runtime_client-0.4.0.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"""Public Capture Runtime client SDK."""
|
|
2
|
+
|
|
3
|
+
from .client import CaptureRuntimeClient, CaptureStreamingResult, CaptureUpload, RuntimeDiscovery
|
|
4
|
+
from .contracts import * # noqa: F401,F403
|
|
5
|
+
from .contracts import __all__ as _contract_names
|
|
6
|
+
from .errors import (
|
|
7
|
+
CaptureAuthenticationError,
|
|
8
|
+
CaptureCompatibilityError,
|
|
9
|
+
CaptureProtocolError,
|
|
10
|
+
CaptureRemoteError,
|
|
11
|
+
CaptureRuntimeCompatibilityError,
|
|
12
|
+
CaptureRuntimeError,
|
|
13
|
+
CaptureRuntimeProtocolError,
|
|
14
|
+
CaptureTransportError,
|
|
15
|
+
)
|
|
16
|
+
from .transport import (
|
|
17
|
+
HttpRuntimeTransport,
|
|
18
|
+
InMemoryRoute,
|
|
19
|
+
InMemoryRuntimeTransport,
|
|
20
|
+
validate_loopback_base_url,
|
|
21
|
+
)
|
|
22
|
+
|
|
23
|
+
__all__ = [
|
|
24
|
+
"CaptureRuntimeClient",
|
|
25
|
+
"CaptureAuthenticationError",
|
|
26
|
+
"CaptureCompatibilityError",
|
|
27
|
+
"CaptureProtocolError",
|
|
28
|
+
"CaptureRemoteError",
|
|
29
|
+
"CaptureTransportError",
|
|
30
|
+
"CaptureRuntimeCompatibilityError",
|
|
31
|
+
"CaptureRuntimeError",
|
|
32
|
+
"CaptureRuntimeProtocolError",
|
|
33
|
+
"CaptureStreamingResult",
|
|
34
|
+
"CaptureUpload",
|
|
35
|
+
"HttpRuntimeTransport",
|
|
36
|
+
"InMemoryRoute",
|
|
37
|
+
"InMemoryRuntimeTransport",
|
|
38
|
+
"RuntimeDiscovery",
|
|
39
|
+
"validate_loopback_base_url",
|
|
40
|
+
*_contract_names,
|
|
41
|
+
]
|