Skip to content

QDL reference manual

This reference manual details the functions and objects included in the QDL CLI and SDK.

Installation

Currently, all QDL packages are stored on the GitLab registry instead of PyPI to limit access. For this reason, an extra flag is required when installing these packages with PIP:

CLI

pip install qdl-cli --extra-index-url https://gitlab.com/api/v4/projects/66914457/packages/pypi/simple

SDK

pip install qdl-sdk --extra-index-url https://gitlab.com/api/v4/projects/66914457/packages/pypi/simple

Both the CLI and SDK depend on the daemon to communicate with QDL. The daemon installation depends on the operating system and detailed instructions to install it can be found here. The following operating systems are supported:

  • Windows 10/11
  • MacOS 13+ (Ventura)
  • Ubuntu 20.04+ / Debian 11+ (Bullseye)

Authentication

Using the CLI, the login command can be used to access QDL with the SDK. Alternatively, an API token can be obtained via the CLI and set in the SDK:

WHEN MERGING WITH "getting started" DOCS, clearly describe the different authorisation flows (and why they exist), with the different types of tokens, and how to get them as a user / scope admin.

from qdl import set_token

set_token(api_token="TOKEN")

Note that an API token will not grant access to items which require scope admin privileges. These items can only be modified when the scope admin is logged in via the CLI.

Using QDL

See the tabs on the left for detailed information about functions and objects used to interact with QDL.