Mini server for local development
Project description
QCI Connect Miniserver
This is a python package to locally execute the compilers and simulators of the DLR's QCI Connect platform. It also allows (a) to locally develop algorithms with the goal to integrate them to the platform, (b) to prototype quickly, and (c) to run algorithms on the local computer using the same interface as with QCI Connect API Client.
Checkout Workspace
Once the workspace is cloned, the full functionality of the local compiler base can be initialised as:
git submodule update --init
Quick start for develop mode
The following steps provide a quick start guide for programmatically interacting with the local development environment.
First, verify that Docker (including the Docker Compose plugin) is installed, then build the compiler step images as follows:
cd deployment/docker-dev
cat <token-file> | docker login -u <USER> --password-stdin registry.hzdr.de
docker compose build --no-cache
Next, you’re ready to start the miniserver:
uv sync
source .venv/bin/activate
miniserver
To build the wheel and/or the source distribution (tar.gz), run:
uv build
Troubleshooting
Miniserver
In case you need to restart the miniserver just stop it through CTR+C or
miniserver stop
It could be that miniserver does not restart properly due to compiler-containers still running from previous sections
docker rm -v -f <compiler-container-list>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qciconnect_miniserver-0.3.0.tar.gz.
File metadata
- Download URL: qciconnect_miniserver-0.3.0.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8217083e63ba99657a71a0201f90e8ee7cc0e4066b2656a306d2a93a258f37f5
|
|
| MD5 |
74c74848e94f5d4d64e2b0d9930f1703
|
|
| BLAKE2b-256 |
3032325baf3adf5e0ae56eae9c93c16749d15f59e3ea4c8781035f3b582f35a1
|
File details
Details for the file qciconnect_miniserver-0.3.0-py3-none-any.whl.
File metadata
- Download URL: qciconnect_miniserver-0.3.0-py3-none-any.whl
- Upload date:
- Size: 14.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c527339a91b4c88c86c0ec4d2d3ec83f32ddb6fe77237f31432e4875e4554b50
|
|
| MD5 |
9ed3243260e576bb28a762c1b1c04f2e
|
|
| BLAKE2b-256 |
a1facab6d4053bbfc83cbe8de4002b5e0f71f47717751ea4af7a61825abc8b96
|