Skip to content

The Trino adapter for Harlequin, the SQL IDE for your Terminal

License

Notifications You must be signed in to change notification settings

TylerHillery/harlequin-trino

Repository files navigation

harlequin-trino

This repo provides the Harlequin adapter for Trino.

Installation

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.

About

The Trino adapter for Harlequin, the SQL IDE for your Terminal

Resources

License

Stars

Watchers

Forks

Packages

No packages published