Installation

You can install the DASL client library using pip, and it works with Python 3.8 and later.

Requirements

  • Python >= 3.8

  • Access to a Databricks workspace with DASL enabled

  • (Optional) Active Databricks notebook session for automatic authentication

Install via pip

Install the latest stable version:

pip install dasl-client

Dependencies

The DASL client has the following key dependencies:

  • dasl_api: Auto-generated API client for DASL services

  • databricks-sdk: Official Databricks SDK for Python

  • pydantic: Data validation and serialization

  • typing_extensions: Enhanced type annotations

These dependencies are automatically installed when you install the DASL client.

In a Databricks Notebook

If you’re working in a Databricks notebook, you can install the client directly in a cell:

%pip install dasl-client

Then restart your Python kernel and verify the installation:

# After kernel restart
from dasl_client import Client

# This should work in a Databricks environment
client = Client.for_workspace()
print("Successfully connected to DASL!")

Troubleshooting

Import Errors

If you encounter import errors, ensure you’re using Python 3.8 or later and that all dependencies are properly installed.

Version Conflicts

If you have conflicts with existing packages, consider using a virtual environment:

python -m venv dasl_env
source dasl_env/bin/activate  # On Windows: dasl_env\Scripts\activate
pip install dasl-client

Next Steps

Once installed, proceed to the Quick Start Guide guide to begin using the DASL client.