qctrl-client 17.0.0__tar.gz → 17.1.0__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.
- {qctrl_client-17.0.0 → qctrl_client-17.1.0}/PKG-INFO +5 -5
- {qctrl_client-17.0.0 → qctrl_client-17.1.0}/pyproject.toml +6 -7
- {qctrl_client-17.0.0 → qctrl_client-17.1.0}/qctrlclient/client.py +4 -0
- {qctrl_client-17.0.0 → qctrl_client-17.1.0}/LICENSE +0 -0
- {qctrl_client-17.0.0 → qctrl_client-17.1.0}/README.md +0 -0
- {qctrl_client-17.0.0 → qctrl_client-17.1.0}/qctrlclient/__init__.py +0 -0
- {qctrl_client-17.0.0 → qctrl_client-17.1.0}/qctrlclient/auth/__init__.py +0 -0
- {qctrl_client-17.0.0 → qctrl_client-17.1.0}/qctrlclient/auth/api_key.py +0 -0
- {qctrl_client-17.0.0 → qctrl_client-17.1.0}/qctrlclient/auth/base.py +0 -0
- {qctrl_client-17.0.0 → qctrl_client-17.1.0}/qctrlclient/auth/cli.py +0 -0
- {qctrl_client-17.0.0 → qctrl_client-17.1.0}/qctrlclient/auth/constants.py +0 -0
- {qctrl_client-17.0.0 → qctrl_client-17.1.0}/qctrlclient/auth/helpers.py +0 -0
- {qctrl_client-17.0.0 → qctrl_client-17.1.0}/qctrlclient/auth/keycloak.py +0 -0
- {qctrl_client-17.0.0 → qctrl_client-17.1.0}/qctrlclient/auth/mixins.py +0 -0
- {qctrl_client-17.0.0 → qctrl_client-17.1.0}/qctrlclient/auth/oidc.py +0 -0
- {qctrl_client-17.0.0 → qctrl_client-17.1.0}/qctrlclient/auth/password.py +0 -0
- {qctrl_client-17.0.0 → qctrl_client-17.1.0}/qctrlclient/auth/redirect_listener.py +0 -0
- {qctrl_client-17.0.0 → qctrl_client-17.1.0}/qctrlclient/auth/service_account.py +0 -0
- {qctrl_client-17.0.0 → qctrl_client-17.1.0}/qctrlclient/auth/token_exchange.py +0 -0
- {qctrl_client-17.0.0 → qctrl_client-17.1.0}/qctrlclient/consistency_headers.py +0 -0
- {qctrl_client-17.0.0 → qctrl_client-17.1.0}/qctrlclient/defaults.py +0 -0
- {qctrl_client-17.0.0 → qctrl_client-17.1.0}/qctrlclient/exceptions.py +0 -0
- {qctrl_client-17.0.0 → qctrl_client-17.1.0}/qctrlclient/globals.py +0 -0
- {qctrl_client-17.0.0 → qctrl_client-17.1.0}/qctrlclient/py.typed +0 -0
- {qctrl_client-17.0.0 → qctrl_client-17.1.0}/qctrlclient/pytest_plugin.py +0 -0
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: qctrl-client
|
|
3
|
-
Version: 17.
|
|
3
|
+
Version: 17.1.0
|
|
4
4
|
Summary: Q-CTRL Client
|
|
5
|
-
License:
|
|
5
|
+
License-File: LICENSE
|
|
6
6
|
Keywords: black opal,boulder opal,fire opal,ironstone opal,nisq,open controls,q control,q ctrl,q-control,q-ctrl,qcontrol,qctrl,quantum,quantum algorithms,quantum circuits,quantum coding,quantum coding software,quantum computing,quantum control,quantum control software,quantum control theory,quantum engineering,quantum error correction,quantum firmware,quantum fundamentals,quantum navigation,quantum sensing,qubit,qudit
|
|
7
7
|
Author: Q-CTRL
|
|
8
8
|
Author-email: support@q-ctrl.com>
|
|
9
9
|
Maintainer: Q-CTRL
|
|
10
10
|
Maintainer-email: support@q-ctrl.com>
|
|
11
|
-
Requires-Python: >=3.10, <3.
|
|
11
|
+
Requires-Python: >=3.10, <3.15
|
|
12
12
|
Classifier: Development Status :: 5 - Production/Stable
|
|
13
13
|
Classifier: Environment :: Console
|
|
14
14
|
Classifier: Intended Audience :: Developers
|
|
15
15
|
Classifier: Intended Audience :: Education
|
|
16
16
|
Classifier: Intended Audience :: Science/Research
|
|
17
|
-
Classifier: License :: Other/Proprietary License
|
|
18
17
|
Classifier: Natural Language :: English
|
|
19
18
|
Classifier: Operating System :: OS Independent
|
|
20
19
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -22,6 +21,7 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
22
21
|
Classifier: Programming Language :: Python :: 3.11
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.12
|
|
24
23
|
Classifier: Programming Language :: Python :: 3.13
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
25
25
|
Classifier: Topic :: Internet :: WWW/HTTP
|
|
26
26
|
Classifier: Topic :: Scientific/Engineering :: Physics
|
|
27
27
|
Classifier: Topic :: Scientific/Engineering :: Visualization
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "qctrl-client"
|
|
3
3
|
description = "Q-CTRL Client"
|
|
4
|
-
requires-python = ">=3.10, <3.
|
|
5
|
-
version = "17.
|
|
6
|
-
license = "
|
|
4
|
+
requires-python = ">=3.10, <3.15"
|
|
5
|
+
version = "17.1.0"
|
|
6
|
+
license-files = ["LICENSE"]
|
|
7
7
|
readme = "README.md"
|
|
8
8
|
authors = [
|
|
9
9
|
{name = "Q-CTRL", email = "support@q-ctrl.com>"}
|
|
@@ -98,13 +98,12 @@ pytest = "^9.0.2"
|
|
|
98
98
|
pytest-cov = "^7.0.0"
|
|
99
99
|
pytest-mock = "^3.12.0"
|
|
100
100
|
pre-commit = "^4.2.0"
|
|
101
|
-
ruff = "^0.15.
|
|
102
|
-
mypy = "^
|
|
101
|
+
ruff = "^0.15.22"
|
|
102
|
+
mypy = "^2.3.0"
|
|
103
103
|
types-requests = "^2.32.0.20250328"
|
|
104
104
|
deptry = "^0.25.1"
|
|
105
|
-
qctrl-mkdocs-theme = "^1.0.1"
|
|
106
|
-
mkdocs = "^1.6.1"
|
|
107
105
|
pytest-asyncio = "^1.3.0"
|
|
106
|
+
qctrl-zensical-theme = {version = "^0.1.1", python = ">=3.11,<3.15"}
|
|
108
107
|
|
|
109
108
|
[tool.ruff.format]
|
|
110
109
|
exclude = [
|
|
@@ -196,6 +196,7 @@ class _BaseGraphQLClient(abc.ABC):
|
|
|
196
196
|
transport_options,
|
|
197
197
|
async_hooks=issubclass(self.transport_cls, HTTPXAsyncTransport),
|
|
198
198
|
)
|
|
199
|
+
self._timeout = timeout
|
|
199
200
|
self._client_options = client_options
|
|
200
201
|
self._schema = schema
|
|
201
202
|
self._fetch_schema_from_transport = fetch_schema_from_transport
|
|
@@ -213,6 +214,7 @@ class _BaseGraphQLClient(abc.ABC):
|
|
|
213
214
|
schema=self._schema,
|
|
214
215
|
transport=self._transport,
|
|
215
216
|
fetch_schema_from_transport=self._fetch_schema_from_transport,
|
|
217
|
+
execute_timeout=self._timeout.read,
|
|
216
218
|
)
|
|
217
219
|
|
|
218
220
|
|
|
@@ -335,6 +337,7 @@ def _prepare_gql_client(
|
|
|
335
337
|
schema: str | None,
|
|
336
338
|
transport: HTTPXTransport | HTTPXAsyncTransport,
|
|
337
339
|
fetch_schema_from_transport: bool,
|
|
340
|
+
execute_timeout: float | None,
|
|
338
341
|
) -> gql.Client:
|
|
339
342
|
client_options = client_options or {}
|
|
340
343
|
client_kwargs = _prepare_kwargs(
|
|
@@ -342,6 +345,7 @@ def _prepare_gql_client(
|
|
|
342
345
|
schema=schema,
|
|
343
346
|
transport=transport,
|
|
344
347
|
fetch_schema_from_transport=fetch_schema_from_transport,
|
|
348
|
+
execute_timeout=execute_timeout,
|
|
345
349
|
)
|
|
346
350
|
return gql.Client(**client_kwargs)
|
|
347
351
|
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|