azure-databricks-sdk-python-0.0.2
توضیحات
A Python SDK for the Azure Databricks REST API 2.0.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | azure-databricks-sdk-python-0.0.2 |
| نام | azure-databricks-sdk-python |
| نسخه کتابخانه | 0.0.2 |
| نگهدارنده | ['Amine Kaabachi'] |
| ایمیل نگهدارنده | ['ping@kaabachi.io'] |
| نویسنده | Amine Kaabachi |
| ایمیل نویسنده | ping@kaabachi.io |
| آدرس صفحه اصلی | http://github.com/aminekaabachi/azure-databricks-sdk-python |
| آدرس اینترنتی | https://pypi.org/project/azure-databricks-sdk-python/ |
| مجوز | MIT |
# Azure Databricks SDK Python
[](https://github.com/aminekaabachi/azure-databricks-sdk-python/actions?query=workflow%3A%22Unit+Tests%22)
[](https://coveralls.io/github/aminekaabachi/azure-databricks-sdk-python?branch=master)
[](https://pypi.org/project/azure-databricks-sdk-python/)
[](https://pypi.org/project/azure-databricks-sdk-python/)
[](https://azure-databricks-sdk-python.readthedocs.io/en/latest/)
[](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/).
---
نیازمندی
| مقدار | نام |
|---|---|
| ==2.24.0 | requests |
| - | cattrs |
نحوه نصب
نصب پکیج whl azure-databricks-sdk-python-0.0.2:
pip install azure-databricks-sdk-python-0.0.2.whl
نصب پکیج tar.gz azure-databricks-sdk-python-0.0.2:
pip install azure-databricks-sdk-python-0.0.2.tar.gz