scaleway-qaas-client


Namescaleway-qaas-client JSON
Version 0.1.14 PyPI version JSON
download
home_pageNone
Summary('Python client providing primitives to be used from other quantum SDKs',)
upload_time2025-07-30 12:13:18
maintainerNone
docs_urlNone
authorThe Scaleway Developers
requires_python>=3.12.0
licenseApache 2
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Python client for Scaleway's Quantum as a Service

This Python package is basically a HTTPX client based on Pydantic over the [Quantum as a Service API](https://www.scaleway.com/en/developers/api/qaas/).

This package is intented to be used from quantum circuit SDK such as Qiskit, Cirq, Perceval and so-on.

## Installation

We encourage installing this package via the pip tool (a Python package manager):

```bash
pip install scaleway-qaas-client
```

## Getting started

To use the client, you need to have an access secret_key and a Scaleway's project_id

```python
from scaleway_qaas_client import QaaSClient

client = QaaSClient(
    project_id=os.environ["SCALEWAY_PROJECT_ID"], # Your project ID in UUID format
    secret_key=os.environ["SCALEWAY_SECRET_KEY"], # Your personal secret key in UUID format
)

platforms = client.list_platforms(name="aer_simulation_pop_c16m128")

target_platform = platforms[0]

session = client.create_session(platform_id=target_platform.id, max_duration="2min", max_idle_duration="2min")

while session.status == "starting":
    session = client.get_session(session.id)
    time.sleep(3)

client.delete_session(session.id)
```

## Development
This repository is at its early stage and is still in active development. If you are looking for a way to contribute please read [CONTRIBUTING.md](CONTRIBUTING.md).

## Reach us
We love feedback. Feel free to reach us on [Scaleway Slack community](https://slack.scaleway.com/), we are waiting for you on [#opensource](https://scaleway-community.slack.com/app_redirect?channel=opensource)..

## License
[License Apache 2.0](LICENSE)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "scaleway-qaas-client",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.12.0",
    "maintainer_email": null,
    "keywords": null,
    "author": "The Scaleway Developers",
    "author_email": "vmacheret@scaleway.com",
    "download_url": "https://files.pythonhosted.org/packages/ae/8d/640cedc5b9f19017b7f14de56a2197ebf12876b7aebe1a44910c1d69d052/scaleway_qaas_client-0.1.14.tar.gz",
    "platform": null,
    "description": "# Python client for Scaleway's Quantum as a Service\n\nThis Python package is basically a HTTPX client based on Pydantic over the [Quantum as a Service API](https://www.scaleway.com/en/developers/api/qaas/).\n\nThis package is intented to be used from quantum circuit SDK such as Qiskit, Cirq, Perceval and so-on.\n\n## Installation\n\nWe encourage installing this package via the pip tool (a Python package manager):\n\n```bash\npip install scaleway-qaas-client\n```\n\n## Getting started\n\nTo use the client, you need to have an access secret_key and a Scaleway's project_id\n\n```python\nfrom scaleway_qaas_client import QaaSClient\n\nclient = QaaSClient(\n    project_id=os.environ[\"SCALEWAY_PROJECT_ID\"], # Your project ID in UUID format\n    secret_key=os.environ[\"SCALEWAY_SECRET_KEY\"], # Your personal secret key in UUID format\n)\n\nplatforms = client.list_platforms(name=\"aer_simulation_pop_c16m128\")\n\ntarget_platform = platforms[0]\n\nsession = client.create_session(platform_id=target_platform.id, max_duration=\"2min\", max_idle_duration=\"2min\")\n\nwhile session.status == \"starting\":\n    session = client.get_session(session.id)\n    time.sleep(3)\n\nclient.delete_session(session.id)\n```\n\n## Development\nThis repository is at its early stage and is still in active development. If you are looking for a way to contribute please read [CONTRIBUTING.md](CONTRIBUTING.md).\n\n## Reach us\nWe love feedback. Feel free to reach us on [Scaleway Slack community](https://slack.scaleway.com/), we are waiting for you on [#opensource](https://scaleway-community.slack.com/app_redirect?channel=opensource)..\n\n## License\n[License Apache 2.0](LICENSE)\n",
    "bugtrack_url": null,
    "license": "Apache 2",
    "summary": "('Python client providing primitives to be used from other quantum SDKs',)",
    "version": "0.1.14",
    "project_urls": {
        "Documentation": "https://www.scaleway.com/en/quantum-as-a-service/",
        "Source": "https://github.com/scaleway/scaleway-qaas-client-pythom",
        "Tracker": "https://github.com/scaleway/scaleway-qaas-client-pythom/issues"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "e781846c154a1371082963f6c63c49dfe231cd45ca7f0cd075195ccf27c4b2da",
                "md5": "46e32a6ad92b9c96a75833ee3a516679",
                "sha256": "5a025ffaa61ec5e0d955c151493a5380c4b12aa0c0b0bbf2c2f76927ded3a0f1"
            },
            "downloads": -1,
            "filename": "scaleway_qaas_client-0.1.14-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "46e32a6ad92b9c96a75833ee3a516679",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.12.0",
            "size": 116687,
            "upload_time": "2025-07-30T12:13:17",
            "upload_time_iso_8601": "2025-07-30T12:13:17.442182Z",
            "url": "https://files.pythonhosted.org/packages/e7/81/846c154a1371082963f6c63c49dfe231cd45ca7f0cd075195ccf27c4b2da/scaleway_qaas_client-0.1.14-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "ae8d640cedc5b9f19017b7f14de56a2197ebf12876b7aebe1a44910c1d69d052",
                "md5": "7d3f7c38c1678ffdd19dde26197ca8b5",
                "sha256": "483160f6aff4d2e2748f6d1fd1a4458a3bff1917a51a968e18d68ed226fd52ea"
            },
            "downloads": -1,
            "filename": "scaleway_qaas_client-0.1.14.tar.gz",
            "has_sig": false,
            "md5_digest": "7d3f7c38c1678ffdd19dde26197ca8b5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.12.0",
            "size": 44599,
            "upload_time": "2025-07-30T12:13:18",
            "upload_time_iso_8601": "2025-07-30T12:13:18.657811Z",
            "url": "https://files.pythonhosted.org/packages/ae/8d/640cedc5b9f19017b7f14de56a2197ebf12876b7aebe1a44910c1d69d052/scaleway_qaas_client-0.1.14.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-30 12:13:18",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "scaleway",
    "github_project": "scaleway-qaas-client-pythom",
    "github_not_found": true,
    "lcname": "scaleway-qaas-client"
}
        
Elapsed time: 0.84919s