skillfed

databricks-api

Databricks API client auto-generated from the official databricks-cli package

databricks-api v0.9.0 2.7M downloads/30d#2,936 on PyPI59
Permissive license MIT Abandoned released

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-api

uv

uv add databricks-api

poetry

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 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

License :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPython

Tags

databricks rest api clientdatabricks job management pythondatabricks cluster controldatabricks workspace apidatabricks automation sdk
databricksdeprecatedapi-wrapper

More Database packages