$npx skillfedfor your agent

sqlalchemy-trino

Trino dialect for SQLAlchemy

SkipPyPI DatabaseReleased May 2022606.9K downloads / moApache 2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — sqlalchemy_trino-0.5.0-py3-none-any.whl
v0.5.0 · released 2022-05-05 · Python >=3.7 · 1 runtime deps: trino

No. The package is abandoned (last release May 2022, archived repository) and its functionality has been merged into the upstream trino project. New projects should use the trino package's built-in SQLAlchemy support instead. Only consider installing if you are maintaining legacy code that already depends on it and cannot migrate to the upstream solution.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Trino version 352 or higher; when using username and password, connection is automatically over TLS.
  • Installation is straightforward with low friction, but the package is abandoned as of May 2022 and no longer maintained—its functionality has been merged into the upstream trino project.

License · maintenance · safety

Apache 2.0 (permissive) — Licensed under Apache 2.0 (permissive), so you may use, modify, and distribute it freely with minimal restrictions.

last release 2022-05-05 (1562 days) · last repo commit 2022-05-05 · 25 stars · archived

0 known vulnerabilities (OSV.dev, 2026-08-14) · 606,921 downloads/mo, #5,787 on PyPI

Verify before relying

from sqlalchemy.engine import create_engine
from trino.auth import JWTAuthentication

engine = create_engine(
  'trino://@:/',
  connect_args={'auth': JWTAuthentication('a-jwt-token')},
)
  • Whether the upstream trino package now provides equivalent SQLAlchemy dialect support that should be preferred.
  • Current compatibility with modern SQLAlchemy versions and Trino releases beyond version 352.
Same gist for agents: .md · .json

What it is and what it does

sqlalchemy-trino is a SQLAlchemy dialect that allows you to connect to and query Trino databases using SQLAlchemy's ORM and SQL expression language. It translates SQLAlchemy operations into Trino-compatible SQL and handles connection management, authentication (including JWT and user impersonation), and result retrieval. The package depends only on the trino runtime library.

The package is now deprecated and archived. Its code was donated and merged into the upstream trino project, so active development has ceased. If you are starting a new project, the upstream project is the recommended source for Trino dialect support rather than this standalone package.

Use it for

  • Build a Python application that queries Trino using SQLAlchemy ORM models instead of raw SQL.
  • Migrate data from Trino to pandas DataFrames using SQLAlchemy's read_sql interface.
  • Write Trino data to tables from pandas DataFrames using SQLAlchemy's to_sql method.
  • Authenticate to Trino with JWT tokens or user impersonation via SQLAlchemy connection strings.
  • Use SQLAlchemy's query builder to construct dynamic Trino queries without writing raw SQL.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No.

The package is abandoned (last release May 2022, archived repository) and its functionality has been merged into the upstream trino project. New projects should use the trino package's built-in SQLAlchemy support instead. Only consider installing if you are maintaining legacy code that already depends on it and cannot migrate to the upstream solution.

Install

sqlalchemy-trino on PyPI

Before you install

Installation is straightforward with low friction, but the package is abandoned as of May 2022 and no longer maintained—its functionality has been merged into the upstream trino project.

Requires Trino version 352 or higher; when using username and password, connection is automatically over TLS.

License in practice

Licensed under Apache 2.0 (permissive), so you may use, modify, and distribute it freely with minimal restrictions.

Quickstart

from sqlalchemy.engine import create_engine
from trino.auth import JWTAuthentication

engine = create_engine(
  'trino://@:/',
  connect_args={'auth': JWTAuthentication('a-jwt-token')},
)

Verify before relying

  • Whether the upstream trino package now provides equivalent SQLAlchemy dialect support that should be preferred.
  • Current compatibility with modern SQLAlchemy versions and Trino releases beyond version 352.

Package facts

LicenseApache 2.0 permissive
Python supportSupports the current Python release >=3.7
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
trino
MaintenanceAbandoned 1,562 days since the last release
Last repo commit repository archived
First released
Downloads606,921 / month, #5,787 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Intended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: DatabaseTopic :: Database :: Front-Ends

Evidence: sqlalchemy_trino-0.5.0-py3-none-any.whl

Tags

Capabilities
sqlalchemy trino dialecttrino database connectionsqlalchemy trino drivertrino sql queriestrino orm integration
Topics
deprecatedarchived
PyPI keywords
sqlalchemytrino

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “sqlalchemy trino dialect”

  • sqlalchemy-trinoProvides a SQLAlchemy dialect for connecting to and querying Trino…
  • PyHivePyHive provides DB-API and SQLAlchemy interfaces to query Presto,…
  • trinoPython client library for Trino, a distributed SQL engine, providing…

Give your agent the search over MCP, or paste the wish link into any chat.

More Database packages

psycopg2-binary Worth it
PyPI · Software Development · released Apr 2026

psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.

copyleftcompiled wheel · 3.9+
271.6Mdownloads / mo
redis Worth it
PyPI · Database · released Jul 2026

Python client library for connecting to and executing commands against Redis key-value stores, supporting both synchronous and asynchronous operations.

Install it if your application needs to interact with Redis; the only prerequisite is a running Redis server instance.

MITpure Python · 3.10+
268.3Mdownloads / mo
ydb Worth it
PyPI · Database · released Jul 2026

YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.

Install it if you need to connect Python applications to YDB databases.

permissive licensepure Python · 3.10+
210.0Mdownloads / mo
snowflake-connector-python Worth it
PyPI · Software Development · released Aug 2026

Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.

Apache-2.0compiled wheel · 3.10+
193.6Mdownloads / mo
sqlparse Worth it
PyPI · Software Development · released Aug 2026

sqlparse tokenizes SQL text into a tree of statements, clauses, and expressions, and provides functions to split scripts, format queries, and inspect parsed tokens without validating dialect or syntax.

Install it if you need to manipulate, format, or analyze SQL text programmatically.

BSD-3-Clausepure Python · 3.10+
148.9Mdownloads / mo
dbt-adapters With conditions
PyPI · Database · released Jul 2026

Provides base adapter protocols and shared functionality that database adapters use to integrate with dbt-core, handling connections, dialect translation, relation caching, and core interface management.

Apache-2.0pure Python · 3.10.0+
121.3Mdownloads / mo

See also databricks-sqlalchemy · trino · duckdb-engine · pybigquery · sqlalchemy-bigquery · sqlalchemy-databricks · sqlalchemy-jdbcapi · PyHive · sqlalchemy-solr · snowflake-sqlalchemy