GitHub - mattrobenolt/alloconda: Zig-first Python extensions with cross-compiled wheels

1 min read Original article ↗
  ▜ ▜          ▌
▀▌▐ ▐ ▛▌▛▘▛▌▛▌▛▌▀▌
█▌▐▖▐▖▙▌▙▖▙▌▌▌▙▌█▌

Alloconda is Zig-first Python extensions with cross-compiled wheels.

Supported versions: Python 3.10 – 3.14, Zig 0.15 (or via ziglang PyPI package)

Project links:

Quickstart (uv)

mkdir hello_alloconda
cd hello_alloconda
uv init
uvx alloconda init
uvx alloconda develop
uv run python -c "import hello_alloconda; print(hello_alloconda.hello('alloconda'))"

alloconda init scaffolds the Zig project, wires up the build backend, and creates a default Python package under python/<project_name>/.

Build wheels

uvx alloconda wheel-all --python-version 3.14 --include-musllinux

This builds a multi-platform wheel matrix in dist/, automatically fetching python-build-standalone headers as needed.

Documentation

The full guide lives at https://alloconda.withmatt.com.