tree: c5d4853130524371ef0da6a2b88c71e0b4e19f49 [path history] [tgz]
  1. adbc_driver_manager/
  2. tests/
  3. .gitignore
  4. MANIFEST.in
  5. pyproject.toml
  6. README.md
  7. setup.py
python/adbc_driver_manager/README.md

ADBC Driver Manager for Python

This package contains bindings for the ADBC Driver Manager, as well as a DBAPI 2.0/PEP 249-compatible interface on top. The DBAPI 2.0 interface additionally requires PyArrow, and exposes a number of extensions mimicking those of Turbodbc or DuckDB's Python packages to allow you to retrieve Arrow Table objects instead of being limited to the row-oriented API of the base DBAPI interface.

Building

Dependencies: a C++ compiler.

See CONTRIBUTING.md for details.

Testing

The SQLite driver must be loadable at runtime (e.g. it must be on LD_LIBRARY_PATH, DYLD_LIBRARY_PATH, or PATH).

See CONTRIBUTING.md for details.

$ export LD_LIBRARY_PATH=path/to/sqlite/driver/
$ pytest -vvx