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.1.0.tar.gz
(11.7 kB
view hashes)
Built Distributions
sqlalchemy_trino-0.1.0-py3.8.egg
(18.9 kB
view hashes)
Close
Hashes for sqlalchemy_trino-0.1.0-py3.8.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9525b478007f42ef3f71f9750b5678ab95c4665cb2f1e46b04707dabf382c86a |
|
MD5 | 210257735969b7aaf3b9eda84dae3466 |
|
BLAKE2b-256 | 5aabcc9155551da76cd205238a5f8fc26a601c2fca8678e0a13409bc0fa5ca6a |
Close
Hashes for sqlalchemy_trino-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f1091ebcdb4c34f6432d5dc47a6adfb78ebd03d0b3b756bf19f3bf34fd0b539 |
|
MD5 | 310b2fc58ec26f0eb9b21366b00e3ce6 |
|
BLAKE2b-256 | dc4deb3c83078502522950619d60dbf4096e6ddb2be7cb163257c6af53636de6 |