v0.2.0
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 configurationdbt-depp inspect <model>- Inspect model configuration and dependenciesdbt-depp new-model <name>- Generate a Python model from templatedbt-depp experiment <model>- Export upstream dependencies to parquet and generate marimo notebooks for local experimentationdbt-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