This release is a pre-release and may not be stable for production use.
Azure Databricks SDK Python
Warning This project has been archived and is no longer actively maintained or supported. We highly recommend migrating to the official Databricks SDK for Python available at https://github.com/databricks/databricks-sdk-py.
azure-databricks-sdk-python is a Python SDK for the Azure Databricks REST API 2.0.
Easily, perform all the operations as if on the Databricks UI:
from azure_databricks_sdk_python import Client
from azure_databricks_sdk_python.types.clusters import AutoScale, ClusterAttributes
client = Client(databricks_instance="<instance>", personal_access_token="<token>")
spark_conf = {'spark.speculation': True}
autoscale = AutoScale(min_workers=0, max_workers=1)
attributes = ClusterAttributes(cluster_name="my-cluster",
spark_version="7.2.x-scala2.12",
node_type_id="Standard_D3_v2",
spark_conf=spark_conf,
autoscale=autoscale)
created = client.clusters.create(attributes)
print(created.cluster_id)
Beloved Features
azure-databricks-sdk-python is ready for your use-case:
- Clear standard to access to APIs.
- Contains custom types for the API results and requests.
- Support for Personal Access token authentification.
- Support for Azure AD authentification.
- Support for the use of Azure AD service principals.
- Allows free-style API calls with a force mode -(bypass types validation).
- Error handeling and proxy support.
Officially supports 3.6+, and runs great on PyPy.
Implementation Progress
Please refer to the progress below:
| Feature | Progress |
|---|---|
| Authentification | 100% ✔ |
| Custom types | 25% |
| API Wrappers | 25% |
| Error handling | 80% |
| Proxy support | 0% |
| Documentation | 20% |
As for specific API wrappers:
| API | Progress |
|---|---|
| Clusters API | 100% ✔ |
| Secrets API | 100% ✔ |
| Token API | 100% ✔ |
| Jobs API | 0% |
| DBFS API | 0% |
| Groups API | 0% |
| Libraries API | 0% |
| Workspace API | 0% |
| Clusters Policies API | 0% |
| Instance Pools API | 0% |
| MLflow API | 0% |
| Permissions API | 0% |
| SCIM API | 0% |
| Token Management API | 0% |
Documentation
Check the documentation on readthedocs.org.
Metadata
Release files for azure-databricks-sdk-python 0.0.4.dev1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| azure-databricks-sdk-python-0.0.4.dev1.tar.gz | 19.7 kB | Without provenance | Details for azure-databricks-sdk-python-0.0.4.dev1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| azure_databricks_sdk_python-0.0.4.dev1-py3-none-any.whl | Python 3 | none | any | Details for azure_databricks_sdk_python-0.0.4.dev1-py3-none-any.whl |
Total release size: 23.9 kB
Release files / azure-databricks-sdk-python-0.0.4.dev1.tar.gz
| Download URL | azure-databricks-sdk-python-0.0.4.dev1.tar.gz |
|---|---|
| Size | 19.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9fe0dfcb216f2f0a64b617968a9470540e39973a3dce2fe83446a89eaf9e3319
|
|
BLAKE2b-256 checksum How to use checksums |
520532f9080b8ad2ea4c8cc9431f7cae6892df59c98a3cdb4b3dba3fbc259e93
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|
Release files / azure_databricks_sdk_python-0.0.4.dev1-py3-none-any.whl
| Download URL | azure_databricks_sdk_python-0.0.4.dev1-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f32bf2bcdaa28e696bc0166dde28a39a589ece6df0f55952a6d83a5bec5b92d4
|
|
BLAKE2b-256 checksum How to use checksums |
371d127c515ed458af5940077d29d77abfb66197687ecb3e14e19b3ec869a6a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|
Security for azure-databricks-sdk-python 0.0.4.dev1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.