QwejayHuang 51b1f78b72 v2.7.12: Optimize Nuitka bloat control, fix cleanup file locks, and expand library support
- Enable Nuitka anti-bloat plugin and dev-module exclusions by default to prevent size bloat.
- Remove Nuitka --remove-output to prevent FATAL build crashes caused by OneDrive/antivirus file locks.
- Fix built-in standard library manifest by adding 'traceback' and 'warnings'.
- Expand UPX safe exclusions (Qt5, sqlite3, libcrypto/libssl).
- Add resource auto-collection for pyecharts and pyppeteer.
- Enhance GUI detection for qtpy, pyglet, toga, and pyqtgraph.
- Update default package mappings and modern Python download matrix.
2026-08-24 23:30:10 +08:00
2026-08-07 01:33:04 +08:00
2026-08-07 01:33:04 +08:00

QPyPack

简体中文 | English | 繁體中文 | 日本語 | 한국어 | Français | Deutsch | Español | Русский | Português

PyPI version Python versions PyPI Downloads Platform Support
Release Date Last Commit License GitHub stars


🚀 “Drag, drop, and build — QPyPack takes care of the rest!”

只需拖入 Python 代码,剩下的交给 QPyPack!

💡 What is QPyPack?

QPyPack is a modern cross-platform Python packaging GUI tool. It deeply integrates PyInstaller and Nuitka core compilation engines, transforming tedious CLI flags and compiler environment setups into an intuitive, high-success graphical interface experience.

Whether you are bundling lightweight scripts or complex applications (e.g., PySide/PyQt, Playwright, CustomTkinter, MoviePy), QPyPack helps you build standalone, efficient, native cross-platform binaries effortlessly.


🌟 Why Choose QPyPack?

  • Say Goodbye to CLI Nightmares: No need to memorize --hidden-import, --add-data syntax, or path separator variations across OSes.
  • Zero C/C++ Compiler Friction: Automatically detects local MSVC, Clang, or GCC environments; downloads and manages MinGW-w64 toolchains seamlessly when none are present.
  • Eliminate Runtime ModuleNotFoundError: Powered by a "Triple-Layer Safety Net" (requirements.txt + Native AST Static Analysis + pipreqs) to ensure missing implicit dependencies are automatically resolved.
  • Resilient Build Execution: Includes pre-flight memory evaluations, OOM (out-of-memory) fallback retries, antivirus/icon lock recovery, and temp directory sandboxing.

📷 Screenshots

Main UI Build Settings Dependencies


🚀 Key Features

  • ✨ Drag, Drop & Go: Simply drop .py / .pyw files; QPyPack auto-parses metadata, matches application icons, and initializes the workspace.
  • 🐍 Smart Python Environment Manager: Built-in environment dialog supporting intelligent local Python detection/switching, as well as one-click automatic downloading & installation via official or mirror sources.
  • ⚙️ Dual Engines & Flexible Execution Modes:
    • PyInstaller: Rapid build speeds, high compatibility, zero compiler setup.
    • Nuitka: Compiles Python source directly to native C/C++ binaries for smaller sizes, faster runtime, and anti-decompilation protection.
    • Supports both One-File (--onefile) and Folder Mode (--onedir), with customizable internal dependencies directory names (--contents-directory).
  • 🔍 Seamless C/C++ Compiler Integration: Auto-detects local MSVC, Clang, or GCC environments, and silently manages MinGW-w64 downloads without manual environment variable setups.
  • 🛡️ Triple-Layer Dependency Protection: Combines requirements.txt parsing, native AST static analysis, and environment package mapping to capture all implicit imports.
  • 📦 Zero-Config Presets: Automated hooks and resource collection for troublesome packages (ttkbootstrap, customtkinter, playwright with mirror acceleration support, moviepy, etc.).
  • 🛡️ Resilient Sandboxing & Fallbacks: Runs pre-flight RAM/disk checks, retries in single-thread concurrency on OOM/ZstdError, and isolates builds in Temp directories to bypass OneDrive sync locks.
  • 🎨 Pure Vector UI & i18n: Rendered with Google Material SVG vector icons with native multi-language support (English, Chinese, Japanese, Korean, German, French, etc.).

⚡ Quick Start

Method 1: Install via pip

Ensure you are using Python >= 3.8:

# Install QPyPack
pip install qpypack

# Launch
qpypack

Method 2: Download Standalone Binaries

Download pre-compiled standalone executables directly from GitHub Releases: 👉 GitHub Releases


📅 Changelog

For detailed update history and release notes, please refer to CHANGELOG.md or GitHub Releases.


💖 Sponsorship

QPyPack is an open-source project developed and maintained by the author in their free time. If QPyPack has improved your efficiency or solved packaging challenges, consider supporting the project with a voluntary donation:

Note

: Sponsorship is completely voluntary and represents unconditional encouragement to open-source development, involving no commercial commitments or specific feature promises. Thank you for your support!


📄 License

Open-sourced under the GNU General Public License v3.0.

Note

Regarding Binary Product Licensing: Binaries and applications built using QPyPack are entirely owned by the user. QPyPack's GPL-3.0 license does not restrict or apply to your compiled output binaries.

Copyright (C) 2026 QwejayHuang.

S
Description
Modern cross-platform Python packaging GUI powered by PyInstaller & Nuitka. 基于 PyInstaller 与 Nuitka 的跨平台 Python 应用可视化打包工具。
https://app.qwejay.cn/QPyPack/
Readme GPL-3.0
1.8 MiB
0 Stars 1 Watchers 0 Forks
Languages
Python 100%