# Installation Install `quixote-engine` and import it as `quixote`. Use an isolated virtual environment because the unrelated `quixote` web framework uses the same import name. ## Python wheel Prebuilt wheels target regular CPython 3.11 through 3.14 on Linux x86-64 (`manylinux_2_28`) and Apple Silicon (macOS 15 or later). The wheel needs no compiler and has no runtime Python dependencies. Install PyArrow alongside it if you want to pass PyArrow batches and tables in the examples: ``` uv venv .venv --python 3.14 uv pip install --python .venv/bin/python quixote-engine pyarrow uv run --no-project --python .venv/bin/python python -I -c 'import quixote; print(quixote.__version__)' ``` With `pip` in an active virtual environment: ``` pip install --pre quixote-engine pyarrow ``` (`--pre` is needed while releases are alpha pre-releases such as `0.1.0a1`.) ## Python from source From a Git checkout or unpacked source archive, you need `uv` and a C11/C++20 toolchain: ``` uv venv .venv --python 3.14 uv pip install --python .venv/bin/python . pyarrow uv run --no-project --python .venv/bin/python python -I examples/getting_started.py ``` The quickstart prints a total of `36` for three rows. The build fetches CMake, Ninja, and Python build tools into an isolated build environment as needed. ## C++ SDK Building or consuming the C++ SDK requires CMake 3.28 or later and a C++20 toolchain. The SDK installs static libraries and its C++ ABI may change between revisions. To build and install the SDK from source with Parquet support: ``` cmake -S . -B build/sdk -G Ninja -DCMAKE_BUILD_TYPE=Release \ -DQUIXOTE_BUILD_PARQUET=ON -DBUILD_TESTING=OFF cmake --build build/sdk --parallel 4 cmake --install build/sdk --prefix "$PWD/prefix" --component Development ``` Pass the installed prefix to CMake as `CMAKE_PREFIX_PATH` when building `examples/cpp`. The core and Arrow C interchange targets work without `libarrow` or Python. The Parquet target includes its codec and metadata libraries. ## Optional native components | Build option | CMake component | Link target | Use | | --- | --- | --- | --- | | `QUIXOTE_BUILD_PARQUET=ON` | `parquet` | `Quixote::parquet` | Read and write local Parquet files | | `QUIXOTE_BUILD_TBB=ON` | `tbb` | `Quixote::tbb` | Use shared oneTBB in place of the default thread pool | | `QUIXOTE_BUILD_ARROW_ADAPTER=ON` | `arrow_adapter` | `Quixote::arrow` | Use Apache Arrow C++ `RecordBatch` and reader objects | Request installed components with `find_package`, for example `find_package(Quixote CONFIG REQUIRED COMPONENTS parquet)`. TBB and the Arrow adapter require their respective libraries. Python builds with TBB enabled accept `Runtime(cpu_executor="tbb")`.