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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3Windows x86

ziglang-0.14.1-py3-none-manylinux_2_31_riscv64.musllinux_1_1_riscv64.whl (82.3 MB view details)

Uploaded Python 3manylinux: glibc 2.31+ riscv64musllinux: musl 1.1+ riscv64

ziglang-0.14.1-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.musllinux_1_1_s390x.whl (101.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ s390xmusllinux: musl 1.1+ s390x

ziglang-0.14.1-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.1-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.1-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.1-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.1-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.1-py3-none-macosx_12_0_x86_64.whl (86.6 MB view details)

Uploaded Python 3macOS 12.0+ x86-64

ziglang-0.14.1-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.1-py3-none-win_arm64.whl.

File metadata

  • Download URL: ziglang-0.14.1-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.1-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 f9e13d3e3778a850acf20115b0193a9ae0569c5ca2f71c8e690c4110746b6993
MD5 86caf1a4c0bd55c4a74470144c1ee20a
BLAKE2b-256 8355ba6235dfcaf5c64524615786031b69af2323ac55242433fc01089badf7bf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ziglang-0.14.1-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.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 e4f7e089a44d5ce34181853a90cdb8456e63c6640f5d44b844a117055326c375
MD5 69b2ff08d0261fd0025980c7934b3f2b
BLAKE2b-256 9d53b15661c6f4442c0e1ec1223c17f7a47e5cc108cb171bbdadbc675479582d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ziglang-0.14.1-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.1-py3-none-win32.whl
Algorithm Hash digest
SHA256 3d68104704f850c52e2baec1e12caf58e097e954a40880b247da8fb4fa500550
MD5 fc38c3baab83c3b0d385a51ca62c43ad
BLAKE2b-256 8b2ea66ac42e58db4349d75e77644f2717aecccade7bc4f2f924cd114a05ef2e

See more details on using hashes here.

File details

Details for the file ziglang-0.14.1-py3-none-manylinux_2_31_riscv64.musllinux_1_1_riscv64.whl.

File metadata

File hashes

Hashes for ziglang-0.14.1-py3-none-manylinux_2_31_riscv64.musllinux_1_1_riscv64.whl
Algorithm Hash digest
SHA256 75f879ea9678eeba5fe7909a4cf4e67324eb761d68f416a72d5c3a130361d9fa
MD5 2f54a05572e1d374882047228c82ac2b
BLAKE2b-256 be2cab9d28df1f6bce523397d5e39add3bf12737487dfd6d4ae56f5d40bb3656

See more details on using hashes here.

File details

Details for the file ziglang-0.14.1-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.musllinux_1_1_s390x.whl.

File metadata

File hashes

Hashes for ziglang-0.14.1-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.musllinux_1_1_s390x.whl
Algorithm Hash digest
SHA256 f566222095390406ededf87bff1aa3df00eaf7d9ddc2ddd182b214f1c16f2904
MD5 ead5eb51c8a888c11928c4559592d0d5
BLAKE2b-256 d96c628f046d91e8f0b8b65fa268c6a8b60d7e52f5ea8d1c1ed07b3a28a2d1aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ziglang-0.14.1-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.musllinux_1_1_ppc64le.whl
Algorithm Hash digest
SHA256 ad2c7c3a77cff522971fc303da2b656c4ed675fe17cdf5ff74ba7e1b594a4780
MD5 9f933206d41395902e48f36467b7cd2c
BLAKE2b-256 cfb62e9673067d0e25a4c0681e33f1c6213f36e9b1d3ad327ea58f061765a6ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ziglang-0.14.1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl
Algorithm Hash digest
SHA256 2c9dbee405ad83a062df3569949f24b59e938c1b85aa26674e30b515e654fef4
MD5 2806dee9eb5e762bc301993177f5f0b9
BLAKE2b-256 74eac59e5a0368bb85eded8df8893f6e7a72d20293268f4ad5b2ce6aabe8cf8e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ziglang-0.14.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 7994b27f3cbfcedea43f9b7552e38b45857bdf0e9a45065474092dd74e7048cf
MD5 b94dc2cdc10f56bd5225984688af5619
BLAKE2b-256 94842ca431d4f7984a260b5115a5ab130c1459d0b0ed08c5ae7d4093e52cb4a3

See more details on using hashes here.

File details

Details for the file ziglang-0.14.1-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.1-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 6eb9d4d759b292c83810dbee2e9e8e3fbfbf01d864e6e9811bae711fd74e1c2f
MD5 014e8b9dee34e5b33c853f7f7ee04350
BLAKE2b-256 9def494f128ea7ec3345850bbd75d2cb7b987006fb5601c37543e8fa83e5e3d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ziglang-0.14.1-py3-none-manylinux_2_12_i686.manylinux2010_i686.musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 479a36e94a9da3fc1fad01951de35600c3d11642182fe36c2aeeb031ceab7a89
MD5 bc80f27b10ca2737c42e934dfbc0a3e1
BLAKE2b-256 e85c552ade5873cd6133bba25cc991a9ceb2261fcba0fbb8b69a528629e7488a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ziglang-0.14.1-py3-none-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 7b880229c41e822c0388318de89dffe034a146ce44a7342b7e74b167329a67b9
MD5 e4e77406a63092aad8ad167b8e26f20a
BLAKE2b-256 fa15ff2df54335b247df74776a65904a704402904fd503fc185d386e0b03f27c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ziglang-0.14.1-py3-none-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 eae7d46746b8e80a4d1a8369b09f7a6aace973ee39207b1b63cfb6bb086e84dc
MD5 295bc520df8448b932d10ce6c51ddc2b
BLAKE2b-256 16a86989b2d0f61f6b33ec7f711b48089fc9d1a53787ce657e81b0b941d22f59

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