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

Uploaded Python 3Windows x86-64

ziglang-0.9.1-py3-none-win32.whl (69.2 MB view details)

Uploaded Python 3Windows x86

ziglang-0.9.1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (66.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARMv7l

ziglang-0.9.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (65.7 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

ziglang-0.9.1-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (69.1 MB view details)

Uploaded Python 3manylinux: glibc 2.12+ x86-64

ziglang-0.9.1-py3-none-manylinux_2_12_i686.manylinux2010_i686.whl (74.7 MB view details)

Uploaded Python 3manylinux: glibc 2.12+ i686

ziglang-0.9.1-py3-none-macosx_11_0_arm64.whl (71.6 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

ziglang-0.9.1-py3-none-macosx_10_9_x86_64.whl (76.1 MB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: ziglang-0.9.1-py3-none-win_amd64.whl
  • Upload date:
  • Size: 66.2 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.57.0 CPython/3.9.2

File hashes

Hashes for ziglang-0.9.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 bf039d83321ae9957c3688021b9975c60171ffc8ba2b89046fdb08e0d43ddbdb
MD5 ecaa6163176fe59b0f0781d09b8eced8
BLAKE2b-256 7d1281c55be109aa4964b1d89ddccb654a8c3114aef1e8310d6e7a726448a24f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ziglang-0.9.1-py3-none-win32.whl
  • Upload date:
  • Size: 69.2 MB
  • Tags: Python 3, Windows x86
  • 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.57.0 CPython/3.9.2

File hashes

Hashes for ziglang-0.9.1-py3-none-win32.whl
Algorithm Hash digest
SHA256 f58f62e0adffe1adcc150d43490e0141496e469d4c5461611cebe56558b95e77
MD5 5433da80b1e4d4dba90d5efb2bb7027a
BLAKE2b-256 34413aad5658b24968daf4c8ae5fc116bc1ffba23752d5aa8549d58e165594d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ziglang-0.9.1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 3517b877e9026840dcaee2df4478980389e792881e81fb026f65e57c69a02f23
MD5 e1ac93959fe7747aea9003aa2799af5a
BLAKE2b-256 7c133e9a9b2248bd087cd072ae61095ecfc6f6b81417696421b20ed1f7903752

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ziglang-0.9.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4fee74a60826fd41a623d535c7a9e6130207e320aede0a9d25b9e5b948e5fe3e
MD5 b518075395f793a2cf66af651b53fc5c
BLAKE2b-256 ce0bcc36a7d33cb65d68888475a5f9a74302f87c967b83bf4371f95ac10924ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ziglang-0.9.1-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 fa1d08040e2b9a7aab40b0c14e1baf52097e845ea7a6801462ec593f48cf3431
MD5 353abf5d8a8c14b613be6dbe27cb8cc4
BLAKE2b-256 280572143368b26ad910e36ba61bd3db3fee3b1c624071fc2a29dcae02fc4a80

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ziglang-0.9.1-py3-none-manylinux_2_12_i686.manylinux2010_i686.whl
  • Upload date:
  • Size: 74.7 MB
  • Tags: Python 3, manylinux: glibc 2.12+ 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.57.0 CPython/3.9.2

File hashes

Hashes for ziglang-0.9.1-py3-none-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 819e8e48504d5b6c1a0b2d9e20c714f13c7f27ec982fa2c5adea62935ab17310
MD5 21d6a5d9279dda9ff8151015dfabc404
BLAKE2b-256 ddcf18a7ca29301d82ede28bae5ce82fec332b06e54e3a9661140f468229f639

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ziglang-0.9.1-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 71.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.57.0 CPython/3.9.2

File hashes

Hashes for ziglang-0.9.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0a308fa651484a8660e315a53fd7d5c7e8d0b3c4ca3f591f60dab727b1a7bb34
MD5 4b4166af1c092a848479ef410f670fa9
BLAKE2b-256 9393a12d25387f2e4668b9a8d2ca53f0f63c155cb4342d43502c789691095ad2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ziglang-0.9.1-py3-none-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 76.1 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.57.0 CPython/3.9.2

File hashes

Hashes for ziglang-0.9.1-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 fedce198fdaace4e8abb89c1a77e25023bb79dec8c30b54e7658dec3f01e9b62
MD5 db235c0f2d97e490ec74e89351327491
BLAKE2b-256 5c0cb05a0d1dc110b4b09cb887f59668e37029a2fe316aca69f53d7c728c1551

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