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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file harlequin_trino-0.1.6.tar.gz.
File metadata
- Download URL: harlequin_trino-0.1.6.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.10.18 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12a867bbd49e1e7ee219a1d19f33f4f8236abdad57638bbdcd06cfbaa922b9c2
|
|
| MD5 |
0e9ceaa15a302fcea384ed79432e70d5
|
|
| BLAKE2b-256 |
73fb092f82a27cfc612cf686593dbe523501477555f8848ba7a340949dcc029e
|
File details
Details for the file harlequin_trino-0.1.6-py3-none-any.whl.
File metadata
- Download URL: harlequin_trino-0.1.6-py3-none-any.whl
- Upload date:
- Size: 14.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.10.18 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c210bed0336d49d2835f866c8cbb28a812849a830c20710451cbedf492ba37f5
|
|
| MD5 |
6240c70da23b33d3a911b698d0b4cd34
|
|
| BLAKE2b-256 |
0e29d55061d8b37f01b66613110cd21d4c22cc2c33e641e67d25b1b7bc7daa28
|