[PR #2705] Add Nuitka to Distribution #2018

Open
opened 2025-11-06 13:27:51 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/vinta/awesome-python/pull/2705
Author: @JaydenChao101
Created: 5/17/2025
Status: 🔄 Open

Base: masterHead: patch-1


📝 Commits (1)

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 README.md (+1 -0)

📄 Description

What is Nuitka?

Nuitka is a Python compiler that transforms Python code into high-performance native executables. Key features:

  • 🚀 Full Compatibility: Supports 100% of Python syntax (including 3.13+ features)
  • Performance Boost: Compiles to optimized C++/machine code (typical 2-5x speedup vs CPython)
  • 📦 Single-File Deployment: Generates truly standalone binaries (Windows PE/Mach-O/ELF)
  • 🔒 IP Protection: Obfuscates code better than bytecode packers
  • 🌐 Cross-Platform: Windows/macOS/Linux with multi-arch support (ARM/x86)

Competitive Differentiation

Criteria Nuitka PyInstaller/X Cython
Compilation Full Python→C++ transpilation Bytecode bundling C extension only
Startup Time Instant (native execution) Slow (unpacking) Medium
Dependencies Automatic detection (--follow-imports) Manual spec Manual .pxd
Debugging GDB/LLDB support Limited C-level only
Size ~5MB (minimal runtime) 30MB+ (embedded Python) Varies

Technical Advantages:

  1. Precompiled Standard Library: Ships optimized versions of os, json, etc.
  2. LTO Optimization: --lto=yes enables link-time optimizations
  3. Plugin System: Extensible for framework support (Django, PyQt, etc.)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/vinta/awesome-python/pull/2705 **Author:** [@JaydenChao101](https://github.com/JaydenChao101) **Created:** 5/17/2025 **Status:** 🔄 Open **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`3375109`](https://github.com/vinta/awesome-python/commit/33751092499481ac7ab0d3140c300abef2ebdc6a) Update README.md ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) </details> ### 📄 Description ## What is Nuitka? **Nuitka** is a Python compiler that transforms Python code into high-performance native executables. Key features: - 🚀 **Full Compatibility**: Supports 100% of Python syntax (including 3.13+ features) - ⚡ **Performance Boost**: Compiles to optimized C++/machine code (typical 2-5x speedup vs CPython) - 📦 **Single-File Deployment**: Generates truly standalone binaries (Windows PE/Mach-O/ELF) - 🔒 **IP Protection**: Obfuscates code better than bytecode packers - 🌐 **Cross-Platform**: Windows/macOS/Linux with multi-arch support (ARM/x86) ## Competitive Differentiation | Criteria | Nuitka | PyInstaller/X | Cython | |-------------------|----------------------------------|---------------|---------------| | **Compilation** | Full Python→C++ transpilation | Bytecode bundling | C extension only | | **Startup Time** | Instant (native execution) | Slow (unpacking) | Medium | | **Dependencies** | Automatic detection (--follow-imports) | Manual spec | Manual .pxd | | **Debugging** | GDB/LLDB support | Limited | C-level only | | **Size** | ~5MB (minimal runtime) | 30MB+ (embedded Python) | Varies | ### Technical Advantages: 1. **Precompiled Standard Library**: Ships optimized versions of `os`, `json`, etc. 2. **LTO Optimization**: `--lto=yes` enables link-time optimizations 3. **Plugin System**: Extensible for framework support (Django, PyQt, etc.) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-06 13:27:51 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-python#2018