Trino (f.k.a PrestoSQL) dialect for SQLAlchemy.
The primary purpose of this is provide a dialect for Trino that can be used with Apache Superset. But other use-cases should works as well.
Trino version 352 and higher
The driver can either be installed through PyPi or from the source code.
pip install sqlalchemy-trino
pip install git+https://github.com/dungdm93/sqlalchemy-trino
To connect from SQLAlchemy to Trino, use connection string (URL) following this pattern:
trino://<username>:<password>@<host>:<port>/catalog/[schema]