Tutorial module
Bruin + Python
Bruin is a first-class home for Python in your data stack - write Python assets, return DataFrames with materialization, and skip the boilerplate with the Python SDK.
Before you start
- Bruin CLI installed
- Python 3.10 or higher
More Python tutorials
Hands-on guides for writing Python in Bruin.
Incremental vs. Full Refresh Runs in Bruin
BeginnerLearn how Bruin's interval start/end variables drive incremental runs, how --full-refresh changes the picture, how each behaves across SQL, Python, and ingestr assets, and how to protect critical tables with refresh_restricted.
Using the Bruin Python SDK
BeginnerSkip the boilerplate. Use the Bruin Python SDK to query databases, manage connections, and access pipeline context from your Python assets with a few imports.
Materializing Python Assets into Your Warehouse
BeginnerReturn a DataFrame, let Bruin handle the rest. Learn how to use Python materialization to load data into BigQuery, Snowflake, Postgres, and more - with support for merge, append, and incremental strategies.
Get help & contribute