Skip to content

Python SDK

The datatailr Python package provides a complete SDK for interacting with the Datatailr platform — scheduling workflows, managing users and groups, working with blob storage, key-value stores, secrets, and more.

Using in a Workspace

The Python SDK is already pre-installed in every Datatailr workspace. You can start using it immediately without any setup:

import datatailr

print(datatailr.__version__)

Installing Locally

You can also install the SDK on your laptop or PC without installing the full Datatailr platform and connect to a remote cluster.

1. Install the package

pip install datatailr

2. Set up the remote CLI

datatailr setup-cli

3. Log in to your cluster

dt login

Once authenticated, the SDK will communicate with your remote Datatailr cluster and you can schedule jobs, manage data, and use all SDK features directly from your local machine.

Note

  • Remote CLI configuration inside a virtual environment only applies within that environment.
  • The remote CLI cannot be installed inside Datatailr containers; the native CLI is used there.