Skip to main content

QCI Connect SDK   Mini Server Repository

Miniserver

This python package is used to locally execute the compilers and simulators of the QCI Connect platform of the German Aerospace Center (DLR). It is a component of the full QCI Connect SDK and can interface as a server with the API Client, substituting the QCI Connect platform.

It allows to

  1. locally develop algorithms with the goal to integrate them to the platform,
  2. prototype quickly, and
  3. run algorithms on the local computer using the standard interfaces of the QCI Connect API Client.

Quick Start (Pip Installation)

The miniserver requires Docker to be installed.

  • Run pip install qciconnect-miniserver qciconnect-client
  • Build compiler images that you want to use (see instructions below for building the example compilers included in the miniserver repository)
  • Start the server with the compiler path miniserver -c path_to_compilers_folder
  • Connect API Client with the server as described in the example notebook

Working on Source Code (Dev Mode)

Clone the repository (or download the .tar.gz file), initialize the git submodules, then install dependencies.

We recommend using ultraviolet (installation guide).

git submodule update --init
uv sync

You can now activate the .venv in the source directory or use uv to run commands in the .venv, e. g., uv run python my_script.py.

Using the Miniserver (Dev Mode)

The following steps provide a quick start guide for programmatically interacting with the local development environment.

Build Compiler Image

First, verify that Docker (including the Docker Compose plugin) is installed, then build the compiler step images as follows:

cd deployment/docker-dev
docker compose build --no-cache

Start Miniserver

Next, you’re ready to start the miniserver:

uv sync
source .venv/bin/activate
miniserver

or

uv run miniserver

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>

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qciconnect_miniserver-0.5.0.tar.gz (16.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qciconnect_miniserver-0.5.0-py3-none-any.whl (21.2 kB view details)

Uploaded Python 3

File details

Details for the file qciconnect_miniserver-0.5.0.tar.gz.

File metadata

  • Download URL: qciconnect_miniserver-0.5.0.tar.gz
  • Upload date:
  • Size: 16.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for qciconnect_miniserver-0.5.0.tar.gz
Algorithm Hash digest
SHA256 5347135e9672aeb1a75eaf8b9adbad690311fffede09fbe35b40e1381f9fbb7b
MD5 88ceb8e545288f0562b8daab40b837ce
BLAKE2b-256 09f4f7828f31591658a210855ae3249819cba64eb9eebaa4f1256fdad3de8a00

See more details on using hashes here.

File details

Details for the file qciconnect_miniserver-0.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for qciconnect_miniserver-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7a6e4051565022c83c214b7c9189a1b7d91a2a02218df5aee832fcea0626fe87
MD5 9f27700e4a8a1a6f3f955e3034f64731
BLAKE2b-256 edebedfa4eb8b1e04ee6956e296b6c124744f257a65c77d9002fcf53ea058a56

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 files

0.4.2

2 files

0.3.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page