Skip to main content

SQLAlchemy Dremio

Fork of narendrans/sqlalchemy_dremio with unreleased changes.

PyPI CI License Python

A SQLAlchemy dialect for Dremio via ODBC and Flight interfaces.

Installation

From pip:

pip install serraict-sqlalchemy-dremio

To install from source: python setup.py install

Usage

Connection String example:

Dremio Software:

dremio+flight://user:password@host:port/dremio

Dremio Cloud:

dremio+flight://data.dremio.cloud:443/?Token=<TOKEN>UseEncryption=true&disableCertificateVerification=true

Options:

Schema - (Optional) The schema to use

TLS:

UseEncryption=true|false - (Optional) Enables TLS connection. Must be enabled on Dremio to use it. DisableCertificateVerification=true|false - (Optional) Disables certificate verification.

WLM:

https://docs.dremio.com/software/advanced-administration/workload-management/#query-tagging--direct-routing-configuration

routing_queue - (Optional) The queue in which queries should run routing_tag - (Optional) Routing tag to use. routing_engine - (Optional) The engine in which the queries should run

Testing

You can run the integration tests with the Dremio community edition Docker image.

docker run -d -p 9047:9047 -p 31010:31010 -p 32010:32010 --name dremio dremio/dremio-oss:latest
export DREMIO_CONNECTION_URL="dremio+flight://dremio:dremio123@localhost:32010/dremio?UseEncryption=false"
pytest

The workflow in .github/workflows/dremio.yml demonstrates how to run these tests automatically on GitHub Actions. The CI badge at the top of this file shows the current test status.

Superset Integration

The ODBC connection to superset is now deprecated. Please update sqlalchemy_dremio to 3.0.2 to use the flight connection.

Release Notes

3.0.4

  • Addressing issue #34 and #37: Add driver name to dialects

3.0.3

  • Add back missing routing_engine property.

3.0.2

  • Add implementations of has_table and get_view_names.

3.0.1

  • Made connection string property keys case-insensitive
  • Fix incorrect lookup of the token property
  • Fix incorrect lookup of the DisableCertificateVerification property

Metadata

Release files for serraict-sqlalchemy-dremio 3.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for serraict-sqlalchemy-dremio 3.0.6
File Size Uploaded Provenance Actions
serraict_sqlalchemy_dremio-3.0.6.tar.gz 16.3 kB With provenance Details for serraict_sqlalchemy_dremio-3.0.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for serraict-sqlalchemy-dremio 3.0.6
File Interpreter ABI Platform Actions
serraict_sqlalchemy_dremio-3.0.6-py2.py3-none-any.whl Python 2, Python 3 none any Details for serraict_sqlalchemy_dremio-3.0.6-py2.py3-none-any.whl

Total release size: 36.2 kB

Release files / serraict_sqlalchemy_dremio-3.0.6.tar.gz

Download URL serraict_sqlalchemy_dremio-3.0.6.tar.gz
Size 16.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5a74bd4416b59c1a5c5b44b295bf0bb935c02542e903d1afce96c25a87ae929d
BLAKE2b-256 checksum
How to use checksums
623820125de260c525da0d9cf6e89b07f4e81eb9a2124bcd0f559a38591ee78a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 14, 2025.

Transparency log

Release files / serraict_sqlalchemy_dremio-3.0.6-py2.py3-none-any.whl

Download URL serraict_sqlalchemy_dremio-3.0.6-py2.py3-none-any.whl
Size 19.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
055d3a5c4e339d7c0fa310c145716abd8432e0eb0073ffd957c5134d882141d3
BLAKE2b-256 checksum
How to use checksums
ebb2a113068e8c0919b8afe526c07137da29729820aa6b89d675a67f87a81fb8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 14, 2025.

Transparency log

Security for serraict-sqlalchemy-dremio 3.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for serraict_sqlalchemy_dremio-3.0.6.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 14, 2025.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

3.0.6 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page