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.2.tar.gz
(12.3 kB
view details)
Built Distribution
File details
Details for the file apinator-databricks-0.0.2.tar.gz
.
File metadata
- Download URL: apinator-databricks-0.0.2.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83c3dd9e1d51a1193f1fb8f196b019e28bbe74bf55b1a976a74952f07d967f04 |
|
MD5 | 292bb130dfc18f5ef365175cd79b58c9 |
|
BLAKE2b-256 | a1e7aa7578d7b0ca06e99a18eb270c700a04d51bd05daa8943503531acd276f3 |
File details
Details for the file apinator_databricks-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: apinator_databricks-0.0.2-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f1a5c083ed90c30443ea88c0828d0d2ac3432ddcf67170879f451797116c1ac |
|
MD5 | 8fedf08881b8d4b92505cc68266def76 |
|
BLAKE2b-256 | 9c9db1d30d31bf91608d42f4919f96d10844fbea7a29525351729b7d61e49664 |