# 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.
[![Workflow Status](https://img.shields.io/github/workflow/status/aminekaabachi/azure-databricks-sdk-python/Unit%20Tests/master?style=flat-square)](https://github.com/aminekaabachi/azure-databricks-sdk-python/actions?query=workflow%3A%22Unit+Tests%22)
[![Coveralls github](https://img.shields.io/coveralls/github/aminekaabachi/azure-databricks-sdk-python?style=flat-square)](https://coveralls.io/github/aminekaabachi/azure-databricks-sdk-python?branch=master)
[![PyPI](https://img.shields.io/pypi/v/azure-databricks-sdk-python?style=flat-square)](https://pypi.org/project/azure-databricks-sdk-python/)
[![Downloads](https://img.shields.io/pypi/dm/azure-databricks-sdk-python?style=flat-square)](https://pypi.org/project/azure-databricks-sdk-python/)
[![Docs](https://readthedocs.org/projects/azure-databricks-sdk-python/badge/?version=latest&style=flat-square)](https://azure-databricks-sdk-python.readthedocs.io/en/latest/)
[![GitHub](https://img.shields.io/github/license/aminekaabachi/azure-databricks-sdk-python?style=flat-square)](https://github.com/aminekaabachi/azure-databricks-sdk-python/blob/master/LICENSE)
**azure-databricks-sdk-python** is a Python SDK for the [`Azure Databricks REST API 2.0`](https://docs.microsoft.com/en-gb/azure/databricks/dev-tools/api/latest/).
---
Easily, perform all the operations as if on the Databricks UI:
```python
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](https://azure-databricks-sdk-python.readthedocs.io/en/latest/).
---
Raw data
{
"_id": null,
"home_page": "http://github.com/aminekaabachi/azure-databricks-sdk-python",
"name": "azure-databricks-sdk-python",
"maintainer": "Amine Kaabachi",
"docs_url": null,
"requires_python": "",
"maintainer_email": "ping@kaabachi.io",
"keywords": "azure,databricks",
"author": "Amine Kaabachi",
"author_email": "ping@kaabachi.io",
"download_url": "https://files.pythonhosted.org/packages/52/05/32f9080b8ad2ea4c8cc9431f7cae6892df59c98a3cdb4b3dba3fbc259e93/azure-databricks-sdk-python-0.0.4.dev1.tar.gz",
"platform": null,
"description": "# Azure Databricks SDK Python\n\n> **Warning**\n> 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.\n\n[![Workflow Status](https://img.shields.io/github/workflow/status/aminekaabachi/azure-databricks-sdk-python/Unit%20Tests/master?style=flat-square)](https://github.com/aminekaabachi/azure-databricks-sdk-python/actions?query=workflow%3A%22Unit+Tests%22)\n[![Coveralls github](https://img.shields.io/coveralls/github/aminekaabachi/azure-databricks-sdk-python?style=flat-square)](https://coveralls.io/github/aminekaabachi/azure-databricks-sdk-python?branch=master)\n[![PyPI](https://img.shields.io/pypi/v/azure-databricks-sdk-python?style=flat-square)](https://pypi.org/project/azure-databricks-sdk-python/)\n[![Downloads](https://img.shields.io/pypi/dm/azure-databricks-sdk-python?style=flat-square)](https://pypi.org/project/azure-databricks-sdk-python/)\n[![Docs](https://readthedocs.org/projects/azure-databricks-sdk-python/badge/?version=latest&style=flat-square)](https://azure-databricks-sdk-python.readthedocs.io/en/latest/)\n[![GitHub](https://img.shields.io/github/license/aminekaabachi/azure-databricks-sdk-python?style=flat-square)](https://github.com/aminekaabachi/azure-databricks-sdk-python/blob/master/LICENSE)\n\n**azure-databricks-sdk-python** is a Python SDK for the [`Azure Databricks REST API 2.0`](https://docs.microsoft.com/en-gb/azure/databricks/dev-tools/api/latest/).\n\n---\n\nEasily, perform all the operations as if on the Databricks UI:\n\n```python\nfrom azure_databricks_sdk_python import Client\nfrom azure_databricks_sdk_python.types.clusters import AutoScale, ClusterAttributes\n\nclient = Client(databricks_instance=\"<instance>\", personal_access_token=\"<token>\")\nspark_conf = {'spark.speculation': True}\nautoscale = AutoScale(min_workers=0, max_workers=1)\nattributes = ClusterAttributes(cluster_name=\"my-cluster\",\n spark_version=\"7.2.x-scala2.12\",\n node_type_id=\"Standard_D3_v2\",\n spark_conf=spark_conf,\n autoscale=autoscale)\ncreated = client.clusters.create(attributes)\nprint(created.cluster_id)\n```\n\n## Beloved Features\n\n**azure-databricks-sdk-python** is ready for your use-case:\n\n- Clear standard to access to APIs.\n- Contains custom types for the API results and requests.\n- Support for Personal Access token authentification.\n- Support for Azure AD authentification.\n- Support for the use of Azure AD service principals.\n- Allows free-style API calls with a force mode -(bypass types validation).\n- Error handeling and proxy support.\n\nOfficially supports 3.6+, and runs great on PyPy.\n\n## Implementation Progress\n\nPlease refer to the progress below:\n\n| Feature | Progress |\n| :--------------- | :------: |\n| Authentification | 100% \u2714 |\n| Custom types | 25% |\n| API Wrappers | 25% |\n| Error handling | 80% |\n| Proxy support | 0% |\n| Documentation | 20% |\n\nAs for specific API wrappers:\n\n| API | Progress |\n| :-------------------- | :------: |\n| Clusters API | 100% \u2714 |\n| Secrets API | 100% \u2714 |\n| Token API | 100% \u2714 |\n| Jobs API | 0% |\n| DBFS API | 0% |\n| Groups API | 0% |\n| Libraries API | 0% |\n| Workspace API | 0% |\n| Clusters Policies API | 0% |\n| Instance Pools API | 0% |\n| MLflow API | 0% |\n| Permissions API | 0% |\n| SCIM API | 0% |\n| Token Management API | 0% |\n\n## Documentation\n\nCheck the documentation on [readthedocs.org](https://azure-databricks-sdk-python.readthedocs.io/en/latest/).\n\n---\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A Python SDK for the Azure Databricks REST API 2.0.",
"version": "0.0.4.dev1",
"project_urls": {
"Homepage": "http://github.com/aminekaabachi/azure-databricks-sdk-python"
},
"split_keywords": [
"azure",
"databricks"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "371d127c515ed458af5940077d29d77abfb66197687ecb3e14e19b3ec869a6a4",
"md5": "d345c36c75c4b05b5aa0514d79f3fa96",
"sha256": "f32bf2bcdaa28e696bc0166dde28a39a589ece6df0f55952a6d83a5bec5b92d4"
},
"downloads": -1,
"filename": "azure_databricks_sdk_python-0.0.4.dev1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d345c36c75c4b05b5aa0514d79f3fa96",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4235,
"upload_time": "2023-07-07T09:34:27",
"upload_time_iso_8601": "2023-07-07T09:34:27.355878Z",
"url": "https://files.pythonhosted.org/packages/37/1d/127c515ed458af5940077d29d77abfb66197687ecb3e14e19b3ec869a6a4/azure_databricks_sdk_python-0.0.4.dev1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "520532f9080b8ad2ea4c8cc9431f7cae6892df59c98a3cdb4b3dba3fbc259e93",
"md5": "ce46a045675248856f4e5fb21db5b99e",
"sha256": "9fe0dfcb216f2f0a64b617968a9470540e39973a3dce2fe83446a89eaf9e3319"
},
"downloads": -1,
"filename": "azure-databricks-sdk-python-0.0.4.dev1.tar.gz",
"has_sig": false,
"md5_digest": "ce46a045675248856f4e5fb21db5b99e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 19660,
"upload_time": "2023-07-07T09:34:28",
"upload_time_iso_8601": "2023-07-07T09:34:28.926022Z",
"url": "https://files.pythonhosted.org/packages/52/05/32f9080b8ad2ea4c8cc9431f7cae6892df59c98a3cdb4b3dba3fbc259e93/azure-databricks-sdk-python-0.0.4.dev1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-07-07 09:34:28",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "aminekaabachi",
"github_project": "azure-databricks-sdk-python",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"requirements": [],
"lcname": "azure-databricks-sdk-python"
}