Skip to main content

One-click Python to EXE GUI tool (supports PyInstaller/Nuitka)

Project description

pack-py

一个简单易用的GUI工具,用于将Python文件打包成可执行文件(.exe)。支持两种打包方式:pyinstaller和nuitka。

安装

一: 使用pip安装 pip install pack-py 安装后,会自动安装所需的依赖,包括PyQt5、pyinstaller和nuitka

二: 以管理员身份打开命令行(Windows:右键点击“命令提示符”/“PowerShell” → 选择“以管理员身份运行”); 执行安装命令:

pip install pack-py

## 使用方法

1. 在命令提示符(CMD)或PowerShell中输入:
```bash
pack-py
  1. 程序会打开一个图形界面,你可以:

    • 选择要打包的Python文件(.py)
    • 选择输出目录
    • 选择打包工具(pyinstaller或nuitka)
    • 设置可执行文件名称
    • 选择图标(可选)
    • 选择是否使用单文件模式
    • 选择是否隐藏控制台窗口
  2. 点击"开始打包"按钮,等待打包完成。

功能特点

  • 简单直观的图形界面
  • 支持两种主流打包工具
  • 提供常用打包选项配置
  • 实时显示打包日志
  • 打包完成后自动打开输出目录

注意事项

  • 确保你的Python脚本可以正常运行,没有缺少依赖
  • 对于复杂项目,可能需要额外的配置
  • 大型项目打包可能需要较长时间,请耐心等待

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pack_py_exe-0.2.0.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pack_py_exe-0.2.0-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file pack_py_exe-0.2.0.tar.gz.

File metadata

  • Download URL: pack_py_exe-0.2.0.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.6

File hashes

Hashes for pack_py_exe-0.2.0.tar.gz
Algorithm Hash digest
SHA256 90a96611509cdd5f683032e97e757fb2baa537b9c7479a289ce82c12420b4cdb
MD5 719a5143443487b85c721b2258d8cd01
BLAKE2b-256 896d40b2ae0f19828d9b793c66694cf9dae95d457c1789d60e8792d820b08529

See more details on using hashes here.

File details

Details for the file pack_py_exe-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: pack_py_exe-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.6

File hashes

Hashes for pack_py_exe-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 870ce4d5d3cdc488a0708f6bc20ce7bfdb4547f1886a032a49afca4f9da346db
MD5 08e7ed46c78356d9d6a41ced0df6e526
BLAKE2b-256 25bf93afcd5599318e050d8794f8fc6ce6d2dbfb3c3fcce8d6cd01a66ddad7e6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page