Trino dialect for SQLAlchemy
Project description
sqlalchemy-trino
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.
Installation
The driver can either be installed through PyPi or from the source code.
Through Python Package Index
pip install sqlalchemy-trino
Latest from Source Code
pip install git+https://github.com/dungdm93/sqlalchemy-trino
Usage
To connect from SQLAlchemy to Trino, use connection string (URL) following this pattern:
trino://<username>:<password>@<host>:<port>/catalog/[schema]
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
sqlalchemy-trino-0.2.2.tar.gz
(12.5 kB
view hashes)
Built Distributions
sqlalchemy_trino-0.2.2-py3.8.egg
(20.8 kB
view hashes)
Close
Hashes for sqlalchemy_trino-0.2.2-py3.8.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97bd4089a2e142a867cb62c6b67869141fada910418159e315e89ba020d57509 |
|
MD5 | c1c92cceb57f99d48b47332f99e9e1ff |
|
BLAKE2b-256 | 964a792016b3028525fdaeb661eaca1ece912dff1c120604f99b1c9cb23021b0 |
Close
Hashes for sqlalchemy_trino-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 875431e16dc305c77d8b1d77c0c704ead5e30dae1485137dab81bee512806c8c |
|
MD5 | 4a851905388d3e3d7ae6b39e72e60907 |
|
BLAKE2b-256 | 8d8d965f8fc1a05ca1ed1cd5781ea3f191680491a818cc35e19e426038dbdfdc |