planqk-python-template


Nameplanqk-python-template JSON
Version 2.0.3 PyPI version JSON
download
home_pagehttps://gitlab.com/planqk-foss/planqk-python-template
SummaryRuntime utilities to boost PlanQK Managed Services.
upload_time2024-12-11 09:15:22
maintainerNone
docs_urlNone
authorKipu Quantum GmbH
requires_python>=3.9
licenseapache-2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # planqk-python-template

## Development

### Setup

```bash
conda env create -f environment.yml
conda activate planqk-python-template
```

### Run tests

```bash
pytest
```

### Run it locally

```bash
python3 -m src
```

## Run with Docker

### Build the parent image

```bash
docker build -t registry.gitlab.com/planqk-foss/planqk-python-template .
```

### Build the service image

```bash
cd user_code
zip -r ../user_code.zip .
cd ..

docker build --build-arg USER_CODE_FILE=user_code.zip -t planqk-service --file dockerfile-template/Dockerfile .
```

### Run the service image

Run the `planqk-service` as follows:

```bash
docker run -it planqk-service
```

## License

Apache-2.0 | Copyright 2023-2024 Kipu Quantum GmbH

            

Raw data

            {
    "_id": null,
    "home_page": "https://gitlab.com/planqk-foss/planqk-python-template",
    "name": "planqk-python-template",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": "Kipu Quantum GmbH",
    "author_email": "info@kipu-quantum.com",
    "download_url": "https://files.pythonhosted.org/packages/8e/e9/806e9883ec19dc16e8aacafd0eb4b2d9887881579f483a838a92cce42f72/planqk_python_template-2.0.3.tar.gz",
    "platform": null,
    "description": "# planqk-python-template\n\n## Development\n\n### Setup\n\n```bash\nconda env create -f environment.yml\nconda activate planqk-python-template\n```\n\n### Run tests\n\n```bash\npytest\n```\n\n### Run it locally\n\n```bash\npython3 -m src\n```\n\n## Run with Docker\n\n### Build the parent image\n\n```bash\ndocker build -t registry.gitlab.com/planqk-foss/planqk-python-template .\n```\n\n### Build the service image\n\n```bash\ncd user_code\nzip -r ../user_code.zip .\ncd ..\n\ndocker build --build-arg USER_CODE_FILE=user_code.zip -t planqk-service --file dockerfile-template/Dockerfile .\n```\n\n### Run the service image\n\nRun the `planqk-service` as follows:\n\n```bash\ndocker run -it planqk-service\n```\n\n## License\n\nApache-2.0 | Copyright 2023-2024 Kipu Quantum GmbH\n",
    "bugtrack_url": null,
    "license": "apache-2.0",
    "summary": "Runtime utilities to boost PlanQK Managed Services.",
    "version": "2.0.3",
    "project_urls": {
        "Homepage": "https://gitlab.com/planqk-foss/planqk-python-template"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ae2fdb32a634476f0a34357b15beb36a80cf2252e33d5915d43f14d8ddef492e",
                "md5": "3b78685d080c909390e524424b57e1e2",
                "sha256": "5053c92e902a6d652c235cc4ed129f54c9ae564020a71ae7714beef71fd59fad"
            },
            "downloads": -1,
            "filename": "planqk_python_template-2.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3b78685d080c909390e524424b57e1e2",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 11947,
            "upload_time": "2024-12-11T09:15:20",
            "upload_time_iso_8601": "2024-12-11T09:15:20.887835Z",
            "url": "https://files.pythonhosted.org/packages/ae/2f/db32a634476f0a34357b15beb36a80cf2252e33d5915d43f14d8ddef492e/planqk_python_template-2.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8ee9806e9883ec19dc16e8aacafd0eb4b2d9887881579f483a838a92cce42f72",
                "md5": "d3a6dcb904ef15239e7ee23d065aef59",
                "sha256": "ef4172d0935a11eb0cb0a435d9820344a0191cb47c3d0495916e02c54fe56428"
            },
            "downloads": -1,
            "filename": "planqk_python_template-2.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "d3a6dcb904ef15239e7ee23d065aef59",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 10056,
            "upload_time": "2024-12-11T09:15:22",
            "upload_time_iso_8601": "2024-12-11T09:15:22.949758Z",
            "url": "https://files.pythonhosted.org/packages/8e/e9/806e9883ec19dc16e8aacafd0eb4b2d9887881579f483a838a92cce42f72/planqk_python_template-2.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-11 09:15:22",
    "github": false,
    "gitlab": true,
    "bitbucket": false,
    "codeberg": false,
    "gitlab_user": "planqk-foss",
    "gitlab_project": "planqk-python-template",
    "lcname": "planqk-python-template"
}
        
Elapsed time: 0.42377s