Skip to content

v0.1.0

Choose a tag to compare

@sabrikaragonen sabrikaragonen released this 21 Feb 12:02
· 37 commits to main since this release

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 DataFrame
  • get_connection(name) — Get a connection object with a lazy-initialized database client
  • context — 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-sdk

With database extras:

pip install 'bruin-sdk[bigquery]'
pip install 'bruin-sdk[snowflake]'
pip install 'bruin-sdk[postgres]'