Skip to content

ArunkumarPanneerselvam/DBT_Source_Model_Gen_Automation_Snowflake_Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

DBT_Source_Model_Gen_Automation_Snowflake_Python

Automating Your Local DBT & Snowflake Playground with Python

Snowflake DBT Playground with Automated Source Generation

Python dbt Snowflake License


Overview

This project automates the creation of dbt source YAML and SQL model files for Snowflake databases by extracting metadata via the Snowflake API — freeing users from manual file creation.

Build your Snowflake playground faster, with scripts:

  • Pull metadata from Snowflake
  • Generate correct dbt source files
  • Prepare ready-to-use dbt models

Features

  • Connects securely to Snowflake using environment variables
  • Supports multiple schemas via configuration
  • Creates directory structure matching dbt conventions
  • Generates YAML & SQL files per table/view
  • Compatible with dbt Core and Snowflake adapter

Getting Started

Prerequisites

  • Python 3.13+
  • Snowflake account (trial or production)
  • Installed packages:
    dbt-core, dbt-snowflake, snowflake-connector-python, pandas

Detailed and step-by-step instructions at https://dev.to/arunkumar_panneerselvam_2/automating-your-local-dbt-snowflake-playground-with-python-7gl

About

Automating Your Local DBT & Snowflake Playground with Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages