A Harlequin adapter for Trino.
Project description
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.
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
Built Distribution
File details
Details for the file harlequin_trino-0.1.3.tar.gz
.
File metadata
- Download URL: harlequin_trino-0.1.3.tar.gz
- Upload date:
- Size: 13.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.10.13 Linux/6.2.0-1018-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4308f506e8cc9863ef9e868b69a56a58b01a92990f32fe960fe18deb735ce71 |
|
MD5 | 1b50d99c8c37c9606c146b5d646b8e08 |
|
BLAKE2b-256 | 5486dbbf12d0cfeabdd19308788ad82298dbc263d0ba05af69ec6fc86dfaf65a |
File details
Details for the file harlequin_trino-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: harlequin_trino-0.1.3-py3-none-any.whl
- Upload date:
- Size: 14.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.10.13 Linux/6.2.0-1018-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f14d4d8297125a5aa95adbb31a1e9a44a69487a191059466f772392f496a8d7e |
|
MD5 | 7c54de2d765bafca4e7a476e8b17978d |
|
BLAKE2b-256 | d9d7590025fe73034fccb48001924b3454a4894e411a2c5125c486475a9e877d |