Skip to main content

adbc-poolhouse

[ Docs ]

Connection pooling for ADBC drivers from typed warehouse configs.

One config in, one pool out — create_pool(SnowflakeConfig(...)) returns a ready-to-use SQLAlchemy QueuePool.

Installation

pip install adbc-poolhouse

Driver extras are available for each supported warehouse (BigQuery, DuckDB, FlightSQL, PostgreSQL, Snowflake, SQLite). See the documentation for the full list.

Quick example

The example below uses DuckDB — no credentials or running server required.

from adbc_poolhouse import DuckDBConfig, create_pool, close_pool

# File-backed database (connections share the same file)
config = DuckDBConfig(database="/tmp/warehouse.db")
pool = create_pool(config)

with pool.connect() as conn:
    cursor = conn.cursor()
    cursor.execute("SELECT 42 AS answer")
    row = cursor.fetchone()
    print(row)  # (42,)

close_pool(pool)

pool.connect() checks out a connection from the pool and returns it when the with block exits. close_pool(pool) drains the pool and closes the underlying ADBC source connection.

Supported warehouses

PyPI drivers: BigQuery, DuckDB, FlightSQL, PostgreSQL, Snowflake, SQLite

Foundry-distributed drivers: ClickHouse, Databricks, MSSQL / Azure SQL / Fabric, MySQL, Redshift, Trino

License

MIT

Metadata

Release files for adbc-poolhouse 1.6.4

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

Source distribution (sdist)

Source distribution for adbc-poolhouse 1.6.4
File Size Uploaded
adbc_poolhouse-1.6.4.tar.gz 69.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for adbc-poolhouse 1.6.4
File Interpreter ABI Platform
adbc_poolhouse-1.6.4-py3-none-any.whl Python 3 none any Details

Total release size: 156.9 kB

Release files / adbc_poolhouse-1.6.4.tar.gz

Download URL adbc_poolhouse-1.6.4.tar.gz
Size 69.5 kB
Tags Source
SHA-256 checksum
How to use checksums
94a4d82478cbcea76c824ebf741e163a99b47b55125816caf70ea4b6dab4abfa
BLAKE2b-256 checksum
How to use checksums
9858e71bc6640c6bba337cc5044b28edc31bf7d825f8936a05777db2259c1c9b
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 Oct 16, 2026.

Transparency log

Release files / adbc_poolhouse-1.6.4-py3-none-any.whl

Download URL adbc_poolhouse-1.6.4-py3-none-any.whl
Size 87.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
251258f291b38da84e33e17084c556164d2612b773282a0235a24e1900f6772a
BLAKE2b-256 checksum
How to use checksums
6659884e7e6449996f418158d5a5fe10fb8338fd6a8fd15a0f426749eb57320b
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 Oct 16, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.6.4 This release

2 release files

1.6.3

2 release files

1.6.2

2 release files

1.6.1

2 release files

1.6.0

2 release files

1.5.1

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.0.1

2 release files

1.0.0

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