qbraid-cli 0.10.3__py3-none-any.whl → 0.10.4__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.
Potentially problematic release.
This version of qbraid-cli might be problematic. Click here for more details.
- qbraid_cli/_version.py +2 -2
- qbraid_cli/configure/actions.py +11 -1
- {qbraid_cli-0.10.3.dist-info → qbraid_cli-0.10.4.dist-info}/METADATA +4 -3
- {qbraid_cli-0.10.3.dist-info → qbraid_cli-0.10.4.dist-info}/RECORD +8 -8
- {qbraid_cli-0.10.3.dist-info → qbraid_cli-0.10.4.dist-info}/WHEEL +1 -1
- {qbraid_cli-0.10.3.dist-info → qbraid_cli-0.10.4.dist-info}/entry_points.txt +0 -0
- {qbraid_cli-0.10.3.dist-info → qbraid_cli-0.10.4.dist-info/licenses}/LICENSE +0 -0
- {qbraid_cli-0.10.3.dist-info → qbraid_cli-0.10.4.dist-info}/top_level.txt +0 -0
qbraid_cli/_version.py
CHANGED
qbraid_cli/configure/actions.py
CHANGED
|
@@ -15,6 +15,8 @@ import typer
|
|
|
15
15
|
from qbraid_core.config import (
|
|
16
16
|
DEFAULT_CONFIG_SECTION,
|
|
17
17
|
DEFAULT_ENDPOINT_URL,
|
|
18
|
+
DEFAULT_ORGANIZATION,
|
|
19
|
+
DEFAULT_WORKSPACE,
|
|
18
20
|
USER_CONFIG_PATH,
|
|
19
21
|
load_config,
|
|
20
22
|
save_config,
|
|
@@ -92,10 +94,18 @@ def default_action(section: str = DEFAULT_CONFIG_SECTION):
|
|
|
92
94
|
if section not in config:
|
|
93
95
|
config[section] = {}
|
|
94
96
|
|
|
95
|
-
default_values = {
|
|
97
|
+
default_values = {
|
|
98
|
+
"url": DEFAULT_ENDPOINT_URL,
|
|
99
|
+
"organization": DEFAULT_ORGANIZATION,
|
|
100
|
+
"workspace": DEFAULT_WORKSPACE,
|
|
101
|
+
}
|
|
96
102
|
|
|
97
103
|
config[section]["url"] = prompt_for_config(config, section, "url", default_values)
|
|
98
104
|
config[section]["api-key"] = prompt_for_config(config, section, "api-key", default_values)
|
|
105
|
+
config[section]["organization"] = prompt_for_config(
|
|
106
|
+
config, section, "organization", default_values
|
|
107
|
+
)
|
|
108
|
+
config[section]["workspace"] = prompt_for_config(config, section, "workspace", default_values)
|
|
99
109
|
|
|
100
110
|
for key in list(config[section]):
|
|
101
111
|
if not config[section][key]:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: qbraid-cli
|
|
3
|
-
Version: 0.10.
|
|
3
|
+
Version: 0.10.4
|
|
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: Proprietary
|
|
@@ -30,7 +30,7 @@ License-File: LICENSE
|
|
|
30
30
|
Requires-Dist: typer>=0.12.1
|
|
31
31
|
Requires-Dist: rich>=10.11.0
|
|
32
32
|
Requires-Dist: click
|
|
33
|
-
Requires-Dist: qbraid-core<0.
|
|
33
|
+
Requires-Dist: qbraid-core<0.1.39,>=0.1.35
|
|
34
34
|
Provides-Extra: jobs
|
|
35
35
|
Requires-Dist: amazon-braket-sdk>=1.48.1; extra == "jobs"
|
|
36
36
|
Provides-Extra: envs
|
|
@@ -40,6 +40,7 @@ Requires-Dist: isort; extra == "dev"
|
|
|
40
40
|
Requires-Dist: black; extra == "dev"
|
|
41
41
|
Requires-Dist: pytest; extra == "dev"
|
|
42
42
|
Requires-Dist: pytest-cov; extra == "dev"
|
|
43
|
+
Dynamic: license-file
|
|
43
44
|
|
|
44
45
|
<img width="full" alt="qbraid_cli" src="https://qbraid-static.s3.amazonaws.com/logos/qbraid-cli-banner.png">
|
|
45
46
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
qbraid_cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
qbraid_cli/_version.py,sha256=
|
|
2
|
+
qbraid_cli/_version.py,sha256=oEqEyjEJE55MioKqmcYOe4fxgMbsBjxBVcG4HnFG3S4,513
|
|
3
3
|
qbraid_cli/exceptions.py,sha256=KjlhYJhSHMVazaNiBjD_Ur06w4sekP8zRsFzBdyIpno,672
|
|
4
4
|
qbraid_cli/handlers.py,sha256=B9H1Qw6yx8izrqp9OGR2TgSJa_mxA8KLXUkX8LB7Feg,7650
|
|
5
5
|
qbraid_cli/main.py,sha256=aSOQyoRRvKBJBcx8VtU4zKZ2WHvGKHhw8I-WiRwPxcE,3926
|
|
@@ -13,7 +13,7 @@ qbraid_cli/admin/validation.py,sha256=fhpttxupCGBk56ExQPuuQm8nMnptLLy_8sj-EjpM8g
|
|
|
13
13
|
qbraid_cli/chat/__init__.py,sha256=NO41vndEdfr0vDynNcmHFh-nhzWjnWqGm4M9parikck,258
|
|
14
14
|
qbraid_cli/chat/app.py,sha256=-YqCLGDh4ezF149xB3dfuUAQotKAklZwYp0BL3HhA90,2256
|
|
15
15
|
qbraid_cli/configure/__init__.py,sha256=YaJ74Ztz2vl3eYp8_jVBucWkXscxz7EZEIzr70OfuOM,187
|
|
16
|
-
qbraid_cli/configure/actions.py,sha256
|
|
16
|
+
qbraid_cli/configure/actions.py,sha256=VZ7uP4bFE5ks9yH5xZYzllAm4rM0grV70CP2GbXiwrY,3589
|
|
17
17
|
qbraid_cli/configure/app.py,sha256=7UN8Bje0n_s2nDE-cHid8VwOp7gl0jjw9gldyCcZNhI,4164
|
|
18
18
|
qbraid_cli/devices/__init__.py,sha256=hiScO-px6jCL5cJj5Hbty55EUfNejTO4bmqUZuS3aqc,181
|
|
19
19
|
qbraid_cli/devices/app.py,sha256=q8AQ8o05JXODsaFR_16_S3UtLWPzwC2qi0bVw2h7RJ8,2543
|
|
@@ -34,9 +34,9 @@ qbraid_cli/kernels/app.py,sha256=n-iyWJHy7_ML6qk4pp-v_rQkGA7WfnZMG8gyiCFGO1c,294
|
|
|
34
34
|
qbraid_cli/pip/__init__.py,sha256=tJtU0rxn-ODogNh5Y4pp_BgDQXMN-3JY1QGj0OZHwjQ,169
|
|
35
35
|
qbraid_cli/pip/app.py,sha256=jkk-djductrDOJIRYfHK_7WDJ12f0zOT3MMkiZp97oM,1365
|
|
36
36
|
qbraid_cli/pip/hooks.py,sha256=jkIeev3cOd-cmaoJSdSqbmhTYCs6z1we84FMqa3ZoZw,2124
|
|
37
|
-
qbraid_cli-0.10.
|
|
38
|
-
qbraid_cli-0.10.
|
|
39
|
-
qbraid_cli-0.10.
|
|
40
|
-
qbraid_cli-0.10.
|
|
41
|
-
qbraid_cli-0.10.
|
|
42
|
-
qbraid_cli-0.10.
|
|
37
|
+
qbraid_cli-0.10.4.dist-info/licenses/LICENSE,sha256=3KvWfsaXBCqbZ4qwk5jN9CQXE53tQeaZTySN5a-CCgQ,2753
|
|
38
|
+
qbraid_cli-0.10.4.dist-info/METADATA,sha256=OXP03lfaXPPAEV2jOKanPPxc0nYkv-d0HqPhLsyukpQ,7611
|
|
39
|
+
qbraid_cli-0.10.4.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
|
|
40
|
+
qbraid_cli-0.10.4.dist-info/entry_points.txt,sha256=c5ZJ7NjbxhDqMpou9q5F03_b_KG34HzFDijIDmEIwgQ,47
|
|
41
|
+
qbraid_cli-0.10.4.dist-info/top_level.txt,sha256=LTYJgeYSCHo9Il8vZu0yIPuGdGyNaIw6iRy6BeoZo8o,11
|
|
42
|
+
qbraid_cli-0.10.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|