hypercli-sdk 0.4.4__tar.gz → 0.4.6__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.
- {hypercli_sdk-0.4.4 → hypercli_sdk-0.4.6}/PKG-INFO +2 -2
- {hypercli_sdk-0.4.4 → hypercli_sdk-0.4.6}/hypercli/config.py +3 -3
- {hypercli_sdk-0.4.4 → hypercli_sdk-0.4.6}/pyproject.toml +2 -2
- {hypercli_sdk-0.4.4 → hypercli_sdk-0.4.6}/.gitignore +0 -0
- {hypercli_sdk-0.4.4 → hypercli_sdk-0.4.6}/README.md +0 -0
- {hypercli_sdk-0.4.4 → hypercli_sdk-0.4.6}/hypercli/__init__.py +0 -0
- {hypercli_sdk-0.4.4 → hypercli_sdk-0.4.6}/hypercli/billing.py +0 -0
- {hypercli_sdk-0.4.4 → hypercli_sdk-0.4.6}/hypercli/client.py +0 -0
- {hypercli_sdk-0.4.4 → hypercli_sdk-0.4.6}/hypercli/files.py +0 -0
- {hypercli_sdk-0.4.4 → hypercli_sdk-0.4.6}/hypercli/http.py +0 -0
- {hypercli_sdk-0.4.4 → hypercli_sdk-0.4.6}/hypercli/instances.py +0 -0
- {hypercli_sdk-0.4.4 → hypercli_sdk-0.4.6}/hypercli/job/__init__.py +0 -0
- {hypercli_sdk-0.4.4 → hypercli_sdk-0.4.6}/hypercli/job/base.py +0 -0
- {hypercli_sdk-0.4.4 → hypercli_sdk-0.4.6}/hypercli/job/comfyui.py +0 -0
- {hypercli_sdk-0.4.4 → hypercli_sdk-0.4.6}/hypercli/jobs.py +0 -0
- {hypercli_sdk-0.4.4 → hypercli_sdk-0.4.6}/hypercli/logs.py +0 -0
- {hypercli_sdk-0.4.4 → hypercli_sdk-0.4.6}/hypercli/renders.py +0 -0
- {hypercli_sdk-0.4.4 → hypercli_sdk-0.4.6}/hypercli/user.py +0 -0
- {hypercli_sdk-0.4.4 → hypercli_sdk-0.4.6}/tests/test_apply_params.py +0 -0
- {hypercli_sdk-0.4.4 → hypercli_sdk-0.4.6}/tests/test_graph_to_api.py +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hypercli-sdk
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.6
|
|
4
4
|
Summary: Python SDK for HyperCLI - GPU orchestration and LLM API
|
|
5
5
|
Project-URL: Homepage, https://hypercli.com
|
|
6
6
|
Project-URL: Documentation, https://docs.hypercli.com
|
|
7
|
-
Project-URL: Repository, https://github.com/hypercli
|
|
7
|
+
Project-URL: Repository, https://github.com/HyperCLI/hypercli
|
|
8
8
|
Author-email: HyperCLI <support@hypercli.com>
|
|
9
9
|
License-Expression: MIT
|
|
10
10
|
Classifier: Development Status :: 4 - Beta
|
|
@@ -43,12 +43,12 @@ def get_api_key() -> Optional[str]:
|
|
|
43
43
|
|
|
44
44
|
def get_api_url() -> str:
|
|
45
45
|
"""Get API URL"""
|
|
46
|
-
return get_config_value("
|
|
46
|
+
return get_config_value("HYPERCLI_API_URL", DEFAULT_API_URL)
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
def get_ws_url() -> str:
|
|
50
50
|
"""Get WebSocket URL"""
|
|
51
|
-
ws = get_config_value("
|
|
51
|
+
ws = get_config_value("HYPERCLI_WS_URL")
|
|
52
52
|
if ws:
|
|
53
53
|
return ws
|
|
54
54
|
# Derive from API URL
|
|
@@ -63,7 +63,7 @@ def configure(api_key: str, api_url: str = None):
|
|
|
63
63
|
config = _load_config_file()
|
|
64
64
|
config["HYPERCLI_API_KEY"] = api_key
|
|
65
65
|
if api_url:
|
|
66
|
-
config["
|
|
66
|
+
config["HYPERCLI_API_URL"] = api_url
|
|
67
67
|
|
|
68
68
|
lines = [f"{k}={v}" for k, v in config.items()]
|
|
69
69
|
CONFIG_FILE.write_text("\n".join(lines) + "\n")
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "hypercli-sdk"
|
|
7
|
-
version = "0.4.
|
|
7
|
+
version = "0.4.6"
|
|
8
8
|
description = "Python SDK for HyperCLI - GPU orchestration and LLM API"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
@@ -39,7 +39,7 @@ dev = [
|
|
|
39
39
|
[project.urls]
|
|
40
40
|
Homepage = "https://hypercli.com"
|
|
41
41
|
Documentation = "https://docs.hypercli.com"
|
|
42
|
-
Repository = "https://github.com/hypercli
|
|
42
|
+
Repository = "https://github.com/HyperCLI/hypercli"
|
|
43
43
|
|
|
44
44
|
[tool.hatch.build.targets.wheel]
|
|
45
45
|
packages = ["hypercli"]
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|