Skip to main content

Zig PyPI distribution

Zig is a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software. The ziglang Python package redistributes the Zig toolchain so that it can be used as a dependency of Python projects.

Rationale

Although Zig is useful in itself, the Zig toolchain includes a drop-in C and C++ compiler, zig cc, based on clang. Unlike clang itself, zig cc is standalone: it does not require additional development files to be installed to target any of the platforms it supports. Through zig cc, Python code that generates C or C++ code can build it without any external dependencies.

Usage

To run the Zig toolchain from the command line, use:

python -m ziglang

To run the Zig toolchain from a Python program, use sys.executable to locate the Python binary to invoke. For example:

import sys, subprocess

subprocess.call([sys.executable, "-m", "ziglang"])

Binary wrapper

The ziglang Python package installs a binary wrapper for the Zig compiler under the name python-zig; the name is different to avoid conflicts with any system-wide or user-wide zig binaries that may be already installed.

Using with uv

The Zig compiler distributed in this Python package can be launched by uv without installation:

uvx --from ziglang python-zig

License

The Zig license.

Metadata

Release files for ziglang 0.17.0.post0

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 ziglang 0.17.0.post0
File Actions
ziglang-0.17.0.post0-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for ziglang-0.17.0.post0-py3-none-win_arm64.whl
ziglang-0.17.0.post0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for ziglang-0.17.0.post0-py3-none-win_amd64.whl
ziglang-0.17.0.post0-py3-none-win32.whl Python 3 none Windows x86-32 Details for ziglang-0.17.0.post0-py3-none-win32.whl
ziglang-0.17.0.post0-py3-none-manylinux_2_31_riscv64.musllinux_1_1_riscv64.whl Python 3 none Linux glibc 2.31+ RISC-V 64, Linux musl 1.1+ RISC-V 64 Details for ziglang-0.17.0.post0-py3-none-manylinux_2_31_riscv64.musllinux_1_1_riscv64.whl
ziglang-0.17.0.post0-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.musllinux_1_1_s390x.whl Python 3 none Linux musl 1.1+ IBM System/390x, Linux glibc 2.17+ IBM System/390x Details for ziglang-0.17.0.post0-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.musllinux_1_1_s390x.whl
ziglang-0.17.0.post0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.musllinux_1_1_ppc64le.whl Python 3 none Linux musl 1.1+ PowerPC 64-le, Linux glibc 2.17+ PowerPC 64-le Details for ziglang-0.17.0.post0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.musllinux_1_1_ppc64le.whl
ziglang-0.17.0.post0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl Python 3 none Linux musl 1.1+ ARMv7l, Linux glibc 2.17+ ARMv7l Details for ziglang-0.17.0.post0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl
ziglang-0.17.0.post0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64, Linux musl 1.1+ ARM64 Details for ziglang-0.17.0.post0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl
ziglang-0.17.0.post0-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl Python 3 none Linux musl 1.1+ x86-64, Linux glibc 2.12+ x86-64 Details for ziglang-0.17.0.post0-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl
ziglang-0.17.0.post0-py3-none-manylinux_2_12_i686.manylinux2010_i686.musllinux_1_1_i686.whl Python 3 none Linux glibc 2.12+ x86-32, Linux musl 1.1+ x86-32 Details for ziglang-0.17.0.post0-py3-none-manylinux_2_12_i686.manylinux2010_i686.musllinux_1_1_i686.whl
ziglang-0.17.0.post0-py3-none-macosx_13_0_x86_64.whl Python 3 none macOS 13.0+ x86-64 Details for ziglang-0.17.0.post0-py3-none-macosx_13_0_x86_64.whl
ziglang-0.17.0.post0-py3-none-macosx_13_0_arm64.whl Python 3 none macOS 13.0+ ARM64 Details for ziglang-0.17.0.post0-py3-none-macosx_13_0_arm64.whl

Total release size: 1.2 GB

Release files / ziglang-0.17.0.post0-py3-none-win_arm64.whl

Download URL ziglang-0.17.0.post0-py3-none-win_arm64.whl
Size 97.3 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
e9ebec62ad37d93abe3ff69e1bc94bf9b8338ed289bf90497c1f58d5d93a6347
BLAKE2b-256 checksum
How to use checksums
e261a42084ce99fc268b66de4cfda85d43fb82a48c638cbdb24bed91b3dbe72c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / ziglang-0.17.0.post0-py3-none-win_amd64.whl

Download URL ziglang-0.17.0.post0-py3-none-win_amd64.whl
Size 101.9 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
bb0eeecea548d8653a96ce4165a462962687e4f0dcea81cba8345ae97b635ee3
BLAKE2b-256 checksum
How to use checksums
5bf4d7a0ea1d510fefde47afcd975373a44a86882bad9ab1398837f8c7ea40ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / ziglang-0.17.0.post0-py3-none-win32.whl

Download URL ziglang-0.17.0.post0-py3-none-win32.whl
Size 103.7 MB
Tags Python 3 Windows x86-32
SHA-256 checksum
How to use checksums
98fc865743c1c9724b317bfe89cdc2e796a2128ec50601f0d6d0ae32f82c29df
BLAKE2b-256 checksum
How to use checksums
bfa47160bda6fdd82334ab511031e28a126cfefe2db86489c482700873264215
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / ziglang-0.17.0.post0-py3-none-manylinux_2_31_riscv64.musllinux_1_1_riscv64.whl

Download URL ziglang-0.17.0.post0-py3-none-manylinux_2_31_riscv64.musllinux_1_1_riscv64.whl
Size 101.4 MB
Tags Linux glibc 2.31+ RISC-V 64 Linux musl 1.1+ RISC-V 64 Python 3
SHA-256 checksum
How to use checksums
64fde2f2d50644a7011e3684a7049c3f5628883e4661f8e39e4a463ef0127923
BLAKE2b-256 checksum
How to use checksums
d011667c56d00a9907b57d883082383712cd1f728a9491acb39dd95bb4180936
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / ziglang-0.17.0.post0-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.musllinux_1_1_s390x.whl

Download URL ziglang-0.17.0.post0-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.musllinux_1_1_s390x.whl
Size 107.0 MB
Tags Linux glibc 2.17+ IBM System/390x Linux musl 1.1+ IBM System/390x Python 3
SHA-256 checksum
How to use checksums
b425d09488d884810b7430e4ea2044013c9197a8f789ca7790cd1c9ce3c17c29
BLAKE2b-256 checksum
How to use checksums
31e457fe6d4dde5189ad7c0f9c1ada1d89f71e79b7d74a6d3070324231a821fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / ziglang-0.17.0.post0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.musllinux_1_1_ppc64le.whl

Download URL ziglang-0.17.0.post0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.musllinux_1_1_ppc64le.whl
Size 107.4 MB
Tags Linux glibc 2.17+ PowerPC 64-le Linux musl 1.1+ PowerPC 64-le Python 3
SHA-256 checksum
How to use checksums
90275f66e18751c51e475defc49f820cd0dc369233ffbb3980323aa931403ac9
BLAKE2b-256 checksum
How to use checksums
ebe20c0d6aaed13e0393f401053c5a89944287a985161891a6d6d1e99a28674d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / ziglang-0.17.0.post0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl

Download URL ziglang-0.17.0.post0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl
Size 99.0 MB
Tags Linux glibc 2.17+ ARMv7l Linux musl 1.1+ ARMv7l Python 3
SHA-256 checksum
How to use checksums
14b1d2304e99927391ac2cfae6e12bf713f59eefc005789876571b165f7d3290
BLAKE2b-256 checksum
How to use checksums
03d95dfe8737b0d2f4d0cbbba960192fe85aa738d5298aabd51aacb4561f482f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / ziglang-0.17.0.post0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl

Download URL ziglang-0.17.0.post0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl
Size 98.0 MB
Tags Linux glibc 2.17+ ARM64 Linux musl 1.1+ ARM64 Python 3
SHA-256 checksum
How to use checksums
0e0177dc1886e4b6bc48471353ffe539668d88ecc05dd7d7f928915dcdfe6232
BLAKE2b-256 checksum
How to use checksums
814555b813faf7a3fd9a3b9130ff77b74a92393252961473b398c6f82c5f4449
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / ziglang-0.17.0.post0-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl

Download URL ziglang-0.17.0.post0-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl
Size 101.0 MB
Tags Linux glibc 2.12+ x86-64 Linux musl 1.1+ x86-64 Python 3
SHA-256 checksum
How to use checksums
c9528d6a2cdf56a701bb8cafbc9967f59d88ecc8bb42b87ec2f9693418f69ce3
BLAKE2b-256 checksum
How to use checksums
fe3f38316fcb6b2588b643613db636e74c3e08fc941389d3cd18ae302144c7d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / ziglang-0.17.0.post0-py3-none-manylinux_2_12_i686.manylinux2010_i686.musllinux_1_1_i686.whl

Download URL ziglang-0.17.0.post0-py3-none-manylinux_2_12_i686.manylinux2010_i686.musllinux_1_1_i686.whl
Size 104.6 MB
Tags Linux glibc 2.12+ x86-32 Linux musl 1.1+ x86-32 Python 3
SHA-256 checksum
How to use checksums
b1e264fdebb9476c9cef4dbae4add5b027616b82e457cec6681e396e3ca6f97a
BLAKE2b-256 checksum
How to use checksums
da208e080daf4e57da8106331988a296d64a69c9975727f71c715db971283692
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / ziglang-0.17.0.post0-py3-none-macosx_13_0_x86_64.whl

Download URL ziglang-0.17.0.post0-py3-none-macosx_13_0_x86_64.whl
Size 104.4 MB
Tags Python 3 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
f237b44f2c19dad54f1f6cb98dcc6f52c19d38384db16f744735f0db57cc2673
BLAKE2b-256 checksum
How to use checksums
f5085c853d7c1ab36ed29b0bb40f77f32deafc3bef64e613ad55f0a1fe88793f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / ziglang-0.17.0.post0-py3-none-macosx_13_0_arm64.whl

Download URL ziglang-0.17.0.post0-py3-none-macosx_13_0_arm64.whl
Size 100.4 MB
Tags Python 3 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
72bb975f5d23e526f3f2aa58ff0c35d6cad3572e5158b59357a9219cb34a8fca
BLAKE2b-256 checksum
How to use checksums
b197e6178d91dd780a991ccce491f0049ef6d5d26c69e561e06bb3f1935d1d29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Security for ziglang 0.17.0.post0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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