qbraid-cli 0.8.2__py3-none-any.whl → 0.8.3__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/envs/app.py +10 -6
- qbraid_cli/kernels/app.py +9 -5
- {qbraid_cli-0.8.2.dist-info → qbraid_cli-0.8.3.dist-info}/METADATA +4 -3
- {qbraid_cli-0.8.2.dist-info → qbraid_cli-0.8.3.dist-info}/RECORD +9 -9
- {qbraid_cli-0.8.2.dist-info → qbraid_cli-0.8.3.dist-info}/LICENSE +0 -0
- {qbraid_cli-0.8.2.dist-info → qbraid_cli-0.8.3.dist-info}/WHEEL +0 -0
- {qbraid_cli-0.8.2.dist-info → qbraid_cli-0.8.3.dist-info}/entry_points.txt +0 -0
- {qbraid_cli-0.8.2.dist-info → qbraid_cli-0.8.3.dist-info}/top_level.txt +0 -0
qbraid_cli/_version.py
CHANGED
qbraid_cli/envs/app.py
CHANGED
|
@@ -224,15 +224,19 @@ def envs_list():
|
|
|
224
224
|
else 0
|
|
225
225
|
)
|
|
226
226
|
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
227
|
+
output_lines = []
|
|
228
|
+
output_lines.append("# qbraid environments:")
|
|
229
|
+
output_lines.append("#")
|
|
230
|
+
output_lines.append("")
|
|
230
231
|
|
|
231
232
|
for alias, path in sorted_alias_path_pairs:
|
|
232
233
|
mark = "*" if path == current_env_path else " "
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
234
|
+
line = f"{alias.ljust(max_alias_length + 3)}{mark} {path}"
|
|
235
|
+
output_lines.append(line)
|
|
236
|
+
|
|
237
|
+
final_output = "\n".join(output_lines)
|
|
238
|
+
|
|
239
|
+
console.print(final_output)
|
|
236
240
|
|
|
237
241
|
|
|
238
242
|
@envs_app.command(name="activate")
|
qbraid_cli/kernels/app.py
CHANGED
|
@@ -53,17 +53,21 @@ def kernels_list():
|
|
|
53
53
|
longest_kernel_name = max(len(kernel_name) for kernel_name in kernelspecs)
|
|
54
54
|
spacing = longest_kernel_name + 10
|
|
55
55
|
|
|
56
|
-
|
|
56
|
+
output_lines = ["# qbraid kernels:\n#\n"]
|
|
57
57
|
|
|
58
|
-
# Ensure 'python3' kernel is printed first if it exists
|
|
59
58
|
default_kernel_name = "python3"
|
|
60
59
|
python3_kernel_info = kernelspecs.pop(default_kernel_name, None)
|
|
61
60
|
if python3_kernel_info:
|
|
62
|
-
|
|
61
|
+
python3_line = f"{default_kernel_name.ljust(spacing)}{python3_kernel_info['resource_dir']}"
|
|
62
|
+
output_lines.append(python3_line)
|
|
63
63
|
|
|
64
|
-
# Print the rest of the kernels
|
|
65
64
|
for kernel_name, kernel_info in sorted(kernelspecs.items()):
|
|
66
|
-
|
|
65
|
+
line = f"{kernel_name.ljust(spacing)}{kernel_info['resource_dir']}"
|
|
66
|
+
output_lines.append(line)
|
|
67
|
+
|
|
68
|
+
final_output = "\n".join(output_lines)
|
|
69
|
+
|
|
70
|
+
console.print(final_output)
|
|
67
71
|
|
|
68
72
|
|
|
69
73
|
@kernels_app.command(name="add")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: qbraid-cli
|
|
3
|
-
Version: 0.8.
|
|
3
|
+
Version: 0.8.3
|
|
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
|
|
@@ -31,12 +31,13 @@ Requires-Dist: typer >=0.12.1
|
|
|
31
31
|
Requires-Dist: rich >=10.11.0
|
|
32
32
|
Requires-Dist: jupyter-client <9.0.0,>=7.0.0
|
|
33
33
|
Requires-Dist: ipykernel
|
|
34
|
-
Requires-Dist: qbraid-core >=0.1.
|
|
34
|
+
Requires-Dist: qbraid-core >=0.1.16
|
|
35
35
|
Provides-Extra: dev
|
|
36
36
|
Requires-Dist: ruff ; extra == 'dev'
|
|
37
37
|
Requires-Dist: isort ; extra == 'dev'
|
|
38
38
|
Requires-Dist: black ; extra == 'dev'
|
|
39
39
|
Requires-Dist: pytest ; extra == 'dev'
|
|
40
|
+
Requires-Dist: pytest-cov ; extra == 'dev'
|
|
40
41
|
Provides-Extra: jobs
|
|
41
42
|
Requires-Dist: amazon-braket-sdk >=1.48.1 ; extra == 'jobs'
|
|
42
43
|
|
|
@@ -50,7 +51,7 @@ Requires-Dist: amazon-braket-sdk >=1.48.1 ; extra == 'jobs'
|
|
|
50
51
|
|
|
51
52
|
Command Line Interface for interacting with all parts of the qBraid platform.
|
|
52
53
|
|
|
53
|
-
The **qBraid CLI** is a versatile command-line interface tool designed for seamless interaction with qBraid cloud services and quantum software management tools. Initially exclusive to the [qBraid Lab](https://docs.qbraid.com/projects/lab/en/latest/lab/overview.html) platform, the CLI now supports local installations as well. This enhancement broadens access to features like [qBraid Quantum Jobs](https://docs.qbraid.com/projects/lab/en/latest/lab/quantum_jobs.html), enabling direct acess to QPU devices from leading providers like IonQ, Oxford Quantum Circuits, QuEra, and
|
|
54
|
+
The **qBraid CLI** is a versatile command-line interface tool designed for seamless interaction with qBraid cloud services and quantum software management tools. Initially exclusive to the [qBraid Lab](https://docs.qbraid.com/projects/lab/en/latest/lab/overview.html) platform, the CLI now supports local installations as well. This enhancement broadens access to features like [qBraid Quantum Jobs](https://docs.qbraid.com/projects/lab/en/latest/lab/quantum_jobs.html), enabling direct acess to QPU devices from leading providers like IonQ, Oxford Quantum Circuits, QuEra, Rigetti, and IQM, as well as on-demand simulators from AWS, all using qBraid credits, with no additional access keys required.
|
|
54
55
|
|
|
55
56
|
## Getting Started
|
|
56
57
|
|
|
@@ -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=PNJoCh_Xu8X2ZZy-EA7kXABRDndslRLGoRtvfJaj5qs,411
|
|
3
3
|
qbraid_cli/exceptions.py,sha256=KjlhYJhSHMVazaNiBjD_Ur06w4sekP8zRsFzBdyIpno,672
|
|
4
4
|
qbraid_cli/handlers.py,sha256=glxTEwxax3zKgYl9qsZ2evZXgrWQrseJS_OGyHTMFeA,7040
|
|
5
5
|
qbraid_cli/main.py,sha256=eRgBEYj9WPxHqTbSQvlV39yaDje-6yvZdrTnw5UQbQY,2638
|
|
@@ -19,7 +19,7 @@ qbraid_cli/devices/app.py,sha256=zxSxrEQn7irkJoME4S_CBnRqWeB8cqPaBsIMfpdYFk0,253
|
|
|
19
19
|
qbraid_cli/devices/validation.py,sha256=YhShyUufgrKnx2XjXOXF-PqFJYklJT9CgeqIwKcNam4,809
|
|
20
20
|
qbraid_cli/envs/__init__.py,sha256=1-cMvrATsddYxcetPJWxq6bEOqJWMktGdhoZ4qm8euA,172
|
|
21
21
|
qbraid_cli/envs/activate.py,sha256=VpvVYSfQDlcmlNWJOgkLIQ2p8YXPPLG8Jbl5t8GHUDw,2140
|
|
22
|
-
qbraid_cli/envs/app.py,sha256=
|
|
22
|
+
qbraid_cli/envs/app.py,sha256=m1obCHrTqSPD8CF2v-jV7ZoCXdRyky1oZHl7NR2EAG4,8447
|
|
23
23
|
qbraid_cli/envs/create.py,sha256=HxNciItDoGC5jqiruHm0oUfNSqtuDfzE-ro4ztGUh5Q,2185
|
|
24
24
|
qbraid_cli/envs/data_handling.py,sha256=Ibnp2yJoUDpivb_sNqi0suYgJZNat_LmM6Ya0Ovez5s,1288
|
|
25
25
|
qbraid_cli/jobs/__init__.py,sha256=qVLRHYIzP4XHpx_QWP_vCzd3LsCscCORaEx-Vcbx29U,172
|
|
@@ -27,13 +27,13 @@ qbraid_cli/jobs/app.py,sha256=kmg9mYla3Nd7EdjQlFu7IOvm7sejLNfPPA6Qeet-IfE,4898
|
|
|
27
27
|
qbraid_cli/jobs/toggle_braket.py,sha256=QVW69MkFyhMZWg_Cl48GgScC084aAG3EgYbyy-PGkqI,6756
|
|
28
28
|
qbraid_cli/jobs/validation.py,sha256=xNbjUggMhUs4wzkuRm4PuFPi_wrElYicUgYXLznHz3U,2983
|
|
29
29
|
qbraid_cli/kernels/__init__.py,sha256=jORS9vV17s5laQyq8gSVB18EPBImgEIbMZ1wKC094DA,181
|
|
30
|
-
qbraid_cli/kernels/app.py,sha256=
|
|
30
|
+
qbraid_cli/kernels/app.py,sha256=voLQR8DVqvH3W_rhxkkLg9MPd-ahA3jZ41WwupvSmNY,3490
|
|
31
31
|
qbraid_cli/pip/__init__.py,sha256=tJtU0rxn-ODogNh5Y4pp_BgDQXMN-3JY1QGj0OZHwjQ,169
|
|
32
32
|
qbraid_cli/pip/app.py,sha256=Cer_Tteo_k26bTNiLUX2k-XhdSU3wKuj9ZLubbGv7r4,1439
|
|
33
33
|
qbraid_cli/pip/hooks.py,sha256=KuDHmntPXVK8tSb4MLk9VANhL-eINswhLd8_g_25WMY,2123
|
|
34
|
-
qbraid_cli-0.8.
|
|
35
|
-
qbraid_cli-0.8.
|
|
36
|
-
qbraid_cli-0.8.
|
|
37
|
-
qbraid_cli-0.8.
|
|
38
|
-
qbraid_cli-0.8.
|
|
39
|
-
qbraid_cli-0.8.
|
|
34
|
+
qbraid_cli-0.8.3.dist-info/LICENSE,sha256=P1gi-ofB8lmkRt_mxDoJpcgQq9Ckq9WhRAS1oYk-G1s,2506
|
|
35
|
+
qbraid_cli-0.8.3.dist-info/METADATA,sha256=7kruHoU8Q6BeeS6xCo-quPQHoqgyrrOJPYPU9Lc2IX0,6780
|
|
36
|
+
qbraid_cli-0.8.3.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
37
|
+
qbraid_cli-0.8.3.dist-info/entry_points.txt,sha256=c5ZJ7NjbxhDqMpou9q5F03_b_KG34HzFDijIDmEIwgQ,47
|
|
38
|
+
qbraid_cli-0.8.3.dist-info/top_level.txt,sha256=LTYJgeYSCHo9Il8vZu0yIPuGdGyNaIw6iRy6BeoZo8o,11
|
|
39
|
+
qbraid_cli-0.8.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|