APInator bindings for Databricks API
Project description
Apinator-Databricks
apinator
bindings for the Databricks API.
Example
from apinator_databricks.common import DatabricksContext
from apinator_databricks.unity_catalog import DatabricksUnityCatalogApi, uc_model
context = DatabricksContext(
access_token="TOKEN", # Will be kept secret
account="account",
)
api = DatabricksUnityCatalogApi(context)
shares: uc_model.ShareList = api.datashares.list()
for share in shares.shares:
assert isinstance(share, uc_model.SharePartial) # Not necessary, pydantic guarantees this
...
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
apinator-databricks-0.0.5.tar.gz
(12.8 kB
view details)
Built Distribution
File details
Details for the file apinator-databricks-0.0.5.tar.gz
.
File metadata
- Download URL: apinator-databricks-0.0.5.tar.gz
- Upload date:
- Size: 12.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a8caf6ee143a2904f7eee6af51b52e39acd4fc0b9d25cbc2d63a2498ea8fbfa |
|
MD5 | 557f9d3eb17c935896f526bcc3d811a4 |
|
BLAKE2b-256 | 3a2aaa1a15c74c253f7a59f570308ff0c89148bb932699f6e160958aacba9ae5 |
File details
Details for the file apinator_databricks-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: apinator_databricks-0.0.5-py3-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 400a0254c1a7d9559c62ce87b5b9efb9b6d6d040d8948029b86eaf199124454b |
|
MD5 | 57322c95b8792c134318be712a63124a |
|
BLAKE2b-256 | ae897d2ce204dfdeb38dbae2cc14af5706e05e02d5dfd02847fbc2bf66a98b64 |