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.1.tar.gz
(11.0 kB
view details)
Built Distribution
File details
Details for the file apinator-databricks-0.0.1.tar.gz
.
File metadata
- Download URL: apinator-databricks-0.0.1.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8de293adb7c544066f1bfa5d975d17dc882ddb2adf8b1a9621511ea16126bbd6 |
|
MD5 | 5c9f7fb16eaf886935babe2f3850cb32 |
|
BLAKE2b-256 | 33caeb394b238dac06cda2c1b7c8311cc064b23c95cc088f6b74665bf05a6010 |
File details
Details for the file apinator_databricks-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: apinator_databricks-0.0.1-py3-none-any.whl
- Upload date:
- Size: 10.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76fb5eeb18e81fb0d48438af815891f893eb951fcc0b16d7501bc30a65fa379b |
|
MD5 | 346ec44837be3c5ad642f1380def5dde |
|
BLAKE2b-256 | 7ce483dbc11f78dbb73fb8514ac2e8f100b9893e86d002c385410675536b4b2d |