Nuitka
Python compiler with full language support and CPython compatibility
Decision gist · record as of 2026-08-14
Yes, if you need to distribute Python as compiled binaries or accelerate performance-critical code and can accept the high installation friction (C compiler requirement) and AGPLv3+ licensing constraints. The project is actively maintained, widely used (top 15000 on PyPI), and has no known vulnerabilities. Not recommended for proprietary closed-source projects due to copyleft licensing, or for environments where installing a C compiler is impractical.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a C compiler (gcc 5.1+, clang, Visual Studio 2022+, MinGW64, or zig) installed on the system; CPython (not PyPy, pyenv on macOS, or Windows Store Python) must be the active interpreter.
- Installation requires a C compiler (gcc, clang, Visual Studio, MinGW64, or zig) and involves downloading and building C artifacts, resulting in high friction.
- The project is actively maintained with recent releases and a large repository (15087 stars).
License · maintenance · safety
(agpl) — Nuitka is licensed under GNU Affero General Public License v3 or later (AGPLv3+). This copyleft license requires that any modifications or derivative works be distributed under the same license and made available to users; it also includes a network use clause. Proprietary or closed-source projects may face licensing constraints.
last release 2026-06-21 (54 days) · last repo commit 2026-08-12 · 15,087 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 496,362 downloads/mo, #6,337 on PyPI
Alternatives
Verify before relying
pip install nuitka
python -m nuitka --help
python -m nuitka --onefile your_script.py- Performance improvement magnitude and compilation time overhead for typical projects.
- Compatibility edge cases with C extensions and third-party modules beyond the documented scope.
- Practical experience with standalone mode portability across different OS/architecture combinations.
What it is and what it does
Nuitka is a Python-to-C compiler that translates Python source code into C, which is then compiled to machine binaries using a system C compiler. It supports Python 2.6–2.7 and Python 3.4–3.14, emulating CPython semantics closely enough that compiled and uncompiled code can run together. The compiler aims to eliminate unnecessary overhead while maintaining compatibility with all Python library modules and extension modules.
You use Nuitka via the command line (typically `python -m nuitka`) to compile a Python script or module into a standalone executable or accelerated binary. It requires a C compiler (gcc, clang, Visual Studio, MinGW64, or zig) and the matching Python implementation (CPython, Anaconda, or Homebrew Python) to be present on the build machine. Compiled binaries can be made portable across machines using `--mode=standalone` or `--mode=onefile` options.
Use it for
- Distribute Python applications as standalone executables without requiring Python installation on end-user machines.
- Accelerate performance-critical Python code by compiling it ahead-of-time to native machine code.
- Protect source code by shipping compiled binaries instead of readable Python scripts.
- Create cross-platform command-line tools or desktop applications from Python codebases.
- Bundle Python applications with all dependencies into a single executable file using onefile mode.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to distribute Python as compiled binaries or accelerate performance-critical code and can accept the high installation friction (C compiler requirement) and AGPLv3+ licensing constraints.
The project is actively maintained, widely used (top 15000 on PyPI), and has no known vulnerabilities. Not recommended for proprietary closed-source projects due to copyleft licensing, or for environments where installing a C compiler is impractical.
Install
nuitka on PyPI
Before you install
Installation requires a C compiler (gcc, clang, Visual Studio, MinGW64, or zig) and involves downloading and building C artifacts, resulting in high friction. The project is actively maintained with recent releases and a large repository (15087 stars).
Requires a C compiler (gcc 5.1+, clang, Visual Studio 2022+, MinGW64, or zig) installed on the system; CPython (not PyPy, pyenv on macOS, or Windows Store Python) must be the active interpreter.
License in practice
Nuitka is licensed under GNU Affero General Public License v3 or later (AGPLv3+). This copyleft license requires that any modifications or derivative works be distributed under the same license and made available to users; it also includes a network use clause. Proprietary or closed-source projects may face licensing constraints.
Quickstart
pip install nuitka
python -m nuitka --help
python -m nuitka --onefile your_script.py
Verify before relying
- Performance improvement magnitude and compilation time overhead for typical projects.
- Compatibility edge cases with C extensions and third-party modules beyond the documented scope.
- Practical experience with standalone mode portability across different OS/architecture combinations.
Package facts
| License | Not declared agpl |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Actively maintained 54 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 496,362 / month, #6,337 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)Operating System :: AndroidOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: POSIX :: BSD :: FreeBSDOperating System :: POSIX :: BSD :: NetBSDOperating System :: POSIX :: BSD :: OpenBSDOperating System :: POSIX :: LinuxProgramming Language :: CProgramming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTopic :: Software Development :: Build ToolsTopic :: Software Development :: CompilersTopic :: Software Development :: Quality AssuranceTopic :: System :: Software Distribution |
Evidence: nuitka-4.1.3.tar.gz
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “compile python to executable”
- NuitkaNuitka compiles Python code to C and then to machine binaries,…
- ninjaDistributes the Ninja 1.13.0 build system as pre-compiled wheels…
- django-libsassIntegrates Sass compilation into Django projects via…
Give your agent the search over MCP, or paste the wish link into any chat.
More Build Tools packages
Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.
Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.
Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.
pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.
Install it if your team needs consistent, automated validation at commit time.
See also ziglang · pyinstaller · DafnyRuntimePython · pythran · maturin · nvidia-cuda-nvcc · pycparser · numba · pccm · solc-select