Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

iomete-sqlalchemy

A SQLAlchemy dialect for IOMETE using Arrow Flight SQL (adbc-driver-flightsql).

All reflection methods are implemented and relational stubs (PK, FK, indexes) return graceful empty results instead of raising NotImplementedError, making it compatible with schema inspection tools and data catalog integrations.


Requirements

  • Python 3.9+
  • sqlalchemy >= 2.0.30
  • adbc-driver-flightsql >= 1.1.0
  • pyarrow >= 16.0

Installation

pip install iomete-sqlalchemy

Connection URL

iomete://<user>:<password>@<host>:<port>/<catalog>/<schema>
    ?cluster=<cluster>
    &data_plane=<data_plane>
    [&tls=true]
    [&max_msg_size=134217728]
Parameter Description Default
host IOMETE host —
port gRPC port 443
catalog Top-level catalog (e.g. spark_catalog) —
schema Schema / database inside the catalog —
cluster IOMETE compute cluster name —
data_plane IOMETE data plane name —
tls Use grpc+tls transport true
max_msg_size Max gRPC message size in bytes 134217728 (128 MB)

Example

from sqlalchemy import create_engine, inspect, text

HOST       = "dev.iomete.cloud"
PORT       = 443
USERNAME   = "your-username"
PASSWORD   = "your-password"
CATALOG    = "spark_catalog"
SCHEMA     = "default"
CLUSTER    = "your-cluster"
DATA_PLANE = "your-data-plane"

engine = create_engine(
    f"iomete://{USERNAME}:{PASSWORD}@{HOST}:{PORT}"
    f"/{CATALOG}/{SCHEMA}"
    f"?cluster={CLUSTER}&data_plane={DATA_PLANE}"
)

# Check connection
with engine.connect() as conn:
    print(conn.execute(text("SELECT 1")).scalar())  # → 1

# Reflect schema
inspector = inspect(engine)
print(inspector.get_schema_names())
print(inspector.get_table_names(schema=f"{CATALOG}.{SCHEMA}"))

Supported Type Mappings

Spark / Iceberg type SQLAlchemy type
boolean Boolean
tinyint, smallint SmallInteger
int, integer Integer
bigint BigInteger
float, real Float(24)
double Float(53)
decimal(p, s) Numeric(p, s)
char(n) CHAR(n)
varchar(n) VARCHAR(n)
string, text Text
binary LargeBinary
date Date
timestamp, timestamp_ntz DateTime
array<…>, map<…>, struct<…> JSON

Contributing

See CONTRIBUTING.md for architecture overview, codebase layout, and how to run tests.

Metadata

Release files for iomete-sqlalchemy 1.0.23rc1

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

Source distribution (sdist)

Source distribution for iomete-sqlalchemy 1.0.23rc1
File Size Uploaded
iomete_sqlalchemy-1.0.23rc1.tar.gz 14.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iomete-sqlalchemy 1.0.23rc1
File Interpreter ABI Platform
iomete_sqlalchemy-1.0.23rc1-py3-none-any.whl Python 3 none any Details

Total release size: 29.5 kB

Release files / iomete_sqlalchemy-1.0.23rc1.tar.gz

Download URL iomete_sqlalchemy-1.0.23rc1.tar.gz
Size 14.7 kB
Tags Source
SHA-256 checksum
How to use checksums
85a9ec00e70a6a4de22fbd2c200b3b1ede8c9fc2ad9bf535e58d9dbb375dc1c7
BLAKE2b-256 checksum
How to use checksums
045c26c8f84945be8ef87ebb1f8963fee29e24559db82c3b0a4826b6aa752f88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 4, 2026.

Transparency log

Release files / iomete_sqlalchemy-1.0.23rc1-py3-none-any.whl

Download URL iomete_sqlalchemy-1.0.23rc1-py3-none-any.whl
Size 14.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
70168f7cf629b2aa827e7a5a62672d8207c8c74e667590efe5fecbcdeb0c876a
BLAKE2b-256 checksum
How to use checksums
21404fddf0d7e922bc77616727bd114a0134a33a344376bd9400cb498a6ce8d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 4, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.23rc1 This release

2 release files

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