Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

ziglang-0.10.0.post1-py3-none-win_amd64.whl (74.5 MB view details)

Uploaded Python 3Windows x86-64

ziglang-0.10.0.post1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl (95.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARMv7lmusllinux: musl 1.1+ ARMv7l

ziglang-0.10.0.post1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl (71.7 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64musllinux: musl 1.1+ ARM64

ziglang-0.10.0.post1-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl (74.4 MB view details)

Uploaded Python 3manylinux: glibc 2.12+ x86-64musllinux: musl 1.1+ x86-64

ziglang-0.10.0.post1-py3-none-manylinux_2_12_i686.manylinux2010_i686.musllinux_1_1_i686.whl (80.6 MB view details)

Uploaded Python 3manylinux: glibc 2.12+ i686musllinux: musl 1.1+ i686

ziglang-0.10.0.post1-py3-none-macosx_11_0_arm64.whl (73.2 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

ziglang-0.10.0.post1-py3-none-macosx_10_9_x86_64.whl (76.2 MB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

Details for the file ziglang-0.10.0.post1-py3-none-win_amd64.whl.

File metadata

  • Download URL: ziglang-0.10.0.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

Hashes for ziglang-0.10.0.post1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 c29a875f10164c57f6b0cbc1fbf1b0a45a6694cf34b7e0b8de18d89864d0662b
MD5 50664b19b12cbb467b770c9797145fce
BLAKE2b-256 475886174a9fa68f1c802502db84238486192e94600aaba27d077921670fe024

See more details on using hashes here.

File details

Details for the file ziglang-0.10.0.post1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl.

File metadata

File hashes

Hashes for ziglang-0.10.0.post1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl
Algorithm Hash digest
SHA256 3f0263acc26cc7c6e36284afb057bede504fa92751b55bfeacbb2f1180f8c053
MD5 76c1d000c4d5e8dcf9bd44dca94dd90c
BLAKE2b-256 1cd926f74814e121df55e3c6a686be97876838ab437343d7e9a548e164c2967c

See more details on using hashes here.

File details

Details for the file ziglang-0.10.0.post1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl.

File metadata

File hashes

Hashes for ziglang-0.10.0.post1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 0e571d8083d28f28ed62cce674deeda3f46426ea85f2162806cc8e930409a73f
MD5 67dfb9950c4fcf9fd046f90ed312538a
BLAKE2b-256 e61df4bf8a7c5d6d168d00e5143f23dab7037540b7cc2ba370c7bc3c506cda6c

See more details on using hashes here.

File details

Details for the file ziglang-0.10.0.post1-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for ziglang-0.10.0.post1-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 b1439d1b8001adaf5bc4a4764762763c29b09546be400d916bee1d8b4dcdb12f
MD5 5a61929870f6f78b66743350ca3d2e13
BLAKE2b-256 02c1aa8458f28b7704049ac1bb7839395217239a369a8f65f8152ef1d9baabd9

See more details on using hashes here.

File details

Details for the file ziglang-0.10.0.post1-py3-none-manylinux_2_12_i686.manylinux2010_i686.musllinux_1_1_i686.whl.

File metadata

File hashes

Hashes for ziglang-0.10.0.post1-py3-none-manylinux_2_12_i686.manylinux2010_i686.musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 1bacc50301eaf9612a4694ea5c2dca7df090a05f5a251a824deced201189e5f8
MD5 c298ad21786f47998fed40f89dc6fb0c
BLAKE2b-256 08f96ccedd8967094dfedfd8379c5046f1dba1f45bfae79680a997ddb4e235fc

See more details on using hashes here.

File details

Details for the file ziglang-0.10.0.post1-py3-none-macosx_11_0_arm64.whl.

File metadata

  • Download URL: ziglang-0.10.0.post1-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 73.2 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

Hashes for ziglang-0.10.0.post1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2d95f0aad480e6ae42c33e1c19c8a07dee62124c28b3c8f18d7c6b1e48d0b10c
MD5 b9b5cc679c9face5408f275790525f4a
BLAKE2b-256 38a1d25687cbdf3a933a6853ad3096931aef598ecdfdde69b8b0ab5f0f27f346

See more details on using hashes here.

File details

Details for the file ziglang-0.10.0.post1-py3-none-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: ziglang-0.10.0.post1-py3-none-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 76.2 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

Hashes for ziglang-0.10.0.post1-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 bd80fbee04e0d8dc62f0e8db65f93fac6e49a54f2fa7e2ed2cb6869823aadb7d
MD5 ef4478cfffab5e5ba4fea16c4ae49ed0
BLAKE2b-256 541e0d4fcbe55e813f8c93d089135c492f21f6af879fa7e24eabdb91553e993c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page