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.14.0-py3-none-win_arm64.whl (79.3 MB view details)

Uploaded Python 3Windows ARM64

ziglang-0.14.0-py3-none-win_amd64.whl (83.6 MB view details)

Uploaded Python 3Windows x86-64

ziglang-0.14.0-py3-none-win32.whl (85.5 MB view details)

Uploaded Python 3Windows x86

ziglang-0.14.0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.musllinux_1_1_ppc64le.whl (89.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ppc64lemusllinux: musl 1.1+ ppc64le

ziglang-0.14.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl (81.6 MB view details)

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

ziglang-0.14.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl (80.2 MB view details)

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

ziglang-0.14.0-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl (83.2 MB view details)

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

ziglang-0.14.0-py3-none-manylinux_2_12_i686.manylinux2010_i686.musllinux_1_1_i686.whl (86.9 MB view details)

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

ziglang-0.14.0-py3-none-macosx_12_0_x86_64.whl (86.6 MB view details)

Uploaded Python 3macOS 12.0+ x86-64

ziglang-0.14.0-py3-none-macosx_12_0_arm64.whl (82.4 MB view details)

Uploaded Python 3macOS 12.0+ ARM64

File details

Details for the file ziglang-0.14.0-py3-none-win_arm64.whl.

File metadata

  • Download URL: ziglang-0.14.0-py3-none-win_arm64.whl
  • Upload date:
  • Size: 79.3 MB
  • Tags: Python 3, Windows ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.9

File hashes

Hashes for ziglang-0.14.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 ed6993799b1f0ab72f92e505331c556c44d95d83d768a5729620d1f00d8f7aef
MD5 cff97d39e01efa8a3b8af76103b07a61
BLAKE2b-256 c02066e395eec2e8850a95f29fa3c912cc3e0cbc95be65e8d6b40c1f8ae7d617

See more details on using hashes here.

File details

Details for the file ziglang-0.14.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: ziglang-0.14.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 83.6 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.9

File hashes

Hashes for ziglang-0.14.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 88f39a135e9208d8013e8821092dfa193dc153aeb919d30528f92094d9a6ac60
MD5 62add30f7c10ec207322b987fcb0bb1b
BLAKE2b-256 3f7d8725adbfb6d9a29b93fd4234288b2019da6aa1bf2633a5c1df95520541c8

See more details on using hashes here.

File details

Details for the file ziglang-0.14.0-py3-none-win32.whl.

File metadata

  • Download URL: ziglang-0.14.0-py3-none-win32.whl
  • Upload date:
  • Size: 85.5 MB
  • Tags: Python 3, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.9

File hashes

Hashes for ziglang-0.14.0-py3-none-win32.whl
Algorithm Hash digest
SHA256 65e028b9ce082e8a42918b8d4813e82a6ea3909eff450b3385a547578fdb4b46
MD5 c52a9490a649a2e9fd89dda588de2bfe
BLAKE2b-256 ce6bface7ed848b8c19e03129f972d0fc84be8b5028336e5ac835a458a1ae793

See more details on using hashes here.

File details

Details for the file ziglang-0.14.0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.musllinux_1_1_ppc64le.whl.

File metadata

File hashes

Hashes for ziglang-0.14.0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.musllinux_1_1_ppc64le.whl
Algorithm Hash digest
SHA256 b03829ffa54342bbdbecbea1364af2d0517dde9fb59cf820b0df9322a4a88291
MD5 616b2b8ede2b6a73280144fabb849d62
BLAKE2b-256 8d01b0c1008bac8609e66569b603d1d3cb0073cd6d10485fdc44084102cc858f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ziglang-0.14.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl
Algorithm Hash digest
SHA256 87c7403cc2cbced8c253e3bdc3eaedf3db7ca0a760c1a62766403e5a8bb095f7
MD5 c8241c8a2645655e577d916351dbf02e
BLAKE2b-256 9fbd6f44901731336d433516d9cadc294ee7dd5c922de223ad31b124d90911cc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ziglang-0.14.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 fd55a2d3ea0dbda7c33366c8f0274da25bfc1f80ba1fffdfaa253454f5ca0d7e
MD5 bf7a1a83216a6cc595cf64fab76d71ef
BLAKE2b-256 da977f10c3c0e180ac81a152dc29c1e2e982899bd64b3b5e1cbd2e047516fc07

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ziglang-0.14.0-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 cd7ae02ac7b320937e920ea37f05194fbf3ac354faa7116a561f8118fb9c0210
MD5 e16750275527c7dbd00be8597693430b
BLAKE2b-256 436b351deeaec1dc94fa2e8a51a20c77ab71738209d0f8b929b0dd1621dcefb9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ziglang-0.14.0-py3-none-manylinux_2_12_i686.manylinux2010_i686.musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 22b4455748ce18bc434ab7ce3ef41ea1f4d96813aa0931a0eb84930ec28dd8c6
MD5 96800f0ec88e9860b8e2c2553033f7c1
BLAKE2b-256 94d947ff4f9bfa40e2cc35f9c08c6c9c0f34800f8f2747ab4acecdd3c6355841

See more details on using hashes here.

File details

Details for the file ziglang-0.14.0-py3-none-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for ziglang-0.14.0-py3-none-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 94fe91502d24304abd178d8a704d5f5bae25b6f3bff3a91807a3aa8f9e7f0e45
MD5 f06528d8794d4b80a16fecacd4fe2192
BLAKE2b-256 db920f4eb8af66953013b467de624fc44e521509fec6a93f5ad76e6ad3bd2ee5

See more details on using hashes here.

File details

Details for the file ziglang-0.14.0-py3-none-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for ziglang-0.14.0-py3-none-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 add82d482696e97f66465a63ae747968a1b68ee731f8e1768f8db8c4360d1631
MD5 62450751274ba5be6cc7848f935cb70d
BLAKE2b-256 d1999f8fe8e2962142a5dc8865882a0b142073904fca8f48f4bbbf059b7eec70

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