Zig is a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file ziglang-0.10.1.post1-py3-none-win_amd64.whl
.
File metadata
- Download URL: ziglang-0.10.1.post1-py3-none-win_amd64.whl
- Upload date:
- Size: 74.5 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.64.1 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 567b1a06923b8b7e0dbbfe2dbaf60f5683b69706b1982d21e29c2e618b5354b0 |
|
MD5 | 7197262abe1d98eb23ccdba7f426453a |
|
BLAKE2b-256 | 3882d71d1cf68857544c5d76817165854ed875e6f5188d9a88b1a2fc4be3e949 |
Provenance
File details
Details for the file ziglang-0.10.1.post1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl
.
File metadata
- Download URL: ziglang-0.10.1.post1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl
- Upload date:
- Size: 95.6 MB
- Tags: Python 3, manylinux: glibc 2.17+ ARMv7l, musllinux: musl 1.1+ ARMv7l
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.64.1 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7fc4f015d06d64099549e1697f8ebfe95e5a2b107d348c207f17c0b1fa4e0616 |
|
MD5 | 8e59ae23c0235e91a2382d1a11b03fd1 |
|
BLAKE2b-256 | 6f30f220e2fcfefc2f13729a2ad834debee0f89467a6af15d8551fa46a2dd11e |
Provenance
File details
Details for the file ziglang-0.10.1.post1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl
.
File metadata
- Download URL: ziglang-0.10.1.post1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl
- Upload date:
- Size: 71.8 MB
- Tags: Python 3, manylinux: glibc 2.17+ ARM64, musllinux: musl 1.1+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.64.1 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 563c7e65e133f1710a8c9503b1e4a450b034490402a15ce61d1ce9dc5d4beb9b |
|
MD5 | 5dc26ba07a97d19e9083de06369563d9 |
|
BLAKE2b-256 | beb53d573ae25b9dc62ec8b8a09968a9ccee06ed180a92c581daa3dd3ba4196a |
Provenance
File details
Details for the file ziglang-0.10.1.post1-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl
.
File metadata
- Download URL: ziglang-0.10.1.post1-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl
- Upload date:
- Size: 74.5 MB
- Tags: Python 3, manylinux: glibc 2.12+ x86-64, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.64.1 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9f7aa2c6a44dd23fb0c11722eaaca2626272ef52ac1aeb20fe8d761ca490638 |
|
MD5 | 151e524f3207a3115e85bc2edb2e676f |
|
BLAKE2b-256 | 317a5dc76c747eaf456db180f64c2f749af77c023a92459eaaac616d105a4cf9 |
Provenance
File details
Details for the file ziglang-0.10.1.post1-py3-none-manylinux_2_12_i686.manylinux2010_i686.musllinux_1_1_i686.whl
.
File metadata
- Download URL: ziglang-0.10.1.post1-py3-none-manylinux_2_12_i686.manylinux2010_i686.musllinux_1_1_i686.whl
- Upload date:
- Size: 80.7 MB
- Tags: Python 3, manylinux: glibc 2.12+ i686, musllinux: musl 1.1+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.64.1 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e7ce24665f7fbbe9317e10a3c349589e857181860d60c66e739e7a7f1d24f50 |
|
MD5 | faf955c52ec61ab0a770799ea6686978 |
|
BLAKE2b-256 | 50b6c69aa48ca1499cab54b3ef5dccd0fd0ba76accad550d43c346743742af61 |
Provenance
File details
Details for the file ziglang-0.10.1.post1-py3-none-macosx_11_0_arm64.whl
.
File metadata
- Download URL: ziglang-0.10.1.post1-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 72.6 MB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.64.1 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa0ed478daa6aace75e2e56d0bd5d526493fb6bd03159a30e9a5e0123b2bcf7e |
|
MD5 | 97acab2f459076b5a8e6ae789491e4f8 |
|
BLAKE2b-256 | 812a017e1deb267710ddb78f7c96aed63008c1bbc797df6546c8caac7a2f0b0d |
Provenance
File details
Details for the file ziglang-0.10.1.post1-py3-none-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: ziglang-0.10.1.post1-py3-none-macosx_10_9_x86_64.whl
- Upload date:
- Size: 76.3 MB
- Tags: Python 3, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.64.1 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49c34715d17057e0ddfb0ef809cac4909d37636359c7e12d675f40d375b0d856 |
|
MD5 | e3443bc5e6e083eadf8065f990860c71 |
|
BLAKE2b-256 | 14dd61470f474950c2cadb73c4e5155ef10519384b2e76bed5bb8644016dca14 |