adbc-driver-oracle - by GizmoData™
Arrow straight from Oracle Database, in Python: pure Go, no Oracle Client libraries required.
Python package for adbc-driver-oracle, an Apache Arrow ADBC driver for Oracle Database, by GizmoData™: pure Go, no Oracle Client libraries required.
It speaks Oracle's native TNS/TTC wire protocol and returns Apache Arrow data straight from the
result set. No Instant Client, no ORACLE_HOME, no LD_LIBRARY_PATH: the driver is a shared
library inside the wheel.
An independent, open-source project. Not affiliated with, endorsed by, or sponsored by Oracle Corporation. "Oracle" and "Oracle Database" are trademarks of Oracle Corporation, used here only to describe compatibility.
This page covers the Python package. For other languages (C, C++, Go, Rust, R, DuckDB), the
one-line installer of the shared library (curl https://install.adbc.gizmodata.com/oracle | sh),
the connection URL reference, type mapping, bulk ingest, PL/SQL, Native Network Encryption and
limitations, see the project README on GitHub.
📦 Install
pip install adbc-driver-oracle
- Python 3.10 or later.
- Wheels for Linux x86_64 and aarch64 (glibc 2.17 or later), macOS arm64 (13 or later) and Windows x64.
- Depends on
adbc-driver-managerandpyarrow. - Oracle Database 12.1 or later (tested against Oracle Database 23ai Free).
For a local database, the gvenzl/oracle-free
container gives you oracle://scott:tiger@localhost:1521/FREEPDB1:
docker run --name oracle-adbc-test -d -p 1521:1521 \
-e ORACLE_PASSWORD=tiger -e APP_USER=scott -e APP_USER_PASSWORD=tiger \
gvenzl/oracle-free:23-slim-faststart
🔌 Connect and query
import adbc_driver_oracle.dbapi as oracle
with oracle.connect(
uri="oracle://scott:tiger@localhost:1521/FREEPDB1",
) as conn, conn.cursor() as cur:
cur.execute("SELECT 42 AS answer, 'hello oracle' AS greeting FROM DUAL")
table = cur.fetch_arrow_table() # a pyarrow.Table
print(table)
The result is a pyarrow.Table: pass it to Polars, pandas, DuckDB or anything else that reads
Arrow.
Credentials can be options instead of part of the URL:
import adbc_driver_oracle.dbapi as oracle
with oracle.connect(
uri="oracle://localhost:1521/FREEPDB1",
db_kwargs={"username": "scott", "password": "tiger"},
) as conn, conn.cursor() as cur:
cur.execute("SELECT USER FROM DUAL")
print(cur.fetchone())
🌊 Stream large results
fetch_record_batch() returns a pyarrow.RecordBatchReader that pulls rows from the server one
batch at a time, so memory stays bounded however large the result is:
import adbc_driver_oracle.dbapi as oracle
with oracle.connect(
uri="oracle://scott:tiger@localhost:1521/FREEPDB1",
) as conn, conn.cursor() as cur:
cur.execute("SELECT LEVEL AS n FROM DUAL CONNECT BY LEVEL <= 100000")
rows = 0
for batch in cur.fetch_record_batch():
rows += batch.num_rows
print(rows)
⚙️ Options
Driver options go in db_kwargs and follow the
ADBC driver style guide:
oracle.<option>, grouped as oracle.query.* (result batches and Arrow types),
oracle.ingest.* (bulk ingest), oracle.tls.*, oracle.auth.*, oracle.session.* and
oracle.nne.* (Native Network Encryption). The adbc_driver_oracle.DatabaseOptions,
ConnectionOptions and StatementOptions enums list them:
import adbc_driver_oracle.dbapi as oracle
with oracle.connect(
uri="oracle://scott:tiger@localhost:1521/FREEPDB1",
db_kwargs={"oracle.query.batch_size": "10000", "oracle.query.number_type": "decimal"},
) as conn, conn.cursor() as cur:
cur.execute("SELECT 1.5 AS x FROM DUAL")
print(cur.fetch_arrow_table().schema)
Names before 1.1.0 (adbc.oracle.*) still work and print a one-time deprecation warning to
stderr naming the new key; they will be removed in 2.0.0. The
project README has every option.
🧭 Load the driver by name (driver manifest)
ADBC driver manifests let the ADBC driver manager, and connection profiles, find a driver by name. The package writes one for its own library:
$ python -m adbc_driver_oracle install-manifest
Wrote ADBC driver manifest: .../etc/adbc/drivers/oracle.toml
(Inside a virtualenv or conda environment this targets the environment's etc/adbc/drivers/;
otherwise the per-user ADBC directory. --user, --venv and --dir PATH override it, and
adbc_driver_oracle.install_manifest() does the same from Python.) Then the driver manager
resolves oracle:// URLs with no import of adbc_driver_oracle:
from adbc_driver_manager import dbapi
with dbapi.connect(uri="oracle://scott:tiger@localhost:1521/FREEPDB1") as conn, conn.cursor() as cur:
cur.execute("SELECT 1 AS one FROM DUAL")
print(cur.fetch_arrow_table())
📚 More
- Project README: every option and feature, other languages, and the one-line installer for the shared library
- Changelog
- Issues
™️ Trademarks
Oracle and Oracle Database are registered trademarks of Oracle Corporation. adbc-driver-oracle is not affiliated with, endorsed by, or sponsored by Oracle Corporation. References to "Oracle Database" identify the software this driver interoperates with and are nominative fair use.
📄 License
MIT —
Copyright (c) 2026 GizmoData LLC. See
NOTICE for third-party
attributions.
Built by GizmoData™, makers of Hardcharger™. Free and open source.
Hardcharger™ and GizmoData™ are trademarks of GizmoData LLC.
Metadata
Release files for adbc-driver-oracle 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| adbc_driver_oracle-1.1.0-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details for adbc_driver_oracle-1.1.0-py3-none-win_amd64.whl |
| adbc_driver_oracle-1.1.0-py3-none-manylinux2014_x86_64.whl | Python 3 | none | Linux glibc 2.17+ x86-64 | Details for adbc_driver_oracle-1.1.0-py3-none-manylinux2014_x86_64.whl |
| adbc_driver_oracle-1.1.0-py3-none-manylinux2014_aarch64.whl | Python 3 | none | Linux glibc 2.17+ ARM64 | Details for adbc_driver_oracle-1.1.0-py3-none-manylinux2014_aarch64.whl |
| adbc_driver_oracle-1.1.0-py3-none-macosx_13_0_arm64.whl | Python 3 | none | macOS 13.0+ ARM64 | Details for adbc_driver_oracle-1.1.0-py3-none-macosx_13_0_arm64.whl |
Total release size: 32.8 MB
Release files / adbc_driver_oracle-1.1.0-py3-none-win_amd64.whl
| Download URL | adbc_driver_oracle-1.1.0-py3-none-win_amd64.whl |
|---|---|
| Size | 9.7 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
10e24389489aac809603b2f582eb4951a1d68b4249190fbb728ad2835b98e5e3
|
|
BLAKE2b-256 checksum How to use checksums |
422853e775dce8739f7bb0c7538c6791ca4ab4be93145c899d4452dd6e0f5ff1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 20, 2026.
Transparency logRelease files / adbc_driver_oracle-1.1.0-py3-none-manylinux2014_x86_64.whl
| Download URL | adbc_driver_oracle-1.1.0-py3-none-manylinux2014_x86_64.whl |
|---|---|
| Size | 9.7 MB |
| Tags | Linux glibc 2.17+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
062fbea0e087e6e5c9c3631cf56138c663cef894b3e16d07e2606851c2f93457
|
|
BLAKE2b-256 checksum How to use checksums |
dfc414f675c2b1983e2728ed409807a94ea6c632af065c53470afb33b9fe24cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 20, 2026.
Transparency logRelease files / adbc_driver_oracle-1.1.0-py3-none-manylinux2014_aarch64.whl
| Download URL | adbc_driver_oracle-1.1.0-py3-none-manylinux2014_aarch64.whl |
|---|---|
| Size | 8.7 MB |
| Tags | Linux glibc 2.17+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
62bf2a3210d5a429329adc88569aeea6c0aeda6da4353c925191f5c882bd10c1
|
|
BLAKE2b-256 checksum How to use checksums |
cf5f72c51717fce880d368acf43b9a2f595931fd7ac28c8fc64fb1929287ec81
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 20, 2026.
Transparency logRelease files / adbc_driver_oracle-1.1.0-py3-none-macosx_13_0_arm64.whl
| Download URL | adbc_driver_oracle-1.1.0-py3-none-macosx_13_0_arm64.whl |
|---|---|
| Size | 4.7 MB |
| Tags | Python 3 macOS 13.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
3e2124190f234370e11c1fa9aa4f806d11ba11669c16e66e456eb3059a681416
|
|
BLAKE2b-256 checksum How to use checksums |
b41651c660c8a67decf80da41a43024df1ec4ed71b8f32e6aa4b01cbb753d934
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 20, 2026.
Transparency logSecurity for adbc-driver-oracle 1.1.0
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
All 4 files in this release have been uploaded with provenance metadata.
Attestation for adbc_driver_oracle-1.1.0-py3-none-win_amd64.whl
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 20, 2026.
Transparency logA 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.