prized 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.
prized/__init__.py ADDED
@@ -0,0 +1,35 @@
1
+ """Prized Sandboxes (beta): microVMs your code creates, runs commands in,
2
+ pauses, forks and deletes.
3
+
4
+ from prized import Sandbox
5
+
6
+ with Sandbox.create() as sb:
7
+ print(sb.exec("python3 --version").stdout)
8
+ """
9
+
10
+ from ._async_sandbox import AsyncCommandHandle, AsyncFiles, AsyncSandbox
11
+ from ._errors import CommandTimeoutError, PrizedError
12
+ from ._models import ExecResult, FileInfo, Resources, SandboxData, Template, WriteInfo
13
+ from ._runs import CommandLogs, CommandStatus
14
+ from ._sandbox import CommandHandle, Files, Sandbox
15
+ from ._version import __version__
16
+
17
+ __all__ = [
18
+ "AsyncCommandHandle",
19
+ "AsyncFiles",
20
+ "AsyncSandbox",
21
+ "CommandHandle",
22
+ "CommandLogs",
23
+ "CommandStatus",
24
+ "CommandTimeoutError",
25
+ "ExecResult",
26
+ "FileInfo",
27
+ "Files",
28
+ "PrizedError",
29
+ "Resources",
30
+ "Sandbox",
31
+ "SandboxData",
32
+ "Template",
33
+ "WriteInfo",
34
+ "__version__",
35
+ ]