databricksapi
Python Databricks API wrapper using requests module
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 databricksapiuv
uv add databricksapipoetry
poetry add databricksapiInstalling 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
Tags
More WWW/HTTP packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
h11h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
httpxHTTPX is a fully featured HTTP client library…
permissive · top 100 on PyPI
httpcoreA minimal low-level HTTP client library that…
permissive · top 100 on PyPI
aiohttpaiohttp is an async HTTP client and server…
permissive · top 100 on PyPI
databricks-apiProvides a simplified Python interface to the…
permissive · top 5,000 on PyPI
databricks-sdkProvides Python bindings to all public…
permissive · top 1,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
brickflowsA Python framework and CLI tool for building…
permissive · top 5,000 on PyPI
databricks-ai-searchPython client for Databricks AI Search, a…
unclear · top 5,000 on PyPI
databricks-cliA command-line interface for interacting with…
permissive · top 5,000 on PyPI
azure-mgmt-databricksProvides Python bindings to manage Azure…
permissive · top 15,000 on PyPI
dbl-sat-sdkRetrieves profile and metadata information…
unclear · top 15,000 on PyPI
lusid-sdkPython client library for the LUSID API,…
permissive · top 15,000 on PyPI