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.3.tar.gz
(12.4 kB
view details)
Built Distribution
File details
Details for the file apinator-databricks-0.0.3.tar.gz
.
File metadata
- Download URL: apinator-databricks-0.0.3.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddacaefafce97a31e28a080914d94ad2d216f9b7f29fdc52317161b9f2876bea |
|
MD5 | 887e4fac295c4cdf7de074d8a5a66d9b |
|
BLAKE2b-256 | 40e3162143a301238e4444930b577a09d96bbc40c2186f00bc53b391150238cf |
File details
Details for the file apinator_databricks-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: apinator_databricks-0.0.3-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 | 5174a66c3aec3d4075269ebf7d5398ef2ddee8425523d09101d762bf2d312048 |
|
MD5 | fc225ed29f08572f9e056100ef37b9f9 |
|
BLAKE2b-256 | 2427a9cd3796343744e56cbbc6976cf24855882cb05fc520e759eb88f1e5578b |