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.1

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.1
File Actions
adbc_driver_orkidea-0.5.1-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for adbc_driver_orkidea-0.5.1-py3-none-win_arm64.whl
adbc_driver_orkidea-0.5.1-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for adbc_driver_orkidea-0.5.1-py3-none-win_amd64.whl
adbc_driver_orkidea-0.5.1-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details for adbc_driver_orkidea-0.5.1-py3-none-manylinux_2_28_x86_64.whl
adbc_driver_orkidea-0.5.1-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details for adbc_driver_orkidea-0.5.1-py3-none-manylinux_2_28_aarch64.whl
adbc_driver_orkidea-0.5.1-py3-none-macosx_11_0_x86_64.whl Python 3 none macOS 11.0+ x86-64 Details for adbc_driver_orkidea-0.5.1-py3-none-macosx_11_0_x86_64.whl
adbc_driver_orkidea-0.5.1-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for adbc_driver_orkidea-0.5.1-py3-none-macosx_11_0_arm64.whl

Total release size: 19.4 MB

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

Download URL adbc_driver_orkidea-0.5.1-py3-none-win_arm64.whl
Size 3.1 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
548a04f260277e83abb182530893e9bd4d6feff8b28c2f893596c7db7f4fa256
BLAKE2b-256 checksum
How to use checksums
9934534da55e82f43ca234bc172633e0be7e35507a84d4aa40e83d3a29dccc5e
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 15, 2026.

Transparency log

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

Download URL adbc_driver_orkidea-0.5.1-py3-none-win_amd64.whl
Size 3.1 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
74876e992ce5849ceb72b9538a06e0beb5485b388a09790eaafbcec50035d0d0
BLAKE2b-256 checksum
How to use checksums
536eb9233fea7b1be05e4ca46b0adc8d762ce2c196e47f74aad07d9883e87e67
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 15, 2026.

Transparency log

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

Download URL adbc_driver_orkidea-0.5.1-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
7936be59e45bc6f08eca9ccb8277a9755cc91af4e1c90ac29ee605f188f0ed5b
BLAKE2b-256 checksum
How to use checksums
17dd882904b6fa7b6d8ab14314fb28400861afc7c09afc980e6e689b88da8157
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 15, 2026.

Transparency log

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

Download URL adbc_driver_orkidea-0.5.1-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
f9e885e91e07bff86dd94ed37a766a9f916cc06d845adfb4f8737493b23c1caa
BLAKE2b-256 checksum
How to use checksums
15b6bdd22bdadbd740cdf97d784ff92b3ba291ef65e83d5ecca1003509f261fd
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 15, 2026.

Transparency log

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

Download URL adbc_driver_orkidea-0.5.1-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
54f763cc1e26aa8a38b7535cd273ec95bf776a9a60fce5a17e5c10f9f1e80481
BLAKE2b-256 checksum
How to use checksums
ced0ec8a02e07408d17408a6ee2804a15e607840916a6d8c706693235b7e9b34
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 15, 2026.

Transparency log

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

Download URL adbc_driver_orkidea-0.5.1-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
762f9535e44a2fb8f2f52a57af009471f3f3e14bf2b0166285db315f21f61508
BLAKE2b-256 checksum
How to use checksums
7cd91c8b79f4a45a1b24397b9f200e0e33acee55a46cd9d99d1cf6ef6d7c5ff2
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 15, 2026.

Transparency log

Security for adbc-driver-orkidea 0.5.1

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.1-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 15, 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