--- id: databricks-api version: "0.9.0" license: MIT license_treatment: permissive maintenance: abandoned --- # databricks-api — Databricks API client auto-generated from the official databricks-cli package License: permissive · Maintenance: abandoned · Downloads: 2.7M/mo ## What it is and what it does databricks-api is a thin wrapper around the databricks-cli package that auto-generates a simplified Python interface to the Databricks REST API. It exposes a DatabricksAPI class with attributes for each service (jobs, clusters, policies, workspaces, secrets, groups, tokens, instance pools, delta pipelines, and repos), allowing you to call methods on those services directly without manually constructing HTTP requests. The package is no longer maintained—its last release was June 2023, and the repository is archived. Databricks officially recommends switching to the databricks-sdk package instead. If you are already using databricks-cli or have legacy code depending on this wrapper, it will continue to work as long as databricks-cli itself receives updates, but new projects should use the official SDK. Use it for: - Manage Databricks jobs programmatically—create, run, cancel, and monitor job execution. - Automate cluster operations such as creating, resizing, starting, and stopping clusters. - Administer workspace resources including notebooks, folders, and permissions. - Manage secrets and access tokens for Databricks workspace authentication. - Control instance pools and delta pipelines through Python scripts. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides a simplified Python interface to the Databricks REST API by wrapping the databricks-cli client library, exposing service instances for jobs, clusters, policies, workspaces, and other Databricks resources. No. The package is abandoned (last release June 2023) and explicitly directs users to the official databricks-sdk instead. While it has low install friction and no known vulnerabilities, using an unmaintained wrapper around databricks-cli introduces maintenance risk. Start with databricks-sdk for new projects; only use databricks-api if you have existing code that depends on it and cannot migrate. ## Install pip install databricks-api uv add databricks-api poetry add databricks-api ## Installing databricks-api Before you install: Low install friction, but the package is abandoned as of June 2023 (1163 days without release). The official Databricks SDK for Python is the recommended replacement; this package is maintained only by databricks-cli, which it wraps. License in practice: MIT license is permissive and imposes no significant restrictions on use or redistribution. Quickstart: pip install databricks-api from databricks_api import DatabricksAPI db = DatabricksAPI( host="example.cloud.databricks.com", token="dpapi123..." ) db.jobs.list_jobs() Requires a Databricks workspace host URL and either a token or user/password credentials. Verify before relying: - Whether databricks-cli itself remains actively maintained and receives security updates - Compatibility of databricks-cli version 0.17.0 with current Databricks API changes since June 2023 ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: abandoned - Downloads: 2.7M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags databricks rest api client, databricks job management python, databricks cluster control, databricks workspace api, databricks automation sdk, databricks, deprecated, api-wrapper [View on SkillFed](https://skillfed.io/packages/databricks-api) · [View on PyPI](https://pypi.org/project/databricks-api/)