Skip to content

v0.2.0

Choose a tag to compare

@Yassimba Yassimba released this 08 Nov 21:14
· 14 commits to main since this release

DEPP 0.2.0 - Major Release

Breaking Changes

  • Python 3.12+ Required: Minimum Python version enforced

Major Features

Index and constraints added

  • You can now use the dbt.config in your python model to add primary key constrains and (unique) indices
  • Multiple index type allowed including geometry index types.
  • Unique index is also supported

Enhanced CLI System

Complete CLI overhaul with new developer-focused commands:

  • dbt-depp init - Interactive setup wizard for profiles.yml configuration
  • dbt-depp inspect <model> - Inspect model configuration and dependencies
  • dbt-depp new-model <name> - Generate a Python model from template
  • dbt-depp experiment <model> - Export upstream dependencies to parquet and generate marimo notebooks for local experimentation
  • dbt-depp validate - Validate Python models, type hints, and database connections

Marimo Notebook Integration

  • Generate interactive marimo notebooks from dbt models
  • Export upstream dependencies to parquet for local experimentation
  • Library-aware notebook generation (Polars, Pandas, GeoPandas)

Small features and improvements

  • Full mypy strict compliance
  • Enhanced type inference for dbt objects
  • Basic profiling utilities for performance analysis
  • New validation utilities for model syntax and type checking
  • Enhanced error messages and diagnostics

Documentation & Examples

  • New example models showcasing index and constraint configuration
  • Improved model structure with better type narrowing examples
  • Removed legacy base models in favor of more practical examples
  • Enhanced documentation via docstring improvements