qbraid-cli 0.10.1__py3-none-any.whl → 0.10.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 +9 -4
- qbraid_cli/admin/app.py +1 -1
- qbraid_cli/admin/headers.py +3 -3
- qbraid_cli/files/app.py +4 -4
- {qbraid_cli-0.10.1.dist-info → qbraid_cli-0.10.3.dist-info}/LICENSE +6 -4
- {qbraid_cli-0.10.1.dist-info → qbraid_cli-0.10.3.dist-info}/METADATA +3 -3
- {qbraid_cli-0.10.1.dist-info → qbraid_cli-0.10.3.dist-info}/RECORD +10 -10
- {qbraid_cli-0.10.1.dist-info → qbraid_cli-0.10.3.dist-info}/WHEEL +1 -1
- {qbraid_cli-0.10.1.dist-info → qbraid_cli-0.10.3.dist-info}/entry_points.txt +0 -0
- {qbraid_cli-0.10.1.dist-info → qbraid_cli-0.10.3.dist-info}/top_level.txt +0 -0
qbraid_cli/_version.py
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
# file generated by
|
|
1
|
+
# file generated by setuptools-scm
|
|
2
2
|
# don't change, don't track in version control
|
|
3
|
+
|
|
4
|
+
__all__ = ["__version__", "__version_tuple__", "version", "version_tuple"]
|
|
5
|
+
|
|
3
6
|
TYPE_CHECKING = False
|
|
4
7
|
if TYPE_CHECKING:
|
|
5
|
-
from typing import Tuple
|
|
8
|
+
from typing import Tuple
|
|
9
|
+
from typing import Union
|
|
10
|
+
|
|
6
11
|
VERSION_TUPLE = Tuple[Union[int, str], ...]
|
|
7
12
|
else:
|
|
8
13
|
VERSION_TUPLE = object
|
|
@@ -12,5 +17,5 @@ __version__: str
|
|
|
12
17
|
__version_tuple__: VERSION_TUPLE
|
|
13
18
|
version_tuple: VERSION_TUPLE
|
|
14
19
|
|
|
15
|
-
__version__ = version = '0.10.
|
|
16
|
-
__version_tuple__ = version_tuple = (0, 10,
|
|
20
|
+
__version__ = version = '0.10.3'
|
|
21
|
+
__version_tuple__ = version_tuple = (0, 10, 3)
|
qbraid_cli/admin/app.py
CHANGED
|
@@ -29,7 +29,7 @@ def admin_headers(
|
|
|
29
29
|
"default", "--type", "-t", help="Type of header to use."
|
|
30
30
|
),
|
|
31
31
|
skip_files: list[str] = typer.Option(
|
|
32
|
-
[], "--skip", "-s", help="Files to skip during verification."
|
|
32
|
+
[], "--skip", "-s", help="Files to skip during verification."
|
|
33
33
|
),
|
|
34
34
|
fix: bool = typer.Option(
|
|
35
35
|
False, "--fix", "-f", help="Whether to fix the headers instead of just verifying."
|
qbraid_cli/admin/headers.py
CHANGED
|
@@ -74,7 +74,7 @@ DEFAULT_HEADER_APACHE = f"""# Copyright {CURR_YEAR} qBraid
|
|
|
74
74
|
DEFAULT_HEADER_MIT = f"""# MIT License
|
|
75
75
|
#
|
|
76
76
|
# Copyright (c) {CURR_YEAR} qBraid
|
|
77
|
-
#
|
|
77
|
+
#
|
|
78
78
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
79
79
|
# of this software and associated documentation files (the "Software"), to deal
|
|
80
80
|
# in the Software without restriction, including without limitation the rights
|
|
@@ -116,7 +116,7 @@ def get_formatted_header(header_type: HeaderType, project_name: Optional[str] =
|
|
|
116
116
|
header = HEADER_TYPES[header_type]
|
|
117
117
|
if header_type == HeaderType.gpl:
|
|
118
118
|
if project_name is None:
|
|
119
|
-
|
|
119
|
+
handle_error("ValueError", "Project name is required for GPL header")
|
|
120
120
|
|
|
121
121
|
if project_name.split(" ")[0].lower() == "the":
|
|
122
122
|
project_name = project_name[:1].lower() + project_name[1:]
|
|
@@ -126,7 +126,7 @@ def get_formatted_header(header_type: HeaderType, project_name: Optional[str] =
|
|
|
126
126
|
return header.format(project_name=project_name, project_name_start=project_name_start)
|
|
127
127
|
|
|
128
128
|
if project_name is not None:
|
|
129
|
-
warnings.warn(f"
|
|
129
|
+
warnings.warn(f"\nProject name is not used for header type '{header_type}'.", UserWarning)
|
|
130
130
|
|
|
131
131
|
return header
|
|
132
132
|
|
qbraid_cli/files/app.py
CHANGED
|
@@ -69,9 +69,9 @@ def files_upload(
|
|
|
69
69
|
handle_error("Error", "File too large. Must be less than 10MB for direct upload.")
|
|
70
70
|
|
|
71
71
|
def upload_file() -> dict[str, Any]:
|
|
72
|
-
from qbraid_core.services.
|
|
72
|
+
from qbraid_core.services.storage import FileStorageClient
|
|
73
73
|
|
|
74
|
-
client =
|
|
74
|
+
client = FileStorageClient()
|
|
75
75
|
data = client.upload_file(
|
|
76
76
|
filepath, namespace=namespace, object_path=object_path, overwrite=overwrite
|
|
77
77
|
)
|
|
@@ -119,9 +119,9 @@ def files_download(
|
|
|
119
119
|
"""Download a file from qBraid storage."""
|
|
120
120
|
|
|
121
121
|
def download_file() -> Path:
|
|
122
|
-
from qbraid_core.services.
|
|
122
|
+
from qbraid_core.services.storage import FileStorageClient
|
|
123
123
|
|
|
124
|
-
client =
|
|
124
|
+
client = FileStorageClient()
|
|
125
125
|
file_path = client.download_file(
|
|
126
126
|
object_path, namespace=namespace, save_path=save_path, overwrite=overwrite
|
|
127
127
|
)
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
qBraid
|
|
1
|
+
qBraid Commercial Software License
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
3
|
+
Copyright (c) 2025, qBraid Development Team
|
|
4
4
|
|
|
5
5
|
All rights reserved.
|
|
6
6
|
|
|
7
|
-
This license agreement ("License") is between the qBraid Development Team ("Author") and you, the Licensee.
|
|
7
|
+
This license agreement ("License") is between the qBraid Development Team ("Author") and you, the Licensee. This software and associated documentation files (the "Software") may only be used by authorized qBraid customers who have agreed to qBraid's Terms of Service and have a valid subscription or license agreement with qBraid. By using or distributing this Software, you agree to the following terms:
|
|
8
8
|
|
|
9
9
|
1. Grant of License.
|
|
10
10
|
|
|
@@ -24,7 +24,7 @@ This license agreement ("License") is between the qBraid Development Team ("Auth
|
|
|
24
24
|
|
|
25
25
|
5. Attribution
|
|
26
26
|
|
|
27
|
-
If the Software is used in a non-private setting, including but not limited to academic work, commercial settings, or published literature, attribution must be given to the "qBraid
|
|
27
|
+
If the Software is used in a non-private setting, including but not limited to academic work, commercial settings, or published literature, attribution must be given to the "qBraid CLI authored by the qBraid Development Team."
|
|
28
28
|
|
|
29
29
|
6. Disclaimer of Warranty.
|
|
30
30
|
|
|
@@ -39,3 +39,5 @@ This license agreement ("License") is between the qBraid Development Team ("Auth
|
|
|
39
39
|
This License is effective until terminated. Your rights under this License will terminate automatically without notice from the Author if you fail to comply with any term(s) of this License.
|
|
40
40
|
|
|
41
41
|
By using the Software, you agree to be bound by the terms of this License. Redistribution of the Software or use of the Software other than as specifically authorized under this License is prohibited and may result in severe civil and criminal penalties.
|
|
42
|
+
|
|
43
|
+
For licensing inquiries, please contact: contact@qbraid.com
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: qbraid-cli
|
|
3
|
-
Version: 0.10.
|
|
3
|
+
Version: 0.10.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
|
|
@@ -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
|
|
33
|
+
Requires-Dist: qbraid-core<0.2,>=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
|
|
@@ -87,7 +87,7 @@ After installation, you must configure your account credentials to use the CLI l
|
|
|
87
87
|
[account.qbraid.com](https://account.qbraid.com/)
|
|
88
88
|
2. Copy your API Key token from the left side of
|
|
89
89
|
your [account page](https://account.qbraid.com/):
|
|
90
|
-
3. Save your API key from step 2 in local configuration file `~/.qbraid/qbraidrc` using:
|
|
90
|
+
3. Save your API key from step 2 in local [configuration file](https://docs.qbraid.com/cli/user-guide/config-files) `~/.qbraid/qbraidrc` using:
|
|
91
91
|
|
|
92
92
|
```bash
|
|
93
93
|
$ qbraid configure
|
|
@@ -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=_GUqj90h_w5QDsrCaj-AUIAvZQza-SO0pp8yJbZnztY,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
|
|
@@ -7,8 +7,8 @@ qbraid_cli/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
7
7
|
qbraid_cli/account/__init__.py,sha256=smlpUcVkM3QEbJG0norGM7i71XBJlUGQYByswTfPnmg,181
|
|
8
8
|
qbraid_cli/account/app.py,sha256=1UogauwgX0Hnr7H6cBV2Qv-lT6aRpRLAimCyLi0afGI,1843
|
|
9
9
|
qbraid_cli/admin/__init__.py,sha256=qcWD5mQEUCtr49mrUpZmk7eGDe0L_Gtc8RwZmzIXSwo,175
|
|
10
|
-
qbraid_cli/admin/app.py,sha256=
|
|
11
|
-
qbraid_cli/admin/headers.py,sha256=
|
|
10
|
+
qbraid_cli/admin/app.py,sha256=i_JeyJYHT6qoJrsTuf_eippp7AG6ZJ_N6-Dsrpv2XHQ,1476
|
|
11
|
+
qbraid_cli/admin/headers.py,sha256=QWAEuOu3rqumngLlOaGTI2R2wqyqmC0gUNpRt_74pd0,10610
|
|
12
12
|
qbraid_cli/admin/validation.py,sha256=fhpttxupCGBk56ExQPuuQm8nMnptLLy_8sj-EjpM8g0,729
|
|
13
13
|
qbraid_cli/chat/__init__.py,sha256=NO41vndEdfr0vDynNcmHFh-nhzWjnWqGm4M9parikck,258
|
|
14
14
|
qbraid_cli/chat/app.py,sha256=-YqCLGDh4ezF149xB3dfuUAQotKAklZwYp0BL3HhA90,2256
|
|
@@ -24,7 +24,7 @@ qbraid_cli/envs/app.py,sha256=c3O5fB6PThCXS2hyYMHrj8YvvEJaI-_8NZd_GN_4iZ0,9972
|
|
|
24
24
|
qbraid_cli/envs/create.py,sha256=xudzkLCNegY34zkXN_Vfl_0zVzg_tW83LcVx9quoWfU,988
|
|
25
25
|
qbraid_cli/envs/data_handling.py,sha256=Ibnp2yJoUDpivb_sNqi0suYgJZNat_LmM6Ya0Ovez5s,1288
|
|
26
26
|
qbraid_cli/files/__init__.py,sha256=3_yhgFoNcviEtS6B75uJBrfFFUjsrMcccCNEntJ54xU,175
|
|
27
|
-
qbraid_cli/files/app.py,sha256=
|
|
27
|
+
qbraid_cli/files/app.py,sha256=9PHYyrhZ84cVGQGCc6tmsS3yoPZL5jGzmf3j6H6vzU8,3771
|
|
28
28
|
qbraid_cli/jobs/__init__.py,sha256=qVLRHYIzP4XHpx_QWP_vCzd3LsCscCORaEx-Vcbx29U,172
|
|
29
29
|
qbraid_cli/jobs/app.py,sha256=LnrxALu7OWSUg1FD6FvlGsILdoH46Y-ra12eiSfiMlE,4938
|
|
30
30
|
qbraid_cli/jobs/toggle_braket.py,sha256=3AEu-Z5q4avduB-fJMyMTVTuyZXuA8m-hnvi325wIv4,7444
|
|
@@ -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.3.dist-info/LICENSE,sha256=3KvWfsaXBCqbZ4qwk5jN9CQXE53tQeaZTySN5a-CCgQ,2753
|
|
38
|
+
qbraid_cli-0.10.3.dist-info/METADATA,sha256=mzyn6KubW7kALd33wTHndFwr3C6LcIKXPr5GFyDpOFM,7586
|
|
39
|
+
qbraid_cli-0.10.3.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
|
|
40
|
+
qbraid_cli-0.10.3.dist-info/entry_points.txt,sha256=c5ZJ7NjbxhDqMpou9q5F03_b_KG34HzFDijIDmEIwgQ,47
|
|
41
|
+
qbraid_cli-0.10.3.dist-info/top_level.txt,sha256=LTYJgeYSCHo9Il8vZu0yIPuGdGyNaIw6iRy6BeoZo8o,11
|
|
42
|
+
qbraid_cli-0.10.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|