sqlalchemy-dremio
A SQLAlchemy dialect for Dremio via the Flight interface.
What it is and what it does
sqlalchemy-dremio is a SQLAlchemy dialect that bridges Python applications to Dremio, a data warehouse platform. It translates SQLAlchemy queries into Dremio-compatible operations, allowing you to use standard SQL and SQLAlchemy's ORM or Core API to interact with Dremio data without learning Dremio-specific query syntax. The dialect supports both Flight (the modern Arrow-based protocol) and legacy ODBC connections, with optional TLS encryption and workload management (WLM) routing for enterprise deployments.
The package depends on SQLAlchemy for the dialect framework and pyarrow for Flight protocol support. It is actively maintained, marked as production-stable, and integrates with tools like Apache Superset for business intelligence workflows. Connection strings are configurable with options for schema selection, encryption, certificate verification, and query routing.
Use it for:
- Build Python data pipelines that query Dremio using SQLAlchemy ORM, avoiding direct Dremio SQL syntax.
- Integrate Dremio as a data source in Superset dashboards via the Flight interface.
- Connect Jupyter notebooks or analytics scripts to Dremio for exploratory data analysis.
- Route queries to specific Dremio workload management queues or engines using routing tags.
- Establish encrypted TLS connections to Dremio Cloud from Python applications.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides a SQLAlchemy dialect to query Dremio data warehouses via Flight and ODBC interfaces, enabling SQL-based access to Dremio within Python applications.
Yes, if you need SQLAlchemy-based access to Dremio. The package is production-stable, actively maintained, has no known vulnerabilities, and carries a permissive license. The high install friction (two non-trivial dependencies) is typical for database dialects and worth the cost if Dremio is your target warehouse. Verify Python version compatibility for your environment before installing.
Install
sqlalchemy-dremio on PyPI
pip
pip install sqlalchemy-dremiouv
uv add sqlalchemy-dremiopoetry
poetry add sqlalchemy-dremioInstalling sqlalchemy-dremio
Before you install
High install friction due to two runtime dependencies (SQLAlchemy and pyarrow). Package is actively maintained with a recent release and no known vulnerabilities, but the dependency footprint may add complexity to your environment setup.
License in practice
Licensed under Apache Software License (permissive), which allows commercial and private use with minimal restrictions—suitable for most projects without legal concerns.
Quickstart
pip install sqlalchemy_dremio
from sqlalchemy import create_engine
engine = create_engine('dremio+flight://user:password@host:port/dremio')
with engine.connect() as conn:
result = conn.execute('SELECT * FROM table')
Requires a running Dremio instance (Software or Cloud) accessible at the specified host and port; Flight or ODBC connectivity must be enabled on the Dremio side.
Verify before relying
- Whether pyarrow version constraints or SQLAlchemy version compatibility limits exist beyond what the fact sheet states.
- Performance characteristics when querying large datasets through the Flight interface.
- Support status for Python versions beyond 3.7 (classifiers list only 3.7 explicitly).
Package facts
| License | Apache Software License (permissive) |
| Python support | not specified |
| Install friction | high — source build required |
| Runtime dependencies | 2 — SQLAlchemy, pyarrow |
| Maintenance | actively maintained — 155 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 283,784/month — #8,071 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: sqlalchemy_dremio-3.0.5.tar.gz
Keywords: sqlalchemy_dremio
Tags
More Front-Ends packages
SQLAlchemy is a Python SQL toolkit and Object…
permissive · top 100 on PyPI
psycopg2-binarypsycopg2-binary is a PostgreSQL database…
copyleft · top 1,000 on PyPI
alembicAlembic generates and manages database schema…
permissive · top 1,000 on PyPI
weaviate-clientA Python client library for connecting to and…
permissive · top 1,000 on PyPI
databricks-sql-connectorA Python client library that connects to…
permissive · top 1,000 on PyPI
psycopgPsycopg 3 is a PostgreSQL database adapter for…
copyleft · top 1,000 on PyPI
iomete-sqlalchemyProvides a SQLAlchemy dialect for connecting to…
permissive · top 15,000 on PyPI
teradatasqlalchemyProvides a SQLAlchemy dialect that enables…
unclear · top 5,000 on PyPI
sqlalchemy-solrProvides a SQLAlchemy dialect that allows you…
permissive · top 15,000 on PyPI
sqlalchemy-drillSQLAlchemy dialect for Apache Drill that…
permissive · top 5,000 on PyPI
databricks-sqlalchemyProvides a SQLAlchemy 2.0 dialect that bridges…
permissive · top 1,000 on PyPI
sqlalchemy-ibmiProvides a SQLAlchemy dialect to connect to Db2…
permissive · top 15,000 on PyPI
sqlalchemy-jdbcapiSQLAlchemy dialect for JDBC and ODBC database…
permissive · top 15,000 on PyPI
sqlalchemy-vertica-pythonProvides a SQLAlchemy dialect for Vertica using…
permissive · top 15,000 on PyPI
pybigquerySQLAlchemy dialect for BigQuery that enables…
permissive · top 15,000 on PyPI
sqlalchemy-firebirdProvides a SQLAlchemy 2.0+ dialect for…
permissive · top 15,000 on PyPI