This release is a pre-release and may not be stable for production use.
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"])
License
The Zig license.
Release files for ziglang 0.11.0.dev3747
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| ziglang-0.11.0.dev.3747-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details |
| ziglang-0.11.0.dev.3747-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 |
| ziglang-0.11.0.dev.3747-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 |
| ziglang-0.11.0.dev.3747-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 |
| ziglang-0.11.0.dev.3747-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details |
| ziglang-0.11.0.dev.3747-py3-none-macosx_10_9_x86_64.whl | Python 3 | none | macOS 10.9+ x86-64 | Details |
Total release size: 479.4 MB
Release files / ziglang-0.11.0.dev.3747-py3-none-win_amd64.whl
| Download URL | ziglang-0.11.0.dev.3747-py3-none-win_amd64.whl |
|---|---|
| Size | 78.1 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
078c4e5537783d793ca210e70edd1c08bed33d3378c1ec09596afc7b7ce83708
|
|
BLAKE2b-256 checksum How to use checksums |
4058970f5c5d926de27e94fabe55327db6dc4c8ba6c5a85e12888c46354e1370
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.2
|
Release files / ziglang-0.11.0.dev.3747-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl
| Download URL | ziglang-0.11.0.dev.3747-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl |
|---|---|
| Size | 76.1 MB |
| Tags | Linux glibc 2.17+ ARM64 Linux musl 1.1+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
46e0f031806a142ea7357bbdf06b8f07f32212373de7fe62a166799d70788d9a
|
|
BLAKE2b-256 checksum How to use checksums |
38dbd10aa40552e2ea7bc93e57cc366d3b53dd816474072503327f4f580ae253
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.2
|
Release files / ziglang-0.11.0.dev.3747-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl
| Download URL | ziglang-0.11.0.dev.3747-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl |
|---|---|
| Size | 78.6 MB |
| Tags | Linux glibc 2.12+ x86-64 Linux musl 1.1+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
4e9a96629f62be03b1df2838c9e3bba44ef8fd5cde6e9957f021bae70f77e377
|
|
BLAKE2b-256 checksum How to use checksums |
d94b015ac5160290be41a1e7ec4596b7779f5840c47e31dd5e9de7bf567990f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.2
|
Release files / ziglang-0.11.0.dev.3747-py3-none-manylinux_2_12_i686.manylinux2010_i686.musllinux_1_1_i686.whl
| Download URL | ziglang-0.11.0.dev.3747-py3-none-manylinux_2_12_i686.manylinux2010_i686.musllinux_1_1_i686.whl |
|---|---|
| Size | 85.8 MB |
| Tags | Linux glibc 2.12+ x86-32 Linux musl 1.1+ x86-32 Python 3 |
|
SHA-256 checksum How to use checksums |
5f2f7e8930da3b7a7cf4e47054307ac9b1e756e7a02301ed3103cc99de8c8236
|
|
BLAKE2b-256 checksum How to use checksums |
bd567c48145cc689681a7b73fe5e1b1038e3d56fa3800d02665cc58502816d7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.2
|
Release files / ziglang-0.11.0.dev.3747-py3-none-macosx_11_0_arm64.whl
| Download URL | ziglang-0.11.0.dev.3747-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 78.4 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
a075ceaeba6e10e18dbe49a0fbba23a832e1e68526ae629462e79e06626a8b80
|
|
BLAKE2b-256 checksum How to use checksums |
3c743e7a8e3405a68ca2a86da56a58149600e2945a5deae5b07ba46f17acab35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.2
|
Release files / ziglang-0.11.0.dev.3747-py3-none-macosx_10_9_x86_64.whl
| Download URL | ziglang-0.11.0.dev.3747-py3-none-macosx_10_9_x86_64.whl |
|---|---|
| Size | 82.3 MB |
| Tags | Python 3 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
cc032b5345ba144664eaad619fa1d08989bf2e0f9c62f68c3f54f5805c5c0b58
|
|
BLAKE2b-256 checksum How to use checksums |
2d3b883cf7e501d7a188ee649b045af5fb623b6d66cd9cbaa00ea4813ffdf5af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.2
|