Skip to main content

adbc-driver-orkidea: Oracle Database to Arrow, pandas, and polars

Orkidea is a fast, open source ADBC driver for Oracle Database, written in Rust. It reads Oracle query results straight into Apache Arrow, ready for pyarrow, pandas, polars, or DuckDB, and loads Arrow data back into Oracle. The driver speaks Oracle's network protocol itself, so it needs no Oracle Instant Client, OCI, or ODBC: pip install is the whole setup.

It is fast: a million rows of 7 columns read into an Arrow table through one session in 1.2 s, against 2.5 s with python-oracledb (arraysize=10000) and 3.2 s with ConnectorX (benchmarks).

This package bundles the driver library and connects it to the ADBC driver manager's DB-API 2.0 interface. Wheels are available for Linux (glibc 2.28+), macOS 11+, and Windows, on x86_64 and arm64. To query Oracle from DuckDB SQL, see the Orkidea DuckDB extension.

Orkidea is built by Tnsor Labs and is not affiliated with, sponsored by, or endorsed by Oracle Corporation.

Install

pip install "adbc-driver-orkidea[dbapi]"

The dbapi extra installs pyarrow, which the DB-API interface needs.

Usage

from adbc_driver_orkidea import dbapi

with dbapi.connect(
    "oracle://scott@db.example.com:1521/FREEPDB1",
    db_kwargs={"password": "..."},
) as conn:
    with conn.cursor() as cur:
        cur.execute("SELECT * FROM employees WHERE department_id = :dept", {"dept": 10})
        table = cur.fetch_arrow_table()  # a pyarrow.Table

With pandas or polars installed, the cursor returns a DataFrame too, and polars reads through the connection:

import polars as pl

with conn.cursor() as cur:
    cur.execute("SELECT * FROM employees")
    df = cur.fetch_df()  # pandas
    # or: df = cur.fetch_polars()

df = pl.read_database("SELECT * FROM employees", connection=conn)

Placeholders use Oracle's :name syntax. A dict of parameters binds by name, and a placeholder used more than once takes the same value each time. A sequence binds by position: in SQL, one value per placeholder in the order they appear; in PL/SQL, one value per name. Like every DB-API connection, it starts a transaction: call commit(), or pass autocommit=True.

Load an Arrow table, a pandas or polars DataFrame converted to Arrow, or a stream of record batches into a table:

with conn.cursor() as cur:
    cur.adbc_ingest("measurements", table, mode="create_append")
conn.commit()

Driver-specific options are listed in DatabaseOptions, ConnectionOptions, and StatementOptions:

import adbc_driver_orkidea

conn = dbapi.connect(
    "oracle://scott@db.example.com:1521/FREEPDB1",
    db_kwargs={
        "password": "...",
        adbc_driver_orkidea.DatabaseOptions.CALL_TIMEOUT_MS.value: "30000",
        adbc_driver_orkidea.DatabaseOptions.TIME_ZONE.value: "UTC",
    },
)

adbc_driver_orkidea.driver_path() returns the bundled library, for ADBC clients that load drivers by path (entrypoint OrkideaDriverInit).

Documentation

License

Apache-2.0. The wheel's license files include the licenses of the Rust crates compiled into the driver.

Metadata

Release files for adbc-driver-orkidea 0.5.2

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

Built distributions (wheels)

Table of built distributions (wheels) for adbc-driver-orkidea 0.5.2
File Actions
adbc_driver_orkidea-0.5.2-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for adbc_driver_orkidea-0.5.2-py3-none-win_arm64.whl
adbc_driver_orkidea-0.5.2-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for adbc_driver_orkidea-0.5.2-py3-none-win_amd64.whl
adbc_driver_orkidea-0.5.2-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details for adbc_driver_orkidea-0.5.2-py3-none-manylinux_2_28_x86_64.whl
adbc_driver_orkidea-0.5.2-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details for adbc_driver_orkidea-0.5.2-py3-none-manylinux_2_28_aarch64.whl
adbc_driver_orkidea-0.5.2-py3-none-macosx_11_0_x86_64.whl Python 3 none macOS 11.0+ x86-64 Details for adbc_driver_orkidea-0.5.2-py3-none-macosx_11_0_x86_64.whl
adbc_driver_orkidea-0.5.2-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for adbc_driver_orkidea-0.5.2-py3-none-macosx_11_0_arm64.whl

Total release size: 19.4 MB

Release files / adbc_driver_orkidea-0.5.2-py3-none-win_arm64.whl

Download URL adbc_driver_orkidea-0.5.2-py3-none-win_arm64.whl
Size 3.1 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
5e5483ba6b34b43ee691d344db2d834c2f53fc6729bfdff4c71abae32c236f3c
BLAKE2b-256 checksum
How to use checksums
c3f8169244adae5f556e1e9243b7dc78b552e416fcefe9cf8fba80a6555775bc
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 22, 2026.

Transparency log

Release files / adbc_driver_orkidea-0.5.2-py3-none-win_amd64.whl

Download URL adbc_driver_orkidea-0.5.2-py3-none-win_amd64.whl
Size 3.1 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
2b49256a62027595bdf4bd9cc23094d068af444e0be0703129021c22c26ea528
BLAKE2b-256 checksum
How to use checksums
8adc6c80d136a6690fa99ccf29556646cd9fcc9f4f81967501b22b1768b1af86
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 22, 2026.

Transparency log

Release files / adbc_driver_orkidea-0.5.2-py3-none-manylinux_2_28_x86_64.whl

Download URL adbc_driver_orkidea-0.5.2-py3-none-manylinux_2_28_x86_64.whl
Size 3.5 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
5622b08afbc275803c2671224e806d0493133861db89fa7350f7abcbd75fa0a7
BLAKE2b-256 checksum
How to use checksums
f553603f58f81d6b1c9623f8f073c6c1e03aed61834635383ef9f676f9705612
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 22, 2026.

Transparency log

Release files / adbc_driver_orkidea-0.5.2-py3-none-manylinux_2_28_aarch64.whl

Download URL adbc_driver_orkidea-0.5.2-py3-none-manylinux_2_28_aarch64.whl
Size 3.2 MB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
b8dc270064b5c82b58f647b493b87ae298be5e21106ca11f16c1d27b8c5ad0a7
BLAKE2b-256 checksum
How to use checksums
56f130ee18c8017fb8b65e1c31e626f2aa6fa3f789949509474b95b2e3271831
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 22, 2026.

Transparency log

Release files / adbc_driver_orkidea-0.5.2-py3-none-macosx_11_0_x86_64.whl

Download URL adbc_driver_orkidea-0.5.2-py3-none-macosx_11_0_x86_64.whl
Size 3.4 MB
Tags Python 3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
a549dd20de7801c7e9690f3b4a063589f4b62dd262eaf3165bbe948db752a2da
BLAKE2b-256 checksum
How to use checksums
edb97ce8ba2beaaf010f5da80625b284b341a2dfe65647db4c80cd2b254c974e
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 22, 2026.

Transparency log

Release files / adbc_driver_orkidea-0.5.2-py3-none-macosx_11_0_arm64.whl

Download URL adbc_driver_orkidea-0.5.2-py3-none-macosx_11_0_arm64.whl
Size 3.1 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
e22cf48f32c1e0e98ab3486f2d183f8f283d4a852c0faccfdd62226895012467
BLAKE2b-256 checksum
How to use checksums
9cf51ccf7123418e31740c8a7eb0325203f29ecfc4041b305194730eaa942342
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 22, 2026.

Transparency log

Security for adbc-driver-orkidea 0.5.2

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 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for adbc_driver_orkidea-0.5.2-py3-none-win_arm64.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 22, 2026.

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.

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