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.
Supported Trino version
Trino version 352 and higher
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.3.0.tar.gz
(13.0 kB
view hashes)
Built Distributions
sqlalchemy_trino-0.3.0-py3.8.egg
(22.1 kB
view hashes)
Close
Hashes for sqlalchemy_trino-0.3.0-py3.8.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0a5c5c61c2b63c8e0924df04710fb85316b27cd5757d8722464c0df9cfbcef7 |
|
MD5 | d6672f15b7715471b79453eadd894456 |
|
BLAKE2b-256 | d4439154e1899f571cc0f5c05cf2542fcddf8cdf414ed2fda9922f54da3a6273 |
Close
Hashes for sqlalchemy_trino-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | deee849189836b41d28042d0a07afa3ad6a15df0a14222ff6da021a69fbf4d24 |
|
MD5 | 793c370bf329d559389f83ebb01aa687 |
|
BLAKE2b-256 | e3a62a8bfc4abe3dbac0a0aeb172f10cc5b2427d36d3ad7df9ecd2963f878e13 |