A wrapper for the Azure Databricks REST API
Azure Databricks API Wrapper
A Python, object-oriented wrapper for the Azure Databricks REST API 2.0
This package is pip installable.
pip install azure-databricks-api
As of June 25th, 2020 there are 12 different services available in the Azure Databricks API. Currently, the following services are supported by the Azure Databricks API Wrapper.
- Cluster Policies (Preview)
- Groups (Must be Databricks admin)
- Instance Pools
- SCIM (Preview)
To create the client object, you pass the Azure region your workspace is located in and the generated Personal Access Token
from azure_databricks_api import AzureDatabricksRESTClient azure_region = '[INSERT YOUR AZURE REGION HERE]' token = '[INSERT YOUR PERSONAL ACCESS TOKEN]' client = AzureDatabricksRESTClient(region=azure_region, token=token)
Clusters Client Usage
The services above are implemented as children objects of the client. For example, to pin a cluster, you can either pass the
cluster_id to the
The other services are implemented similarly. (e.g.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for azure-databricks-api-0.6.2.tar.gz
Hashes for azure_databricks_api-0.6.2-py3-none-any.whl