ninja
Ninja is a small build system with a focus on speed
Install
ninja on PyPI
pip
pip install ninjauv
uv add ninjapoetry
poetry add ninjaPackage facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 367 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: ninja-1.13.0-py3-none-macosx_10_9_universal2.whl; ninja-1.13.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl; ninja-1.13.0-py3-none-manylinux2014_i686.manylinux_2_17_i686.whl; ninja-1.13.0-py3-none-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl; ninja-1.13.0-py3-none-manylinux2014_s390x.manylinux_2_17_s390x.whl; ninja-1.13.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; ninja-1.13.0-py3-none-manylinux_2_28_armv7l.manylinux_2_31_armv7l.whl; ninja-1.13.0-py3-none-manylinux_2_31_riscv64.whl; ninja-1.13.0-py3-none-musllinux_1_2_aarch64.whl; ninja-1.13.0-py3-none-musllinux_1_2_armv7l.whl; ninja-1.13.0-py3-none-musllinux_1_2_i686.whl; ninja-1.13.0-py3-none-musllinux_1_2_ppc64le.whl; ninja-1.13.0-py3-none-musllinux_1_2_riscv64.whl; ninja-1.13.0-py3-none-musllinux_1_2_s390x.whl; ninja-1.13.0-py3-none-musllinux_1_2_x86_64.whl; ninja-1.13.0-py3-none-win32.whl; ninja-1.13.0-py3-none-win_amd64.whl; ninja-1.13.0-py3-none-win_arm64.whl
Keywords: build, c++, cross-compilation, cross-platform, fortran, ninja
About ninja
from the package's own PyPI description — quoted content, verbatim
========================== Ninja Python Distributions ==========================
Ninja <http://www.ninja-build.org>_ is a small build system with a focus on speed.
The latest Ninja python wheels provide ninja 1.13.0.gd74ef.kitware.jobserver-pipe-1 <https://ninja-build.org/manual.html>_ executable
and ninja_syntax.py for generating .ninja files.
.. image:: https://raw.githubusercontent.com/scikit-build/ninja-python-distributions/master/ninja-python-distributions-logo.png
Latest Release
.. table::
+----------------------------------------------------------------------+---------------------------------------------------------------------------+ | Versions | Downloads | +======================================================================+===========================================================================+ | .. image:: https://img.shields.io/pypi/v/ninja.svg | .. image:: https://img.shields.io/badge/downloads-2535k%20total-green.svg | | :target: https://pypi.python.org/pypi/ninja...
Read as markdown · JSON record · Source repository · Homepage · Docs
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
Distributes the Ninja 1.13.0 build system as Python wheels with pre-built executables for Windows, macOS, and Linux platforms.
Medium install friction mitigated by comprehensive binary coverage across 18 wheel variants (x86_64, ARM, RISC-V, and other architectures). Actively maintained with recent commits and stable production status.
Permissive Apache License 2.0 allows commercial and private use without restriction. The bundled Ninja executable carries the same Apache 2.0 license—no licensing friction for most use cases.
Usage
pip install ninja==1.13.0
Requires Python ≥3.8; versions after 1.13 require manylinux2014+/musllinux_1_2+ on Linux.
Verdict: Ninja is a mature, actively maintained build-system distribution (1.13.0, released 2025-08-11) with zero known vulnerabilities, permissive Apache 2.0 licensing, and broad platform support. Medium install friction is offset by comprehensive pre-built wheels. Suitable for production use in build pipelines.
Needs verification
- What capabilities the bundled executable and included tools provide beyond the base Ninja build system
- Integration patterns with scikit-build and other build frameworks that depend on this package
- Performance characteristics of the bundled Ninja executable relative to system-installed versions
Similar packages
permissive · top 1,000 on PyPI
pyperclippermissive · top 1,000 on PyPI
userpathpermissive · top 1,000 on PyPI
tritonpermissive · top 1,000 on PyPI
snowplow-trackerpermissive · top 1,000 on PyPI
uvpermissive · top 1,000 on PyPI
uv-buildpermissive · top 1,000 on PyPI
flatbufferspermissive · top 1,000 on PyPI
pyodbcpermissive · top 1,000 on PyPI
pyicebergpermissive · top 1,000 on PyPI