Python clients #

Starburst Galaxy, Starburst Enterprise platform (SEP), and Trino fully support client access from Python code and Python-based client apps.

Python libraries and clients #

The following data query libraries and clients take advantage of the Trino Python client package.

  • PyStarburst is the Starburst Galaxy and SEP library that supports the Python DataFrame API.

  • trino-python-client is an open source library for querying clusters managed by Trino, Starburst Galaxy, and Starburst Enterprise. This package is described on this page in Trino Python client.

  • Ibis is a portable Python DataFrame library, with support for Trino connections.

  • dbt is a data transformation workflow development framework that lets teams quickly and collaboratively deploy analytics code. Starburst provides a supported adapter. The dbt client page describes the steps to use the adapter and dbt with Trino, Starburst Enterprise, or Starburst Galaxy.

  • Apache Superset is a data exploration and visualization platform. Connections to clusters use the SQLAlchemy-Trino package in conjunction with the Trino Python client package. The Superset client page describes the steps to use Superset with Trino, Starburst Enterprise, or Starburst Galaxy.

  • Querybook is a browser-based data analysis tool that turns SQL queries into natural language reports and graphs called DataDocs. The Querybook client page describes the steps to use Querybook with Trino, Starburst Enterprise, or Starburst Galaxy.