skillfed

databricksapi

Python Databricks API wrapper using requests module

databricksapi v1.1.8 178.3K downloads/30d#10,197 on PyPI5
Permissive license MIT Abandoned released

What it is and what it does

databricksapi is a Python wrapper around the Databricks REST API that lets you manage Databricks workspaces programmatically. It provides classes for Token, Secrets, Clusters, SCIM, Jobs, DBFS, Groups, Instance Profiles, Libraries, and Workspace operations—covering the main resource types in a Databricks environment. You instantiate a class with your workspace URL and API token, then call methods to create, list, update, or delete resources.

The package has no external runtime dependencies and is straightforward to install, but it is abandoned: the last release was in April 2020 and the last repository commit in March 2023. This means it will not track changes to the Databricks API, and any breaking changes Databricks makes to its REST endpoints will not be reflected in updates to this package.

Use it for:

  • Automate cluster lifecycle management (create, start, terminate, delete) from Python scripts or CI/CD pipelines.
  • Programmatically manage secret scopes and access control lists in a Databricks workspace.
  • Create and revoke API tokens for service accounts or temporary access without manual UI interaction.
  • Query job status and cluster events for monitoring or integration with external systems.
  • Manage workspace resources (DBFS, groups, instance profiles) as part of infrastructure-as-code workflows.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

A Python wrapper for the Databricks REST API that provides programmatic access to Databricks workspace resources including tokens, secrets, clusters, jobs, and DBFS.

No. The package is abandoned and will not receive updates for Databricks API changes. Unless you are maintaining legacy code that already depends on it, use the official Databricks Python SDK or REST client instead. High install friction combined with no maintenance signal makes this a liability for new projects.

Install

databricksapi on PyPI

pip

pip install databricksapi

uv

uv add databricksapi

poetry

poetry add databricksapi

Installing databricksapi

Before you install

High install friction with no runtime dependencies. The package is abandoned—last release was 2020-04-03 and last commit 2023-03-16—so it will not receive bug fixes or security updates for new Databricks API changes.

License in practice

MIT license is permissive, allowing commercial and private use without restriction, so licensing poses no barrier to adoption.

Quickstart

pip install databricksapi

from databricksapi import Workspace
url = 'https://my-databricks-instance.com'
token = 'dapiXXXXXXXXXXXXX'
ws = Workspace(url, token)

Requires a valid Databricks API token and a Databricks workspace URL; token can be passed at instantiation or via DATABRICKS_TOKEN environment variable.

Verify before relying

  • Whether the package's API coverage remains current with Databricks' latest REST API endpoints.
  • Whether the package works with modern Python versions beyond 3.7, given the abandonment status.
  • Whether authentication via environment variable or constructor token parameter works with current Databricks authentication schemes.

Package facts

License MIT (permissive)
Python support not specified
Install friction high — source build required
Runtime dependencies none
Maintenance abandoned — 2,324 days since the last release
Last repo commit
First released
Downloads 178,292/month — #10,197 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: databricksapi-1.1.8.tar.gz

License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3

Tags

databricks api clientdatabricks python wrapperdatabricks rest apidatabricks workspace managementdatabricks cluster controldatabricks secrets managementdatabricks programmatic access
databricksrest-api-clientabandoned

More WWW/HTTP packages