databricks-api
Databricks API client auto-generated from the official databricks-cli package
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 on this page — 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
databricks-api on PyPI
pip
pip install databricks-apiuv
uv add databricks-apipoetry
poetry add databricks-apiInstalling 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 the current Python release (>=3.6,<4.0) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — databricks-cli |
| Maintenance | abandoned — 1,163 days since the last release |
| Last repo commit | (repository archived) |
| First released | |
| Downloads | 2,699,817/month — #2,936 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: databricks_api-0.9.0-py3-none-any.whl
Keywords: databricks, api, client
Tags
More Database packages
psycopg2-binary is a PostgreSQL database…
copyleft · top 1,000 on PyPI
redisPython client library for connecting to and…
permissive · top 1,000 on PyPI
ydbYDB Python SDK is the official client library…
permissive · top 1,000 on PyPI
snowflake-connector-pythonConnects Python applications to Snowflake data…
permissive · top 1,000 on PyPI
sqlparsesqlparse tokenizes SQL text into a tree of…
permissive · top 1,000 on PyPI
dbt-adaptersProvides base adapter protocols and shared…
permissive · top 1,000 on PyPI
databricksapiA Python wrapper for the Databricks REST API…
permissive · top 15,000 on PyPI
wmillwmill is a Python client library for the…
permissive · top 5,000 on PyPI
databricks-cliA command-line interface for interacting with…
permissive · top 5,000 on PyPI
databricks-sdkProvides Python bindings to all public…
permissive · top 1,000 on PyPI
pulumi-databricksA Pulumi resource provider that lets you…
permissive · top 15,000 on PyPI
databricks-connectDatabricks Connect is a client library that…
unclear · top 5,000 on PyPI
sqlalchemy-databricksProvides a SQLAlchemy dialect that connects to…
permissive · top 15,000 on PyPI
databricks-bundlesExtends Databricks Declarative Automation…
unclear · top 5,000 on PyPI
dbl-sat-sdkRetrieves profile and metadata information…
unclear · top 15,000 on PyPI
databricks-sql-connectorA Python client library that connects to…
permissive · top 1,000 on PyPI