beam-network-sdk 0.7.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.
Potentially problematic release.
This version of beam-network-sdk might be problematic. Click here for more details.
- beam_network_sdk/__init__.py +99 -0
- beam_network_sdk/_client.py +2113 -0
- beam_network_sdk/_diagnostics.py +50 -0
- beam_network_sdk/_multipart_limits.py +27 -0
- beam_network_sdk/_nats_control.py +768 -0
- beam_network_sdk/_retry.py +67 -0
- beam_network_sdk/_validation.py +13 -0
- beam_network_sdk/cli.py +2038 -0
- beam_network_sdk/exceptions.py +64 -0
- beam_network_sdk/huggingface.py +426 -0
- beam_network_sdk/models.py +561 -0
- beam_network_sdk/provider_signing.py +670 -0
- beam_network_sdk-0.7.3.dist-info/METADATA +255 -0
- beam_network_sdk-0.7.3.dist-info/RECORD +16 -0
- beam_network_sdk-0.7.3.dist-info/WHEEL +4 -0
- beam_network_sdk-0.7.3.dist-info/entry_points.txt +2 -0
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"""Python client for BEAM transfer creation and management."""
|
|
2
|
+
|
|
3
|
+
from beam_network_sdk._client import BEAM_DEV_URL, BEAM_PROD_URL, BeamSDK
|
|
4
|
+
from beam_network_sdk._nats_control import TransferTerminalSignalWaiter
|
|
5
|
+
from beam_network_sdk.exceptions import (
|
|
6
|
+
BeamAPIError,
|
|
7
|
+
BeamAuthError,
|
|
8
|
+
BeamError,
|
|
9
|
+
BeamRouteRecoveryPendingError,
|
|
10
|
+
BeamTimeoutError,
|
|
11
|
+
)
|
|
12
|
+
from beam_network_sdk.models import (
|
|
13
|
+
AttachSignedUrlsResponse,
|
|
14
|
+
AzureProviderDestination,
|
|
15
|
+
AzureProviderSource,
|
|
16
|
+
CallbackConfig,
|
|
17
|
+
ChunkDestinationSigningTarget,
|
|
18
|
+
ChunkSigningPlanItem,
|
|
19
|
+
CompactTransferPlanDescriptor,
|
|
20
|
+
CompactTransferPlanDestination,
|
|
21
|
+
CompactTransferPlanFormulas,
|
|
22
|
+
CompactTransferPlanSource,
|
|
23
|
+
DestConfig,
|
|
24
|
+
DestinationStatusInfo,
|
|
25
|
+
DistributeResponse,
|
|
26
|
+
GCSProviderDestination,
|
|
27
|
+
GCSProviderSource,
|
|
28
|
+
HippiusProviderDestination,
|
|
29
|
+
HippiusProviderSource,
|
|
30
|
+
MultipartGroupManifest,
|
|
31
|
+
PreparedDestination,
|
|
32
|
+
PreparedHttpSource,
|
|
33
|
+
ProviderDestinationConfig,
|
|
34
|
+
ProviderSourceConfig,
|
|
35
|
+
R2ProviderDestination,
|
|
36
|
+
R2ProviderSource,
|
|
37
|
+
S3ProviderDestination,
|
|
38
|
+
S3ProviderSource,
|
|
39
|
+
SignedChunkRoute,
|
|
40
|
+
SourceConfig,
|
|
41
|
+
SourceStatusInfo,
|
|
42
|
+
TransferCancelResponse,
|
|
43
|
+
TransferCreateRequest,
|
|
44
|
+
TransferCreateResponse,
|
|
45
|
+
TransferPlanResponse,
|
|
46
|
+
TransferPrepareResponse,
|
|
47
|
+
TransferStatusInfo,
|
|
48
|
+
TransferTerminalEvent,
|
|
49
|
+
)
|
|
50
|
+
|
|
51
|
+
__version__ = "0.7.3"
|
|
52
|
+
|
|
53
|
+
__all__ = [
|
|
54
|
+
"BeamSDK",
|
|
55
|
+
"BEAM_DEV_URL",
|
|
56
|
+
"BEAM_PROD_URL",
|
|
57
|
+
"SourceConfig",
|
|
58
|
+
"DestConfig",
|
|
59
|
+
"S3ProviderSource",
|
|
60
|
+
"S3ProviderDestination",
|
|
61
|
+
"R2ProviderSource",
|
|
62
|
+
"R2ProviderDestination",
|
|
63
|
+
"GCSProviderSource",
|
|
64
|
+
"GCSProviderDestination",
|
|
65
|
+
"AzureProviderSource",
|
|
66
|
+
"AzureProviderDestination",
|
|
67
|
+
"HippiusProviderSource",
|
|
68
|
+
"HippiusProviderDestination",
|
|
69
|
+
"MultipartGroupManifest",
|
|
70
|
+
"ProviderSourceConfig",
|
|
71
|
+
"ProviderDestinationConfig",
|
|
72
|
+
"PreparedHttpSource",
|
|
73
|
+
"PreparedDestination",
|
|
74
|
+
"ChunkDestinationSigningTarget",
|
|
75
|
+
"ChunkSigningPlanItem",
|
|
76
|
+
"CompactTransferPlanDescriptor",
|
|
77
|
+
"CompactTransferPlanDestination",
|
|
78
|
+
"CompactTransferPlanFormulas",
|
|
79
|
+
"CompactTransferPlanSource",
|
|
80
|
+
"SignedChunkRoute",
|
|
81
|
+
"CallbackConfig",
|
|
82
|
+
"TransferCreateRequest",
|
|
83
|
+
"TransferCreateResponse",
|
|
84
|
+
"TransferPlanResponse",
|
|
85
|
+
"TransferPrepareResponse",
|
|
86
|
+
"TransferCancelResponse",
|
|
87
|
+
"AttachSignedUrlsResponse",
|
|
88
|
+
"DestinationStatusInfo",
|
|
89
|
+
"SourceStatusInfo",
|
|
90
|
+
"TransferStatusInfo",
|
|
91
|
+
"TransferTerminalEvent",
|
|
92
|
+
"TransferTerminalSignalWaiter",
|
|
93
|
+
"DistributeResponse",
|
|
94
|
+
"BeamError",
|
|
95
|
+
"BeamAuthError",
|
|
96
|
+
"BeamAPIError",
|
|
97
|
+
"BeamRouteRecoveryPendingError",
|
|
98
|
+
"BeamTimeoutError",
|
|
99
|
+
]
|