runtime-sdk 0.4.1__tar.gz → 0.4.2__tar.gz
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.
- {runtime_sdk-0.4.1 → runtime_sdk-0.4.2}/PKG-INFO +1 -1
- {runtime_sdk-0.4.1 → runtime_sdk-0.4.2}/pyproject.toml +1 -1
- runtime_sdk-0.4.2/scripts/runtime_sdk/__init__.py +18 -0
- {runtime_sdk-0.4.1 → runtime_sdk-0.4.2}/scripts/runtime_sdk/cli.py +2 -0
- {runtime_sdk-0.4.1 → runtime_sdk-0.4.2}/scripts/runtime_sdk.egg-info/PKG-INFO +1 -1
- runtime_sdk-0.4.1/scripts/runtime_sdk/__init__.py +0 -4
- {runtime_sdk-0.4.1 → runtime_sdk-0.4.2}/README.md +0 -0
- {runtime_sdk-0.4.1 → runtime_sdk-0.4.2}/scripts/runtime_sdk/client.py +0 -0
- {runtime_sdk-0.4.1 → runtime_sdk-0.4.2}/scripts/runtime_sdk/config.py +0 -0
- {runtime_sdk-0.4.1 → runtime_sdk-0.4.2}/scripts/runtime_sdk.egg-info/SOURCES.txt +0 -0
- {runtime_sdk-0.4.1 → runtime_sdk-0.4.2}/scripts/runtime_sdk.egg-info/dependency_links.txt +0 -0
- {runtime_sdk-0.4.1 → runtime_sdk-0.4.2}/scripts/runtime_sdk.egg-info/entry_points.txt +0 -0
- {runtime_sdk-0.4.1 → runtime_sdk-0.4.2}/scripts/runtime_sdk.egg-info/requires.txt +0 -0
- {runtime_sdk-0.4.1 → runtime_sdk-0.4.2}/scripts/runtime_sdk.egg-info/top_level.txt +0 -0
- {runtime_sdk-0.4.1 → runtime_sdk-0.4.2}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: runtime-sdk
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.2
|
|
4
4
|
Summary: Runtime Python SDK and CLI
|
|
5
5
|
Project-URL: Repository, https://github.com/The-Money-Company-Limited/runtimevm
|
|
6
6
|
Project-URL: Issues, https://github.com/The-Money-Company-Limited/runtimevm/issues
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
from importlib.metadata import PackageNotFoundError, version
|
|
2
|
+
|
|
3
|
+
from runtime_sdk.client import RuntimeAPIError, RuntimeClient
|
|
4
|
+
from runtime_sdk.config import PendingSignup, RuntimeConfig, RuntimeConfigError
|
|
5
|
+
|
|
6
|
+
try:
|
|
7
|
+
__version__ = version("runtime-sdk")
|
|
8
|
+
except PackageNotFoundError: # pragma: no cover - local source tree fallback
|
|
9
|
+
__version__ = "0.0.0"
|
|
10
|
+
|
|
11
|
+
__all__ = [
|
|
12
|
+
"PendingSignup",
|
|
13
|
+
"RuntimeAPIError",
|
|
14
|
+
"RuntimeClient",
|
|
15
|
+
"RuntimeConfig",
|
|
16
|
+
"RuntimeConfigError",
|
|
17
|
+
"__version__",
|
|
18
|
+
]
|
|
@@ -16,6 +16,7 @@ from urllib.parse import urljoin, urlparse
|
|
|
16
16
|
from websockets.exceptions import ConnectionClosed
|
|
17
17
|
from websockets.sync.client import connect as websocket_connect
|
|
18
18
|
|
|
19
|
+
from runtime_sdk import __version__
|
|
19
20
|
from runtime_sdk.client import DEFAULT_WARMUP_TIMEOUT, RuntimeAPIError, RuntimeClient
|
|
20
21
|
from runtime_sdk.config import (
|
|
21
22
|
DEFAULT_BASE_URL,
|
|
@@ -123,6 +124,7 @@ class _UI:
|
|
|
123
124
|
def build_parser() -> argparse.ArgumentParser:
|
|
124
125
|
parser = argparse.ArgumentParser(prog="runtime")
|
|
125
126
|
parser.add_argument("--base-url", help="Runtime API base URL")
|
|
127
|
+
parser.add_argument("--version", action="version", version=f"runtime-sdk {__version__}")
|
|
126
128
|
|
|
127
129
|
# Subcommand is optional: bare `runtime` defaults to `create`.
|
|
128
130
|
subparsers = parser.add_subparsers(dest="command", required=False)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: runtime-sdk
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.2
|
|
4
4
|
Summary: Runtime Python SDK and CLI
|
|
5
5
|
Project-URL: Repository, https://github.com/The-Money-Company-Limited/runtimevm
|
|
6
6
|
Project-URL: Issues, https://github.com/The-Money-Company-Limited/runtimevm/issues
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|