@planqk/planqk-api-sdk 1.9.2 → 1.9.4
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.
- package/README-node.md +17 -0
- package/README-python.md +17 -0
- package/README.md +66 -6
- package/package.json +1 -1
- package/planqk/api/_version.py +1 -1
- package/pyproject.toml +1 -1
- package/requirements.txt +264 -199
- package/uv.lock +774 -467
- package/.gitlab-ci.yml +0 -110
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -17
- package/dist/sdk/Client.d.ts +0 -44
- package/dist/sdk/Client.js +0 -71
- package/dist/sdk/api/errors/BadRequestError.d.ts +0 -8
- package/dist/sdk/api/errors/BadRequestError.js +0 -52
- package/dist/sdk/api/errors/ForbiddenError.d.ts +0 -8
- package/dist/sdk/api/errors/ForbiddenError.js +0 -52
- package/dist/sdk/api/errors/InternalServerError.d.ts +0 -8
- package/dist/sdk/api/errors/InternalServerError.js +0 -52
- package/dist/sdk/api/errors/NotFoundError.d.ts +0 -8
- package/dist/sdk/api/errors/NotFoundError.js +0 -52
- package/dist/sdk/api/errors/UnauthorizedError.d.ts +0 -8
- package/dist/sdk/api/errors/UnauthorizedError.js +0 -52
- package/dist/sdk/api/errors/index.d.ts +0 -5
- package/dist/sdk/api/errors/index.js +0 -21
- package/dist/sdk/api/index.d.ts +0 -3
- package/dist/sdk/api/index.js +0 -19
- package/dist/sdk/api/resources/dataPools/client/Client.d.ts +0 -187
- package/dist/sdk/api/resources/dataPools/client/Client.js +0 -722
- package/dist/sdk/api/resources/dataPools/client/index.d.ts +0 -2
- package/dist/sdk/api/resources/dataPools/client/index.js +0 -17
- package/dist/sdk/api/resources/dataPools/client/requests/AddDataPoolFileRequest.d.ts +0 -14
- package/dist/sdk/api/resources/dataPools/client/requests/AddDataPoolFileRequest.js +0 -5
- package/dist/sdk/api/resources/dataPools/client/requests/CreateDataPoolRequest.d.ts +0 -11
- package/dist/sdk/api/resources/dataPools/client/requests/CreateDataPoolRequest.js +0 -5
- package/dist/sdk/api/resources/dataPools/client/requests/UpdateDataPoolRequest.d.ts +0 -15
- package/dist/sdk/api/resources/dataPools/client/requests/UpdateDataPoolRequest.js +0 -5
- package/dist/sdk/api/resources/dataPools/client/requests/index.d.ts +0 -3
- package/dist/sdk/api/resources/dataPools/client/requests/index.js +0 -2
- package/dist/sdk/api/resources/dataPools/index.d.ts +0 -1
- package/dist/sdk/api/resources/dataPools/index.js +0 -17
- package/dist/sdk/api/resources/index.d.ts +0 -5
- package/dist/sdk/api/resources/index.js +0 -44
- package/dist/sdk/api/resources/serviceExecutions/client/Client.d.ts +0 -90
- package/dist/sdk/api/resources/serviceExecutions/client/Client.js +0 -271
- package/dist/sdk/api/resources/serviceExecutions/client/index.d.ts +0 -1
- package/dist/sdk/api/resources/serviceExecutions/client/index.js +0 -2
- package/dist/sdk/api/resources/serviceExecutions/index.d.ts +0 -1
- package/dist/sdk/api/resources/serviceExecutions/index.js +0 -17
- package/dist/sdk/api/resources/serviceJobs/client/Client.d.ts +0 -138
- package/dist/sdk/api/resources/serviceJobs/client/Client.js +0 -489
- package/dist/sdk/api/resources/serviceJobs/client/index.d.ts +0 -2
- package/dist/sdk/api/resources/serviceJobs/client/index.js +0 -17
- package/dist/sdk/api/resources/serviceJobs/client/requests/CreateServiceJobRequest.d.ts +0 -15
- package/dist/sdk/api/resources/serviceJobs/client/requests/CreateServiceJobRequest.js +0 -5
- package/dist/sdk/api/resources/serviceJobs/client/requests/index.d.ts +0 -1
- package/dist/sdk/api/resources/serviceJobs/client/requests/index.js +0 -2
- package/dist/sdk/api/resources/serviceJobs/index.d.ts +0 -1
- package/dist/sdk/api/resources/serviceJobs/index.js +0 -17
- package/dist/sdk/api/types/ActivityInstance.d.ts +0 -20
- package/dist/sdk/api/types/ActivityInstance.js +0 -14
- package/dist/sdk/api/types/DataPoolDto.d.ts +0 -28
- package/dist/sdk/api/types/DataPoolDto.js +0 -14
- package/dist/sdk/api/types/DataPoolFileDto.d.ts +0 -19
- package/dist/sdk/api/types/DataPoolFileDto.js +0 -5
- package/dist/sdk/api/types/LogEntry.d.ts +0 -24
- package/dist/sdk/api/types/LogEntry.js +0 -16
- package/dist/sdk/api/types/MetricDataPoint.d.ts +0 -12
- package/dist/sdk/api/types/MetricDataPoint.js +0 -5
- package/dist/sdk/api/types/OauthScope.d.ts +0 -9
- package/dist/sdk/api/types/OauthScope.js +0 -9
- package/dist/sdk/api/types/ServiceExecutionDto.d.ts +0 -21
- package/dist/sdk/api/types/ServiceExecutionDto.js +0 -17
- package/dist/sdk/api/types/ServiceExecutionLogs.d.ts +0 -5
- package/dist/sdk/api/types/ServiceExecutionLogs.js +0 -5
- package/dist/sdk/api/types/ServiceExecutionMetrics.d.ts +0 -23
- package/dist/sdk/api/types/ServiceExecutionMetrics.js +0 -5
- package/dist/sdk/api/types/ServiceJobDto.d.ts +0 -46
- package/dist/sdk/api/types/ServiceJobDto.js +0 -22
- package/dist/sdk/api/types/VariableInstance.d.ts +0 -9
- package/dist/sdk/api/types/VariableInstance.js +0 -5
- package/dist/sdk/api/types/WorkflowInstance.d.ts +0 -23
- package/dist/sdk/api/types/WorkflowInstance.js +0 -17
- package/dist/sdk/api/types/WorkflowServiceExecutionDto.d.ts +0 -8
- package/dist/sdk/api/types/WorkflowServiceExecutionDto.js +0 -5
- package/dist/sdk/api/types/index.d.ts +0 -13
- package/dist/sdk/api/types/index.js +0 -29
- package/dist/sdk/core/exports.d.ts +0 -1
- package/dist/sdk/core/exports.js +0 -17
- package/dist/sdk/core/fetcher/APIResponse.d.ts +0 -20
- package/dist/sdk/core/fetcher/APIResponse.js +0 -2
- package/dist/sdk/core/fetcher/BinaryResponse.d.ts +0 -20
- package/dist/sdk/core/fetcher/BinaryResponse.js +0 -17
- package/dist/sdk/core/fetcher/Fetcher.d.ts +0 -40
- package/dist/sdk/core/fetcher/Fetcher.js +0 -105
- package/dist/sdk/core/fetcher/Headers.d.ts +0 -2
- package/dist/sdk/core/fetcher/Headers.js +0 -85
- package/dist/sdk/core/fetcher/HttpResponsePromise.d.ts +0 -58
- package/dist/sdk/core/fetcher/HttpResponsePromise.js +0 -94
- package/dist/sdk/core/fetcher/RawResponse.d.ts +0 -29
- package/dist/sdk/core/fetcher/RawResponse.js +0 -44
- package/dist/sdk/core/fetcher/ResponseWithBody.d.ts +0 -4
- package/dist/sdk/core/fetcher/ResponseWithBody.js +0 -6
- package/dist/sdk/core/fetcher/Supplier.d.ts +0 -4
- package/dist/sdk/core/fetcher/Supplier.js +0 -13
- package/dist/sdk/core/fetcher/createRequestUrl.d.ts +0 -1
- package/dist/sdk/core/fetcher/createRequestUrl.js +0 -8
- package/dist/sdk/core/fetcher/getErrorResponseBody.d.ts +0 -1
- package/dist/sdk/core/fetcher/getErrorResponseBody.js +0 -32
- package/dist/sdk/core/fetcher/getFetchFn.d.ts +0 -1
- package/dist/sdk/core/fetcher/getFetchFn.js +0 -6
- package/dist/sdk/core/fetcher/getHeader.d.ts +0 -1
- package/dist/sdk/core/fetcher/getHeader.js +0 -11
- package/dist/sdk/core/fetcher/getRequestBody.d.ts +0 -7
- package/dist/sdk/core/fetcher/getRequestBody.js +0 -12
- package/dist/sdk/core/fetcher/getResponseBody.d.ts +0 -1
- package/dist/sdk/core/fetcher/getResponseBody.js +0 -44
- package/dist/sdk/core/fetcher/index.d.ts +0 -9
- package/dist/sdk/core/fetcher/index.js +0 -15
- package/dist/sdk/core/fetcher/makeRequest.d.ts +0 -1
- package/dist/sdk/core/fetcher/makeRequest.js +0 -33
- package/dist/sdk/core/fetcher/requestWithRetries.d.ts +0 -1
- package/dist/sdk/core/fetcher/requestWithRetries.js +0 -29
- package/dist/sdk/core/fetcher/signals.d.ts +0 -11
- package/dist/sdk/core/fetcher/signals.js +0 -36
- package/dist/sdk/core/file/exports.d.ts +0 -1
- package/dist/sdk/core/file/exports.js +0 -2
- package/dist/sdk/core/file/file.d.ts +0 -5
- package/dist/sdk/core/file/file.js +0 -185
- package/dist/sdk/core/file/index.d.ts +0 -2
- package/dist/sdk/core/file/index.js +0 -18
- package/dist/sdk/core/file/types.d.ts +0 -66
- package/dist/sdk/core/file/types.js +0 -2
- package/dist/sdk/core/form-data-utils/FormDataWrapper.d.ts +0 -16
- package/dist/sdk/core/form-data-utils/FormDataWrapper.js +0 -175
- package/dist/sdk/core/form-data-utils/encodeAsFormParameter.d.ts +0 -1
- package/dist/sdk/core/form-data-utils/encodeAsFormParameter.js +0 -12
- package/dist/sdk/core/form-data-utils/index.d.ts +0 -2
- package/dist/sdk/core/form-data-utils/index.js +0 -20
- package/dist/sdk/core/headers.d.ts +0 -3
- package/dist/sdk/core/headers.js +0 -29
- package/dist/sdk/core/index.d.ts +0 -5
- package/dist/sdk/core/index.js +0 -44
- package/dist/sdk/core/json.d.ts +0 -15
- package/dist/sdk/core/json.js +0 -24
- package/dist/sdk/core/runtime/index.d.ts +0 -1
- package/dist/sdk/core/runtime/index.js +0 -5
- package/dist/sdk/core/runtime/runtime.d.ts +0 -9
- package/dist/sdk/core/runtime/runtime.js +0 -101
- package/dist/sdk/core/url/index.d.ts +0 -2
- package/dist/sdk/core/url/index.js +0 -7
- package/dist/sdk/core/url/join.d.ts +0 -1
- package/dist/sdk/core/url/join.js +0 -69
- package/dist/sdk/core/url/qs.d.ts +0 -6
- package/dist/sdk/core/url/qs.js +0 -67
- package/dist/sdk/environments.d.ts +0 -7
- package/dist/sdk/environments.js +0 -9
- package/dist/sdk/errors/PlanqkApiError.d.ts +0 -15
- package/dist/sdk/errors/PlanqkApiError.js +0 -33
- package/dist/sdk/errors/PlanqkApiTimeoutError.d.ts +0 -6
- package/dist/sdk/errors/PlanqkApiTimeoutError.js +0 -13
- package/dist/sdk/errors/index.d.ts +0 -2
- package/dist/sdk/errors/index.js +0 -7
- package/dist/sdk/exports.d.ts +0 -1
- package/dist/sdk/exports.js +0 -17
- package/dist/sdk/index.d.ts +0 -5
- package/dist/sdk/index.js +0 -48
package/README-node.md
CHANGED
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
> **⚠️ DEPRECATED ⚠️**
|
|
2
|
+
>
|
|
3
|
+
> **This package has been deprecated and is no longer maintained.**
|
|
4
|
+
>
|
|
5
|
+
> Please migrate to the new package:
|
|
6
|
+
> - PyPI: **[`qhub-api`](https://pypi.org/project/qhub-api)**
|
|
7
|
+
> - NPM: **[`@quantum-hub/qhub-api`](https://www.npmjs.com/package/@quantum-hub/qhub-api)**
|
|
8
|
+
>
|
|
9
|
+
> Install the new package:
|
|
10
|
+
> ```bash
|
|
11
|
+
> pip install qhub-api
|
|
12
|
+
> # or
|
|
13
|
+
> npm install @quantum-hub/qhub-api
|
|
14
|
+
> ```
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
1
18
|
# PLANQK API SDK
|
|
2
19
|
|
|
3
20
|
## Installation
|
package/README-python.md
CHANGED
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
> **⚠️ DEPRECATED ⚠️**
|
|
2
|
+
>
|
|
3
|
+
> **This package has been deprecated and is no longer maintained.**
|
|
4
|
+
>
|
|
5
|
+
> Please migrate to the new package:
|
|
6
|
+
> - PyPI: **[`qhub-api`](https://pypi.org/project/qhub-api)**
|
|
7
|
+
> - NPM: **[`@quantum-hub/qhub-api`](https://www.npmjs.com/package/@quantum-hub/qhub-api)**
|
|
8
|
+
>
|
|
9
|
+
> Install the new package:
|
|
10
|
+
> ```bash
|
|
11
|
+
> pip install qhub-api
|
|
12
|
+
> # or
|
|
13
|
+
> npm install @quantum-hub/qhub-api
|
|
14
|
+
> ```
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
1
18
|
# PLANQK API SDK
|
|
2
19
|
|
|
3
20
|
## Installation
|
package/README.md
CHANGED
|
@@ -1,13 +1,73 @@
|
|
|
1
|
-
|
|
1
|
+
> **⚠️ DEPRECATED ⚠️**
|
|
2
|
+
>
|
|
3
|
+
> **This package has been deprecated and is no longer maintained.**
|
|
4
|
+
>
|
|
5
|
+
> Please migrate to the new package:
|
|
6
|
+
> - PyPI: **[`qhub-api`](https://pypi.org/project/qhub-api)**
|
|
7
|
+
> - NPM: **[`@quantum-hub/qhub-api`](https://www.npmjs.com/package/@quantum-hub/qhub-api)**
|
|
8
|
+
>
|
|
9
|
+
> Install the new package:
|
|
10
|
+
> ```bash
|
|
11
|
+
> pip install qhub-api
|
|
12
|
+
> # or
|
|
13
|
+
> npm install @quantum-hub/qhub-api
|
|
14
|
+
> ```
|
|
2
15
|
|
|
3
|
-
|
|
16
|
+
---
|
|
4
17
|
|
|
5
|
-
|
|
18
|
+
# planqk-api-sdk
|
|
19
|
+
|
|
20
|
+
This repository contains the SDK to interact with the official PLANQK API.
|
|
21
|
+
The clients are generated from a [OpenAPI](https://swagger.io/specification) description using [Fern](https://buildwithfern.com).
|
|
22
|
+
The generated clients are a baseline, and the idea is to adapt and extend them to our specific needs.
|
|
23
|
+
|
|
24
|
+
## Generate the SDK clients with Fern
|
|
25
|
+
|
|
26
|
+
> <https://buildwithfern.com/docs/getting-started>
|
|
6
27
|
|
|
7
28
|
```bash
|
|
8
|
-
npm install
|
|
29
|
+
npm install -g fern-api
|
|
30
|
+
fern upgrade
|
|
31
|
+
fern generate
|
|
9
32
|
```
|
|
10
33
|
|
|
11
|
-
##
|
|
34
|
+
## Python Setup
|
|
35
|
+
|
|
36
|
+
To create a new virtual environment and install the dependencies, run:
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
uv venv
|
|
40
|
+
source .venv/bin/activate
|
|
41
|
+
|
|
42
|
+
uv sync
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Update dependencies and lock files:
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
uv sync -U
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## How to update the Python client?
|
|
52
|
+
|
|
53
|
+
After generating the SDK clients with Fern, the Python client needs to be copied manually.
|
|
54
|
+
|
|
55
|
+
Copy the content of `./generated/python` to `./planqk/api/sdk`.
|
|
56
|
+
Make sure you overwrite any existing files.
|
|
57
|
+
It is recommended to remove the old files first.
|
|
58
|
+
|
|
59
|
+
Next, check if the changes are compatible with our wrapper, e.g., by running the Jupyter notebook in the `notebooks` directory.
|
|
60
|
+
|
|
61
|
+
## How to update the TypeScript client?
|
|
62
|
+
|
|
63
|
+
After generating the SDK clients with Fern, the TypeScript client needs to be copied manually.
|
|
64
|
+
|
|
65
|
+
Copy the content of `./generated/typescript` to `./typescript/src/sdk`.
|
|
66
|
+
Make sure you overwrite any existing files.
|
|
67
|
+
It is recommended to remove the old files first.
|
|
68
|
+
|
|
69
|
+
Next, check if the changes are compatible with our wrapper, e.g., by running the `index.test.ts` file.
|
|
70
|
+
|
|
71
|
+
## License
|
|
12
72
|
|
|
13
|
-
|
|
73
|
+
Apache-2.0 | Copyright 2025 Kipu Quantum GmbH
|
package/package.json
CHANGED
package/planqk/api/_version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "1.9.
|
|
1
|
+
__version__ = "1.9.3"
|