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.8.tar.gz
(12.8 kB
view details)
Built Distribution
File details
Details for the file apinator_databricks-0.0.8.tar.gz
.
File metadata
- Download URL: apinator_databricks-0.0.8.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 | e22187c6ce34f2457368a601d3a7f8b9c457559ba6ddb1885c0bf7a17178cb3a |
|
MD5 | c2d2f8eab5f5774a8a43592e611168dc |
|
BLAKE2b-256 | 918b6bb6f029cc40e303bcb9f59e534d30ef6f73b718cb14d9d85b8fecbba893 |
File details
Details for the file apinator_databricks-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: apinator_databricks-0.0.8-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 | 2cca060309d0d49e5666e88dab3c26484157cceb55cb19ccdf8d91ac81435e2d |
|
MD5 | 11173090a425be84725aa192388937a5 |
|
BLAKE2b-256 | 49c65579e6b7835b1938c6f9a524ae3cf3604e30e56f1e4cb7d59796e04ffa66 |