impulse-compute 0.1.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.
@@ -0,0 +1,73 @@
1
+ """The ImpulseCompute SDK: sandboxes, commands, files and previews over the Compute API.
2
+
3
+ The API's own types, as the generated client uses them, are in ``impulse_compute.types`` (the API's sandbox is
4
+ ``SandboxInfo`` here, beside the helpers' ``Sandbox``).
5
+ """
6
+
7
+ from ._client_async import AsyncCommandHandle, AsyncCommands, AsyncCompute, AsyncFiles, AsyncOperations, AsyncPorts
8
+ from ._client_async import AsyncSandbox, AsyncSandboxes, AsyncTemplates
9
+ from ._client_sync import CommandHandle, Commands, Compute, Files, Operations, Ports, Sandbox, Sandboxes, Templates
10
+ from ._core import DEFAULT_BASE_URL, Body, Duration
11
+ from ._errors import (
12
+ CommandExitError,
13
+ ComputeConnectionError,
14
+ ComputeError,
15
+ DisconnectedError,
16
+ ImpulseComputeError,
17
+ OperationFailedError,
18
+ OperationTimeoutError,
19
+ )
20
+ from . import types
21
+ from ._generated import Api, AsyncApi
22
+ from ._generated import Sandbox as SandboxInfo
23
+ from ._models import PREVIEW_TOKEN_HEADER, CommandEvent, CommandResult, FileInfo, Listing, Preview
24
+ from ._sse import EventParser, ServerEvent
25
+ from ._transport_async import AsyncTransport
26
+ from ._transport_sync import SyncTransport
27
+ from ._version import __version__
28
+
29
+ __all__ = [
30
+ "Api",
31
+ "AsyncApi",
32
+ "AsyncCommandHandle",
33
+ "AsyncCommands",
34
+ "AsyncCompute",
35
+ "AsyncFiles",
36
+ "AsyncOperations",
37
+ "AsyncPorts",
38
+ "AsyncSandbox",
39
+ "AsyncSandboxes",
40
+ "AsyncTemplates",
41
+ "AsyncTransport",
42
+ "Body",
43
+ "CommandEvent",
44
+ "CommandExitError",
45
+ "CommandHandle",
46
+ "CommandResult",
47
+ "Commands",
48
+ "Compute",
49
+ "ComputeConnectionError",
50
+ "ComputeError",
51
+ "DEFAULT_BASE_URL",
52
+ "DisconnectedError",
53
+ "Duration",
54
+ "EventParser",
55
+ "FileInfo",
56
+ "Files",
57
+ "ImpulseComputeError",
58
+ "Listing",
59
+ "OperationFailedError",
60
+ "OperationTimeoutError",
61
+ "Operations",
62
+ "PREVIEW_TOKEN_HEADER",
63
+ "Ports",
64
+ "Preview",
65
+ "Sandbox",
66
+ "SandboxInfo",
67
+ "Sandboxes",
68
+ "ServerEvent",
69
+ "SyncTransport",
70
+ "Templates",
71
+ "__version__",
72
+ "types",
73
+ ]