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.6.tar.gz
(12.8 kB
view details)
Built Distribution
File details
Details for the file apinator_databricks-0.0.6.tar.gz
.
File metadata
- Download URL: apinator_databricks-0.0.6.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 | abc991e922d08936ef94f6a486aeda1ab2442b6432be8f7b4ac7e40aa4a5b21e |
|
MD5 | 32e7c766ceb6813efa3ff81ec304b894 |
|
BLAKE2b-256 | 5ab8a286024f07554dd61bb2b2cd006358a4c84f56880ffbba1c2c5d23c7673b |
File details
Details for the file apinator_databricks-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: apinator_databricks-0.0.6-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 | b44852f6133ee86d0266c85fae6e5b7e73a8d526903aa8b9d77be7bc54d636e7 |
|
MD5 | b4f7ed6c522083f11ca23e6c4dcfcdf2 |
|
BLAKE2b-256 | 1cf6909bf489942d76b4354c1cdab71ca03c71716ae674d2a060633db3029c79 |