An open API service indexing awesome lists of open source software.

https://github.com/mattrobenolt/alloconda

Zig-first Python extensions with cross-compiled wheels
https://github.com/mattrobenolt/alloconda

python zig

Last synced: 5 months ago
JSON representation

Zig-first Python extensions with cross-compiled wheels

Awesome Lists containing this project

README

          

```
▜ ▜ ▌
▀▌▐ ▐ ▛▌▛▘▛▌▛▌▛▌▀▌
█▌▐▖▐▖▙▌▙▖▙▌▌▌▙▌█▌
```

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:
- Docs:
- Repo:
- Zig API:

## Quickstart (uv)

```bash
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//`.

## Build wheels

```bash
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 .