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.11.0-py3-none-win_amd64.whl (78.7 MB view details)

Uploaded Python 3Windows x86-64

ziglang-0.11.0-py3-none-win32.whl (77.2 MB view details)

Uploaded Python 3Windows x86

ziglang-0.11.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl (77.3 MB view details)

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

ziglang-0.11.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl (76.7 MB view details)

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

ziglang-0.11.0-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl (79.2 MB view details)

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

ziglang-0.11.0-py3-none-manylinux_2_12_i686.manylinux2010_i686.musllinux_1_1_i686.whl (86.4 MB view details)

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

ziglang-0.11.0-py3-none-macosx_11_0_arm64.whl (81.0 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

ziglang-0.11.0-py3-none-macosx_10_9_x86_64.whl (83.0 MB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

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

File metadata

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

File hashes

Hashes for ziglang-0.11.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 a7edc7020e7ffbbb3af3a40c17a9bda65d5a65132ff933e153ffa80d8f5ad731
MD5 66bc18eec0f5557c4cfcbf2afc10fc0c
BLAKE2b-256 36fb41d0181b4920a10e27df3dd0642a9d1380895da73d819b39adbaf606e253

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ziglang-0.11.0-py3-none-win32.whl
  • Upload date:
  • Size: 77.2 MB
  • Tags: Python 3, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for ziglang-0.11.0-py3-none-win32.whl
Algorithm Hash digest
SHA256 97ac4312a358d2a4ba2c153fdb1827caf6bc158501a468ebd6a554b50edee42e
MD5 981af0f0362dd92a07fe32e6848de1a7
BLAKE2b-256 bfe051e2e3f37c210d27fbaa4dd983e3b5097768a3af5846b59f1c72b6ba20d6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ziglang-0.11.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl
Algorithm Hash digest
SHA256 5fe81f91fd872fc32ed0f82807df6c680a82cbea56a9f24f818e9da299049022
MD5 10c2f07495aee61faca1bfe0f17c7b06
BLAKE2b-256 c0c54f764535c44f43736a9746d25e766a117929ae73870cf779455f2617561e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ziglang-0.11.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 d6372bada34714a5395539cc4d76e9cc6062739cee5ce9949a250f7c525ceb94
MD5 3fea401b34d83b9e8cc00966be3d9107
BLAKE2b-256 7c37b699a8df70612512c19449b691abd4048d368b96dc2fcade32791c0ad6b6

See more details on using hashes here.

File details

Details for the file ziglang-0.11.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.11.0-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 45e8116428267e20529b9ee43a7e7364791c1a092845d2143b248a1dbf6760b0
MD5 7f196649e6373e31a09c966d45f91a63
BLAKE2b-256 73dc92ac0ac05ea48b00aac74fb4be4f64ad9288ee06816380f0226a8018ad8f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ziglang-0.11.0-py3-none-manylinux_2_12_i686.manylinux2010_i686.musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 4f848c8cca520cb12357cfa3d303bf1149a30566f4c1e5999284dbdf921cc2b8
MD5 6ed12ef9985ccb9b628aaaad641f9403
BLAKE2b-256 2b38df2c1453295469e67b0639392e2196f2ed3d792c06549d89a48767bda194

See more details on using hashes here.

File details

Details for the file ziglang-0.11.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for ziglang-0.11.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 038b95cac9adef0c6dce9b72bdad895a0e4e0654c77c4a8f84fe79d2909a366e
MD5 1e35def858a10d58d6ff6184ce03b84d
BLAKE2b-256 564ee716215e19ffd7ad9b5c14db4b9fca4969e3fd1d416397655fdbdbd77d09

See more details on using hashes here.

File details

Details for the file ziglang-0.11.0-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for ziglang-0.11.0-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 bd046eeab97ad51048575768f6dae10468b3a4449f4467ed61dae621faf6ee55
MD5 d39936808b95dd3ebbb1027877903a76
BLAKE2b-256 ae56894d805c4220f21f75629d6727b78224efa07db51898de1bbfa43a0d803a

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