← Back to all products

Databricks Notebook Framework

$59

Production-grade notebook development framework with structured project templates, reusable utility modules, testing patterns, and CI/CD integration for Databricks.

📁 29 files🏷 v2.1.0 (updated 2026-07-30)
Production-ready
✓ Instant download✓ Lifetime updates✓ MIT licensed✓ MIT license✓ Secure checkout (Stripe)

📋 What's Inside 29 files

  • README.md
  • manifest.json
  • notebooks/bronze_ingest_template.py
  • notebooks/silver_transform_template.py
  • notebooks/gold_aggregate_template.py
  • ingestion_templates/base_pipeline.py
  • ingestion_templates/api_ingestion.py
  • ingestion_templates/database_ingestion.py
  • ingestion_templates/file_ingestion.py
  • ingestion_templates/streaming_ingestion.py
  • unity_catalog_setup/setup_catalogs.sql
  • unity_catalog_setup/setup_credentials.sql
  • unity_catalog_setup/setup_external_locations.sql
  • unity_catalog_setup/data_governance_policies.md
  • medallion_bootstrap/config.py

📁 File Structure 29 files

databricks-notebook-framework/
├── README.md
├── manifest.json
├── notebooks/
│ ├── bronze_ingest_template.py
│ ├── silver_transform_template.py
│ ├── gold_aggregate_template.py
├── ingestion_templates/
│ ├── base_pipeline.py
│ ├── api_ingestion.py
│ ├── database_ingestion.py
│ ├── file_ingestion.py
│ ├── streaming_ingestion.py
├── unity_catalog_setup/
│ ├── setup_catalogs.sql
│ ├── setup_credentials.sql
│ ├── setup_external_locations.sql
│ ├── data_governance_policies.md
├── medallion_bootstrap/
│ ├── config.py
│ ├── 01_create_catalogs.py
│ ├── 02_create_schemas.py
│ ├── 03_grant_permissions.py
├── utils/
│ ├── logging_utils.py
│ ├── config_manager.py
│ ├── quality_checks.py
│ ├── secrets_manager.py
│ ├── environment.py
├── testing/
│ ├── test_framework.py
│ ├── conftest.py
├── cicd/
│ ├── pre-commit-config.yaml
│ ├── databricks.yml
├── standards/
│ ├── NOTEBOOK_STANDARDS.md
├── project-scaffold/
│ ├── README.md

📖 Documentation Preview README excerpt

Databricks Notebook Framework

Production-grade notebook development framework for Databricks Lakehouse

By [Datanest Digital](https://datanest.dev) | Version 2.0.0 | $59

---

What You Get

A complete, battle-tested framework for building Databricks notebooks that follow medallion architecture best practices. Stop reinventing the wheel on every project — start with production-ready templates that handle logging, error handling, data quality, configuration, and CI/CD out of the box.

Key Features
  • **Medallion Architecture Templates** — Bronze, Silver, and Gold layer notebook templates with real-world patterns
  • **Ingestion Pipeline Templates** — OOP-based pipeline classes for API, database, file, and streaming ingestion with merge/append/overwrite write modes, deduplication, and metadata columns
  • **Streaming Ingestion** — Azure Event Hub and Apache Kafka ingestion with checkpoint management, OAuth/SASL auth, and configurable triggers
  • **Unity Catalog Setup** — SQL scripts for catalog creation, storage credentials, external locations, and data governance policies
  • **Medallion Bootstrap** — Programmatic catalog/schema/RBAC setup with configurable environments and group-based permissions
  • **Environment Detection** — Auto-detect Databricks workspace environment (dev/staging/prod) with storage config, catalog prefix resolution, and Key Vault integration
  • **Incremental & Full-Refresh Modes** — Built-in watermark-based incremental ingestion with fallback to full refresh
  • **Data Quality Framework** — Null checks, uniqueness validation, referential integrity, and freshness monitoring
  • **SCD Type 2 Support** — Slowly changing dimension logic ready to use in Silver layer transformations
  • **Structured Logging** — Consistent, queryable logging across all notebooks with run context capture
  • **Configuration Management** — Widget-based parameters with environment variable fallbacks
  • **Secrets Management** — Unified interface for Databricks secret scopes and Azure Key Vault
  • **Testing Framework** — Nutter-pattern testing with pytest integration and mock fixtures
  • **CI/CD Ready** — Pre-commit hooks, DABs bundle configuration, and deployment templates
  • **Development Standards** — Comprehensive notebook standards document for team alignment
  • File Listing

    
    

    databricks-notebook-framework/

    ├── README.md # This file

    ├── manifest.json # Package manifest

    ├── notebooks/

    │ ├── bronze_ingest_template.py # Bronze layer ingestion template

    │ ├── silver_transform_template.py # Silver layer transformation template

    │ └── gold_aggregate_template.py # Gold layer aggregation template

    ├── ingestion_templates/

    │ ├── base_pipeline.py # Abstract base pipeline class (merge/append/overwrite)

    │ ├── api_ingestion.py # REST API ingestion with pagination & retry

    │ ├── database_ingestion.py # JDBC database ingestion (full/incremental)

    │ ├── file_ingestion.py # File-based ingestion (CSV, JSON, Parquet, etc.)

    │ └── streaming_ingestion.py # Event Hub / Kafka streaming ingestion

    ├── unity_catalog_setup/

    │ ├── setup_catalogs.sql # SQL to create Unity Catalog catalogs

    │ ├── setup_credentials.sql # Storage credential configuration

    │ ├── setup_external_locations.sql # External location definitions

    │ └── data_governance_policies.md # Data governance policy documentation

    ├── medallion_bootstrap/

    │ ├── config.py # Bootstrap configuration (catalogs, schemas, groups)

    │ ├── 01_create_catalogs.py # Step 1: Create Unity Catalog catalogs

    │ ├── 02_create_schemas.py # Step 2: Create schemas in each catalog

    │ └── 03_grant_permissions.py # Step 3: Grant RBAC permissions to groups


    ... preview truncated, see full README in product download.

    📄 Code Sample .py preview

    notebooks/bronze_ingest_template.py# Databricks notebook source # COMMAND ---------- # MAGIC %md # MAGIC # Bronze Layer Ingestion Template # MAGIC # MAGIC **Framework**: Databricks Notebook Framework by [Datanest Digital](https://datanest.dev) # MAGIC # MAGIC ## Purpose # MAGIC Ingest raw data from source into the Bronze layer of the Lakehouse. # MAGIC Supports both incremental (watermark-based) and full-refresh modes. # MAGIC # MAGIC ## Parameters # MAGIC | Widget | Description | Default | # MAGIC |--------|-------------|---------| # MAGIC | catalog | Unity Catalog name | `dev` | # MAGIC | schema | Target schema | `bronze` | # MAGIC | source | Source identifier / table name | *(required)* | # MAGIC | watermark_column | Column for incremental loads | `modified_at` | # MAGIC | run_mode | `incremental` or `full_refresh` | `incremental` | # COMMAND ---------- # MAGIC %md # MAGIC ## Setup & Configuration # COMMAND ---------- import uuid import json from datetime import datetime, timezone from pyspark.sql import functions as F from pyspark.sql.types import TimestampType, StringType # COMMAND ---------- # Widget Parameters dbutils.widgets.text("catalog", "dev", "Target Catalog") dbutils.widgets.text("schema", "bronze", "Target Schema") dbutils.widgets.text("source", "", "Source Identifier")

    📅 Changelog

    v2.1.0 — Interactive demo rebuilt: medallion pipeline simulation with quality gates, bundled 22-row order dataset, Bronze/Silver/Gold processing.

    v2.0.0 — Initial release. Last updated 2026-03-12.

    Purchases include lifetime updates. Check the product page for the latest version.

    📄 Product Preview

    Try the interactive reader and demo tools below, or get the full product with all content unlocked.

    📖 Interactive Reader (Free Preview)⚙ Try Demo Tools📦 Download Free Sample

    ❓ Frequently Asked Questions

    What license is this under?

    How do I download after purchase?

    Do I get updates?

    What if it doesn't work for me?

    Can I get a refund?

    Is there support?

    Buy Now — $59 Back to Products