v0.1.0
bruin-sdk v0.1.0 — Initial Release
The first release of the Bruin Python SDK, providing zero-boilerplate access to Bruin-managed connections and context.
Features
query(sql, connection)— Execute SQL against any Bruin-managed connection, returns a pandas DataFrameget_connection(name)— Get a connection object with a lazy-initialized database clientcontext— Access Bruin runtime context (dates, pipeline, asset name, variables)
Supported Connections
- Google Cloud Platform (BigQuery, via
GCPConnection) - Snowflake
- PostgreSQL
- Microsoft SQL Server
- MySQL
- DuckDB
Install
pip install bruin-sdkWith database extras:
pip install 'bruin-sdk[bigquery]'
pip install 'bruin-sdk[snowflake]'
pip install 'bruin-sdk[postgres]'