Skip to main content

vibedata-dlt-databricks-notebook

Databricks notebook execution unit for the VibeData dlt runtime — the installed distribution for Databricks domains running a dlt pipeline inside a Databricks notebook. dbutils is provided by the Databricks runtime, not a pip dependency.

from vibedata.dlt.databricks import DatabricksUcSecretsProvider, databricks_files_api, setup_environment
import dlt

setup_environment()
dlt.config.register_provider(DatabricksUcSecretsProvider())
pipeline = dlt.pipeline(pipeline_name="<name>", destination=databricks_files_api(), dataset_name="<schema>")
  • Import order. Import this package before anything imports dlt: on Databricks compute import dlt otherwise binds Databricks' own Lakeflow Declarative Pipelines module.
  • setup_environment() makes the Domain's ingestion/ (the notebook's ingestion_dir widget) the working directory and an import root, and caps load files below the SDK's single-upload limit.
  • DatabricksUcSecretsProvider resolves dlt secrets from the Unity Catalog schema that [providers.databricks_uc_secrets] catalog and schema name in the committed .dlt/config.toml. Each name is the dotted dlt key with every . turned into __ (sources.crm.credentials.password → sources__crm__credentials__password); a key whose segment is empty, holds __, starts or ends with _, or is uppercase is refused rather than risk two keys sharing one secret. It lists the schema once, through the Unity Catalog secrets API, and reads values with dbutils.secrets.get(catalog=, schema=, key=), which needs Databricks Runtime 17.3 LTS+ or serverless environment 4+ and READ SECRET on each secret. An unlisted name is missing; a listed one the run cannot read, as under a REFERENCE SECRET grant, raises. It resolves nothing when no schema is configured.
  • DatabricksSecretScopeProvider (legacy) resolves dlt secrets from the Databricks secret scope that [providers.databricks_secret_scope] scope names in the committed .dlt/config.toml. Each key is the dotted dlt key, lowercased. It resolves nothing when no scope is configured.
  • databricks_files_api is dlt's databricks destination with one change: it stages load files on the volume through the Files API instead of the SQL connector's PUT. For a catalog on Databricks-managed storage, PUT uploads to the region's storage gateway, whose name resolves to a refusing private address on serverless compute. dlt has no hook for the upload, so the class overrides dlt's private staging methods; raise the package's dlt cap only after re-checking them against the new release.
  • No finalize(). The unit writes no audit tables yet, so a Databricks pipeline makes the one setup_environment() call; the other units' audit pair arrives with Databricks run history.

Install this package; it pulls in vibedata-dlt-core and dlt[databricks].

Metadata

Release files for vibedata-dlt-databricks-notebook 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vibedata-dlt-databricks-notebook 0.3.0
File Size Uploaded Provenance Actions
vibedata_dlt_databricks_notebook-0.3.0.tar.gz 12.1 kB Without provenance Details for vibedata_dlt_databricks_notebook-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for vibedata-dlt-databricks-notebook 0.3.0
File Interpreter ABI Platform Actions
vibedata_dlt_databricks_notebook-0.3.0-py3-none-any.whl Python 3 none any Details for vibedata_dlt_databricks_notebook-0.3.0-py3-none-any.whl

Total release size: 23.9 kB

Release files / vibedata_dlt_databricks_notebook-0.3.0.tar.gz

Download URL vibedata_dlt_databricks_notebook-0.3.0.tar.gz
Size 12.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f0063285f48df9880c85efaec6a278b8bec0415dfb7095c8bf09cf8ba145ab29
BLAKE2b-256 checksum
How to use checksums
a688bbee24d692b0035c5f50985fdfdca3e5b909f2f8e3f996c22377cf6a754f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.17

Release files / vibedata_dlt_databricks_notebook-0.3.0-py3-none-any.whl

Download URL vibedata_dlt_databricks_notebook-0.3.0-py3-none-any.whl
Size 11.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b5f1186517dc0722b78d7274a66e6ae9565bc14e75a6c7e3e367fd8c39a60406
BLAKE2b-256 checksum
How to use checksums
eb1ea1b68b9c0ace3aa3124a82e82fcd3fa2ba5728d32d3e79f7132acc0ae762
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.17

Security for vibedata-dlt-databricks-notebook 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page