Skip to main content
Version: devel

Installation

Supported Python versions

dltHub currently supports Python versions 3.9-3.13.

Quickstart

To install the dlt[workspace] package, create a new Python virtual environment and run:

uv pip install "dlt[workspace]"

This will install dlt with several additional dependencies you'll need for local development: arrow, marimo, mcp, and a few others. If you need to install uv (a modern package manager), please refer to the next section.

Enable dltHub Free tier features

info

The most recent dltHub Free tier features like profiles are hidden behind a feature flag, which means you need to manually enable them before use.

To activate these features, create an empty .dlt/.workspace file in your project directory; this tells dlt to switch from the classic project mode to the Workspace mode.

mkdir -p .dlt && touch .dlt/.workspace

Enable features that require a license

Licensed features come with a commercial Python dlthub package:

uv pip install -U dlthub

Please install a valid license before proceeding, as described under licensing.

Setting up your environment

Configuration of the Python environment

In this documentation, we use uv (a modern package manager) to install Python versions, manage virtual environments, and manage project dependencies. To install uv, you can use pip or follow the OS-specific installation instructions.

Once you have uv installed you can pick any Python version supported by it:

uv python install 3.13

or use any Python version you have installed on your system.

Virtual environment

We recommend working within a virtual environment when creating Python projects. This way, all the dependencies for your current project will be isolated from packages in other projects. With uv, run:

uv venv

This will create a virtual environment in the .venv folder using the default system Python version.

uv venv --python 3.13

This will use Python 3.13 for your virtual environment.

Activate the virtual environment using the instructions displayed by uv, i.e.:

source .venv/bin/activate

Licensing

To access dltHub’s paid features, such as Iceberg support or Python-based transformations, you need a dltHub Software License.

  1. Contact us if you want to purchase a license or get a trial license with unlimited use.
  2. Issue a limited trial license yourself.

Install your license

If you've received your license from us, you can install it in one of two ways:

In the secrets.toml file:

license = "your-dlthub-license-key"

As an environment variable:

export DLT_LICENSE_KEY="your-dlthub-license-key"

Features requiring a license:

For more information about the feature scopes, see Scopes. Please, also review our End User License Agreement

Self-licensing

You can self-issue an anonymous 30-day trial license to explore dltHub’s paid features. This trial license is intended for development, education, and CI operations only. Self-issued licenses are bound to the specific machine on which they were created. They cannot be transferred or reused on other machines, workspaces, or environments.

See the Special Terms in our EULA for more details.

Issue a Trial License

Choose a scope for the feature you want to test, then issue a license with:

dlt license issue <scope>

for example:

dlt license issue dlthub.transformation

This will do the following:

  • Issue a new license (or merge with existing scopes) for the transformations feature.
  • Print your license key in the CLI output.
  • Put the license key into your toml file.

Scopes

Display available scopes by running the following command:

dlt license scopes

You can self-issue multiple licenses; newly issued licenses will automatically include previously granted features.

To view your installed licenses:

dlt license info

This demo works on codespaces. Codespaces is a development environment available for free to anyone with a Github account. You'll be asked to fork the demo repository and from there the README guides you with further steps.
The demo uses the Continue VSCode extension.

Off to codespaces!

DHelp

Ask a question

Welcome to "Codex Central", your next-gen help center, driven by OpenAI's GPT-4 model. It's more than just a forum or a FAQ hub – it's a dynamic knowledge base where coders can find AI-assisted solutions to their pressing problems. With GPT-4's powerful comprehension and predictive abilities, Codex Central provides instantaneous issue resolution, insightful debugging, and personalized guidance. Get your code running smoothly with the unparalleled support at Codex Central - coding help reimagined with AI prowess.