quapp-hpc 0.0.1.dev4__tar.gz → 0.0.1.dev5__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.
- {quapp_hpc-0.0.1.dev4/quapp_hpc.egg-info → quapp_hpc-0.0.1.dev5}/PKG-INFO +2 -2
- {quapp_hpc-0.0.1.dev4 → quapp_hpc-0.0.1.dev5}/pyproject.toml +2 -2
- {quapp_hpc-0.0.1.dev4 → quapp_hpc-0.0.1.dev5}/quapp_hpc/factory/hpc_provider_factory.py +1 -1
- {quapp_hpc-0.0.1.dev4 → quapp_hpc-0.0.1.dev5}/quapp_hpc/model/provider/slurm_provider.py +1 -1
- {quapp_hpc-0.0.1.dev4 → quapp_hpc-0.0.1.dev5/quapp_hpc.egg-info}/PKG-INFO +2 -2
- {quapp_hpc-0.0.1.dev4 → quapp_hpc-0.0.1.dev5}/quapp_hpc.egg-info/requires.txt +1 -1
- {quapp_hpc-0.0.1.dev4 → quapp_hpc-0.0.1.dev5}/LICENSE +0 -0
- {quapp_hpc-0.0.1.dev4 → quapp_hpc-0.0.1.dev5}/README.md +0 -0
- {quapp_hpc-0.0.1.dev4 → quapp_hpc-0.0.1.dev5}/quapp_hpc/__init__.py +0 -0
- {quapp_hpc-0.0.1.dev4 → quapp_hpc-0.0.1.dev5}/quapp_hpc/component/__init__.py +0 -0
- {quapp_hpc-0.0.1.dev4 → quapp_hpc-0.0.1.dev5}/quapp_hpc/component/backend/__init__.py +0 -0
- {quapp_hpc-0.0.1.dev4 → quapp_hpc-0.0.1.dev5}/quapp_hpc/component/backend/hpc_invocation.py +0 -0
- {quapp_hpc-0.0.1.dev4 → quapp_hpc-0.0.1.dev5}/quapp_hpc/component/backend/slurm_job_fetching.py +0 -0
- {quapp_hpc-0.0.1.dev4 → quapp_hpc-0.0.1.dev5}/quapp_hpc/factory/__init__.py +0 -0
- {quapp_hpc-0.0.1.dev4 → quapp_hpc-0.0.1.dev5}/quapp_hpc/factory/hpc_device_factory.py +0 -0
- {quapp_hpc-0.0.1.dev4 → quapp_hpc-0.0.1.dev5}/quapp_hpc/factory/hpc_handler_factory.py +0 -0
- {quapp_hpc-0.0.1.dev4 → quapp_hpc-0.0.1.dev5}/quapp_hpc/handler/__init__.py +0 -0
- {quapp_hpc-0.0.1.dev4 → quapp_hpc-0.0.1.dev5}/quapp_hpc/handler/invocation_handler.py +0 -0
- {quapp_hpc-0.0.1.dev4 → quapp_hpc-0.0.1.dev5}/quapp_hpc/handler/job_fetching_handler.py +0 -0
- {quapp_hpc-0.0.1.dev4 → quapp_hpc-0.0.1.dev5}/quapp_hpc/model/__init__.py +0 -0
- {quapp_hpc-0.0.1.dev4 → quapp_hpc-0.0.1.dev5}/quapp_hpc/model/device/__init__.py +0 -0
- {quapp_hpc-0.0.1.dev4 → quapp_hpc-0.0.1.dev5}/quapp_hpc/model/device/slurm_device.py +0 -0
- {quapp_hpc-0.0.1.dev4 → quapp_hpc-0.0.1.dev5}/quapp_hpc/model/provider/__init__.py +0 -0
- {quapp_hpc-0.0.1.dev4 → quapp_hpc-0.0.1.dev5}/quapp_hpc.egg-info/SOURCES.txt +0 -0
- {quapp_hpc-0.0.1.dev4 → quapp_hpc-0.0.1.dev5}/quapp_hpc.egg-info/dependency_links.txt +0 -0
- {quapp_hpc-0.0.1.dev4 → quapp_hpc-0.0.1.dev5}/quapp_hpc.egg-info/top_level.txt +0 -0
- {quapp_hpc-0.0.1.dev4 → quapp_hpc-0.0.1.dev5}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: quapp-hpc
|
|
3
|
-
Version: 0.0.1.
|
|
3
|
+
Version: 0.0.1.dev5
|
|
4
4
|
Summary: Quapp HPC library — Slurm integration for Quapp Platform
|
|
5
5
|
Author-email: "CITYNOW Co. Ltd." <corp@citynow.vn>
|
|
6
6
|
License: The MIT License (MIT)
|
|
@@ -19,7 +19,7 @@ Classifier: Programming Language :: Python :: 3
|
|
|
19
19
|
Requires-Python: <3.13,>=3.10
|
|
20
20
|
Description-Content-Type: text/markdown
|
|
21
21
|
License-File: LICENSE
|
|
22
|
-
Requires-Dist: quapp-common==0.0.12.
|
|
22
|
+
Requires-Dist: quapp-common==0.0.12.dev12
|
|
23
23
|
Requires-Dist: requests>=2.31.0
|
|
24
24
|
Requires-Dist: boto3>=1.28.0
|
|
25
25
|
Provides-Extra: dev
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "quapp-hpc"
|
|
7
|
-
version = "0.0.1.
|
|
7
|
+
version = "0.0.1.dev5"
|
|
8
8
|
description = "Quapp HPC library — Slurm integration for Quapp Platform"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
authors = [{ name = "CITYNOW Co. Ltd.", email = "corp@citynow.vn" }]
|
|
@@ -16,7 +16,7 @@ classifiers = [
|
|
|
16
16
|
]
|
|
17
17
|
keywords = ["quapp", "quapp-hpc", "slurm", "hpc"]
|
|
18
18
|
dependencies = [
|
|
19
|
-
"quapp-common==0.0.12.
|
|
19
|
+
"quapp-common==0.0.12.dev12",
|
|
20
20
|
"requests>=2.31.0",
|
|
21
21
|
"boto3>=1.28.0",
|
|
22
22
|
]
|
|
@@ -15,7 +15,7 @@ class HpcProviderFactory:
|
|
|
15
15
|
def create_provider(provider_type: ProviderTag, authentication: dict):
|
|
16
16
|
logger.debug(f"Creating HPC provider: {provider_type}")
|
|
17
17
|
|
|
18
|
-
if provider_type == ProviderTag.
|
|
18
|
+
if provider_type == ProviderTag.QUAPP_HPC:
|
|
19
19
|
jwt = authentication.get("slurm_jwt") or SLURM_JWT
|
|
20
20
|
if not jwt:
|
|
21
21
|
raise ValueError("SLURM_JWT not set — cannot authenticate with Slurm API")
|
|
@@ -15,7 +15,7 @@ SLURM_ACCOUNT = os.getenv("SLURM_ACCOUNT", "quapp")
|
|
|
15
15
|
class SlurmProvider(Provider):
|
|
16
16
|
|
|
17
17
|
def __init__(self, jwt_token: str):
|
|
18
|
-
super().__init__(ProviderTag.
|
|
18
|
+
super().__init__(ProviderTag.QUAPP_HPC)
|
|
19
19
|
self.jwt_token = jwt_token
|
|
20
20
|
self.base_url = f"{SLURM_API_URL}/slurm/{SLURM_API_VER}"
|
|
21
21
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: quapp-hpc
|
|
3
|
-
Version: 0.0.1.
|
|
3
|
+
Version: 0.0.1.dev5
|
|
4
4
|
Summary: Quapp HPC library — Slurm integration for Quapp Platform
|
|
5
5
|
Author-email: "CITYNOW Co. Ltd." <corp@citynow.vn>
|
|
6
6
|
License: The MIT License (MIT)
|
|
@@ -19,7 +19,7 @@ Classifier: Programming Language :: Python :: 3
|
|
|
19
19
|
Requires-Python: <3.13,>=3.10
|
|
20
20
|
Description-Content-Type: text/markdown
|
|
21
21
|
License-File: LICENSE
|
|
22
|
-
Requires-Dist: quapp-common==0.0.12.
|
|
22
|
+
Requires-Dist: quapp-common==0.0.12.dev12
|
|
23
23
|
Requires-Dist: requests>=2.31.0
|
|
24
24
|
Requires-Dist: boto3>=1.28.0
|
|
25
25
|
Provides-Extra: dev
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{quapp_hpc-0.0.1.dev4 → quapp_hpc-0.0.1.dev5}/quapp_hpc/component/backend/slurm_job_fetching.py
RENAMED
|
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
|