--- id: ziglang version: "0.16.0" license: MIT license_treatment: permissive maintenance: abandoned --- # ziglang — Zig is a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software. License: permissive · Maintenance: abandoned · Downloads: 873.0K/mo ## What it is and what it does ziglang is a Python package that redistributes the Zig programming language toolchain, including its standalone C and C++ compiler (zig cc). Unlike system-installed Zig or clang, this distribution requires no external development files and works across multiple platforms and architectures. It allows Python projects to invoke the Zig compiler either from the command line via `python -m ziglang` or programmatically through subprocess calls, making it useful for projects that generate or build C/C++ code as part of their workflow. The package installs a binary wrapper named `python-zig` to avoid conflicts with system Zig installations. It supports a wide range of platforms including macOS (ARM and x86_64), Linux (x86_64, i686, ARM, PowerPC, s390x, RISC-V), and Windows (x86_64, ARM, x86). The repository is archived and marked abandoned, so the package is no longer actively maintained. Use it for: - Bundle Zig compiler with Python projects that generate or build C/C++ code without requiring external toolchain setup. - Use zig cc as a standalone C/C++ compiler in Python build scripts without installing system development files. - Cross-compile C/C++ code for multiple target platforms from a Python project using Zig's built-in cross-compilation support. - Distribute Python packages that depend on Zig-based build tools as a self-contained dependency. - Run Zig code or scripts from within Python automation or CI/CD pipelines without manual toolchain installation. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Distributes the Zig programming language toolchain and its standalone C/C++ compiler (zig cc) as a Python package, enabling Python projects to use Zig as a build dependency without external system libraries. Yes, if you need Zig as a build dependency in a Python project and want to avoid external system setup. However, note that the repository is archived and abandoned—the package will not receive updates for new Zig releases or Python compatibility issues. Suitable for stable, long-lived projects that do not require ongoing toolchain updates; risky for projects expecting active maintenance or frequent Zig version upgrades. ## Install pip install ziglang uv add ziglang poetry add ziglang ## Installing ziglang Before you install: Medium install friction due to platform-specific binary wheels for multiple architectures (x86_64, ARM, PowerPC, s390x, RISC-V). Repository is archived and marked abandoned as of the latest commit; no active maintenance. License in practice: MIT license permits commercial and private use with minimal restrictions, making it suitable for most projects that need to bundle Zig. Quickstart: pip install ziglang python -m ziglang # Or via uv: # uvx --from ziglang python-zig Requires Python ~=3.5; binary wheels are platform-specific and must match your OS and CPU architecture. Verify before relying: - Whether the abandoned repository status affects long-term compatibility with future Zig language releases. - Performance or compatibility implications of using an archived distribution package in active projects. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: medium - Maintenance: abandoned - Downloads: 873.0K/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags zig compiler python package, zig toolchain distribution, standalone c compiler python, zig cc build tool, python zig integration, cross-platform c compiler, zig language pypi, build-tool, cross-compilation, c-compiler [View on SkillFed](https://skillfed.io/packages/ziglang) · [View on PyPI](https://pypi.org/project/ziglang/)