qbraid-cli 0.13.0a1__tar.gz → 0.13.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.
- {qbraid_cli-0.13.0a1/qbraid_cli.egg-info → qbraid_cli-0.13.2}/PKG-INFO +5 -5
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/pyproject.toml +6 -6
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/admin/app.py +3 -3
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/admin/validation.py +2 -1
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/agents/app.py +604 -4
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/compute/app.py +26 -35
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/compute/profiles.py +14 -7
- qbraid_cli-0.13.2/qbraid_cli/compute/server.py +589 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/compute/ssh.py +72 -35
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/envs/activate.py +10 -3
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/envs/app.py +93 -27
- qbraid_cli-0.13.2/qbraid_cli/jobs/app.py +406 -0
- qbraid_cli-0.13.2/qbraid_cli/jobs/groups.py +351 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/lab/app.py +5 -3
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2/qbraid_cli.egg-info}/PKG-INFO +5 -5
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli.egg-info/SOURCES.txt +1 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli.egg-info/requires.txt +4 -4
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/tests/test_cli_e2e.py +8 -1
- qbraid_cli-0.13.0a1/qbraid_cli/compute/server.py +0 -343
- qbraid_cli-0.13.0a1/qbraid_cli/jobs/app.py +0 -182
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/LICENSE +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/README.md +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/__init__.py +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/_build_info.py +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/_version.py +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/account/__init__.py +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/account/app.py +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/admin/__init__.py +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/admin/headers.py +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/agents/__init__.py +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/compute/__init__.py +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/configure/__init__.py +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/configure/actions.py +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/configure/app.py +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/devices/__init__.py +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/devices/app.py +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/devices/validation.py +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/envs/__init__.py +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/envs/create.py +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/envs/data_handling.py +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/envs/groups.py +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/envs/publish.py +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/envs/registry.py +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/envs/share.py +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/exceptions.py +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/handlers.py +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/jobs/__init__.py +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/kernels/__init__.py +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/kernels/app.py +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/lab/__init__.py +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/main.py +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/pip/__init__.py +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/pip/app.py +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/pip/hooks.py +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/projects/__init__.py +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/projects/app.py +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/py.typed +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/skills/__init__.py +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/skills/app.py +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/troubleshoot/__init__.py +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli/troubleshoot/app.py +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli.egg-info/dependency_links.txt +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli.egg-info/entry_points.txt +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/qbraid_cli.egg-info/top_level.txt +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/setup.cfg +0 -0
- {qbraid_cli-0.13.0a1 → qbraid_cli-0.13.2}/tests/test_version.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: qbraid-cli
|
|
3
|
-
Version: 0.13.
|
|
3
|
+
Version: 0.13.2
|
|
4
4
|
Summary: Command Line Interface for interacting with all parts of the qBraid platform.
|
|
5
5
|
Author-email: qBraid Development Team <contact@qbraid.com>
|
|
6
6
|
License-Expression: LicenseRef-Proprietary
|
|
@@ -28,13 +28,13 @@ Description-Content-Type: text/markdown
|
|
|
28
28
|
License-File: LICENSE
|
|
29
29
|
Requires-Dist: typer>=0.12.1
|
|
30
30
|
Requires-Dist: rich>=10.11.0
|
|
31
|
-
Requires-Dist: click<=8.
|
|
31
|
+
Requires-Dist: click<=8.3.3
|
|
32
32
|
Requires-Dist: questionary>=2.0.0
|
|
33
|
-
Requires-Dist: qbraid-core>=0.3.
|
|
33
|
+
Requires-Dist: qbraid-core>=0.3.3
|
|
34
34
|
Provides-Extra: compute
|
|
35
|
-
Requires-Dist: qbraid-core[compute]>=0.3.
|
|
35
|
+
Requires-Dist: qbraid-core[compute]>=0.3.3; extra == "compute"
|
|
36
36
|
Provides-Extra: envs
|
|
37
|
-
Requires-Dist: qbraid-core[environments]>=0.3.
|
|
37
|
+
Requires-Dist: qbraid-core[environments]>=0.3.0; extra == "envs"
|
|
38
38
|
Provides-Extra: dev
|
|
39
39
|
Requires-Dist: isort; extra == "dev"
|
|
40
40
|
Requires-Dist: black; extra == "dev"
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "qbraid-cli"
|
|
7
|
-
version = "0.13.
|
|
7
|
+
version = "0.13.2"
|
|
8
8
|
description = "Command Line Interface for interacting with all parts of the qBraid platform."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
authors = [{ name = "qBraid Development Team", email = "contact@qbraid.com" }]
|
|
@@ -30,9 +30,9 @@ classifiers = [
|
|
|
30
30
|
dependencies = [
|
|
31
31
|
"typer>=0.12.1",
|
|
32
32
|
"rich>=10.11.0",
|
|
33
|
-
"click<=8.
|
|
33
|
+
"click<=8.3.3",
|
|
34
34
|
"questionary>=2.0.0",
|
|
35
|
-
"qbraid-core>=0.3.
|
|
35
|
+
"qbraid-core>=0.3.3",
|
|
36
36
|
]
|
|
37
37
|
requires-python = ">= 3.10"
|
|
38
38
|
|
|
@@ -43,8 +43,8 @@ Documentation = "https://docs.qbraid.com/v2/cli/api-reference/qbraid"
|
|
|
43
43
|
Discord = "https://discord.gg/KugF6Cnncm"
|
|
44
44
|
|
|
45
45
|
[project.optional-dependencies]
|
|
46
|
-
compute = ["qbraid-core[compute]>=0.3.
|
|
47
|
-
envs = ["qbraid-core[environments]>=0.3.
|
|
46
|
+
compute = ["qbraid-core[compute]>=0.3.3"]
|
|
47
|
+
envs = ["qbraid-core[environments]>=0.3.0"]
|
|
48
48
|
dev = ["isort", "black", "pytest", "pytest-cov", "pytest-asyncio"]
|
|
49
49
|
|
|
50
50
|
[project.scripts]
|
|
@@ -64,7 +64,7 @@ line_length = 110
|
|
|
64
64
|
|
|
65
65
|
[tool.pylint.'MESSAGES CONTROL']
|
|
66
66
|
max-line-length = 110
|
|
67
|
-
disable = "C0116,C0302,C0415,E1101,R0801,R0903,R0912,R0913,R0914,R0915,R0917,R1702,W0212,W0511,W0621,W0707,W0718"
|
|
67
|
+
disable = "C0116,C0302,C0415,E1101,R0401,R0801,R0903,R0912,R0913,R0914,R0915,R0917,R1702,W0212,W0511,W0621,W0707,W0718"
|
|
68
68
|
|
|
69
69
|
[tool.pylint.MASTER]
|
|
70
70
|
ignore-paths = [
|
|
@@ -6,7 +6,7 @@ Module defining commands in the 'qbraid admin' namespace.
|
|
|
6
6
|
|
|
7
7
|
"""
|
|
8
8
|
|
|
9
|
-
from typing import Optional
|
|
9
|
+
from typing import List, Optional
|
|
10
10
|
|
|
11
11
|
import typer
|
|
12
12
|
|
|
@@ -22,11 +22,11 @@ admin_app = typer.Typer(
|
|
|
22
22
|
|
|
23
23
|
@admin_app.command(name="headers")
|
|
24
24
|
def admin_headers(
|
|
25
|
-
src_paths:
|
|
25
|
+
src_paths: List[str] = typer.Argument(
|
|
26
26
|
..., help="Source file or directory paths to verify.", callback=validate_paths_exist
|
|
27
27
|
),
|
|
28
28
|
header_type: HeaderType = typer.Option("default", "--type", "-t", help="Type of header to use."),
|
|
29
|
-
skip_files:
|
|
29
|
+
skip_files: List[str] = typer.Option([], "--skip", "-s", help="Files to skip during verification."),
|
|
30
30
|
fix: bool = typer.Option(
|
|
31
31
|
False, "--fix", "-f", help="Whether to fix the headers instead of just verifying."
|
|
32
32
|
),
|
|
@@ -7,13 +7,14 @@ Module for validating command arguments for qBraid admin commands.
|
|
|
7
7
|
"""
|
|
8
8
|
|
|
9
9
|
import os
|
|
10
|
+
from typing import List
|
|
10
11
|
|
|
11
12
|
import typer
|
|
12
13
|
|
|
13
14
|
from qbraid_cli.handlers import _format_list_items
|
|
14
15
|
|
|
15
16
|
|
|
16
|
-
def validate_paths_exist(paths:
|
|
17
|
+
def validate_paths_exist(paths: List[str]) -> List[str]:
|
|
17
18
|
"""Verifies that each path in the provided list exists."""
|
|
18
19
|
non_existent_paths = [path for path in paths if not os.path.exists(path)]
|
|
19
20
|
if non_existent_paths:
|