databricks-python-sdk

Automate Databricks SDK workflows for Python developers.

1.8k|404|Updated Dec 17, 2025
One-click install
npx skills add https://github.com/databricks-solutions/ai-dev-kit --skill databricks-python-sdk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: databricks-python-sdk
Source: https://github.com/databricks-solutions/ai-dev-kit/tree/main/.claude/skills/databricks-python-sdk
Command: npx skills add https://github.com/databricks-solutions/ai-dev-kit --skill databricks-python-sdk

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Databricks Python SDK users struggle to integrate the SDK, Databricks Connect, CLI, and REST API into automation workflows.

Core Features & Use Cases

  • SDK usage guidance across authentication, workspace operations, and API surfaces.
  • Practical examples for common tasks like listing clusters, starting jobs, and querying SQL warehouses.
  • Use case: automate recurring Databricks maintenance and data engineering pipelines.

Quick Start

Install the databricks-sdk package, configure authentication via environment variables or ~/.databrickscfg, and run a simple WorkspaceClient example to list clusters.

Frequently Asked Questions about databricks-python-sdk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I authenticate the Databricks Python SDK in my automation scripts?

To authenticate the Databricks Python SDK, configure environment variables or the ~/.databrickscfg file with your workspace credentials, then initialize a WorkspaceClient instance to access the REST API.

What is the best way to automate recurring Databricks maintenance tasks using Python?

Automating Databricks maintenance is best handled by using the Python SDK to programmatically list clusters, start jobs, and query SQL warehouses through runnable Python examples.

Can I use Databricks Connect and the CLI alongside the Python SDK in the same project?

Yes, you can use Databricks Connect and the CLI alongside the Python SDK in the same project, as the SDK provides usage patterns that integrate these tools for unified workspace operations.

How do I list clusters and query SQL warehouses with the Databricks REST API in Python?

You list clusters and query SQL warehouses by installing the databricks-sdk package, configuring authentication, and running a simple WorkspaceClient example to call the REST API.

Does the Databricks Python SDK require any specific environment setup before installation?

The Databricks Python SDK requires a Python environment with the databricks-sdk package installed and valid workspace authentication configured via environment variables or a config file.