Skip to main content

A Harlequin adapter for Trino.

Project description


This repo provides the Harlequin adapter for Trino.


harlequin-trino depends on harlequin, so installing this package will also install Harlequin.

Using pip

To install this adapter into an activated virtual environment:

pip install harlequin-trino

Using poetry

poetry add harlequin-trino

Using pipx

If you do not already have Harlequin installed:

pip install harlequin-trino

If you would like to add the Trino adapter to an existing Harlequin installation:

pipx inject harlequin harlequin-trino

As an Extra

Alternatively, you can install Harlequin with the trino extra:

pip install harlequin[trino]
poetry add harlequin[trino]
pipx install harlequin[trino]

Usage and Configuration

For a minimum connection you are going to need:

  • host
  • port
  • user
harlequin -a trino -h localhost -p 8080 -U my_user 

If your trino instance requires a password you can set the --require_auth flag to password and use the --password flag for your password

harlequin -a trino -h localhost -p 8080 -U my_user --password my-pass --require_auth password 

Many more options are available; to see the full list, run:

harlequin --help

For more information, see the Harlequin Docs.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

harlequin_trino-0.1.3.tar.gz (13.4 kB view hashes)

Uploaded Source

Built Distribution

harlequin_trino-0.1.3-py3-none-any.whl (14.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page