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
-
程序会打开一个图形界面,你可以:
- 选择要打包的Python文件(.py)
- 选择输出目录
- 选择打包工具(pyinstaller或nuitka)
- 设置可执行文件名称
- 选择图标(可选)
- 选择是否使用单文件模式
- 选择是否隐藏控制台窗口
-
点击"开始打包"按钮,等待打包完成。
功能特点
- 简单直观的图形界面
- 支持两种主流打包工具
- 提供常用打包选项配置
- 实时显示打包日志
- 打包完成后自动打开输出目录
注意事项
- 确保你的Python脚本可以正常运行,没有缺少依赖
- 对于复杂项目,可能需要额外的配置
- 大型项目打包可能需要较长时间,请耐心等待
Metadata
Release files for pack-py-exe 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pack_py_exe-0.2.0.tar.gz | 8.9 kB | Without provenance | Details for pack_py_exe-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pack_py_exe-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for pack_py_exe-0.2.0-py3-none-any.whl |
Total release size: 17.9 kB
Release files / pack_py_exe-0.2.0.tar.gz
| Download URL | pack_py_exe-0.2.0.tar.gz |
|---|---|
| Size | 8.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
90a96611509cdd5f683032e97e757fb2baa537b9c7479a289ce82c12420b4cdb
|
|
BLAKE2b-256 checksum How to use checksums |
896d40b2ae0f19828d9b793c66694cf9dae95d457c1789d60e8792d820b08529
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.8.6
|
Release files / pack_py_exe-0.2.0-py3-none-any.whl
| Download URL | pack_py_exe-0.2.0-py3-none-any.whl |
|---|---|
| Size | 9.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
870ce4d5d3cdc488a0708f6bc20ce7bfdb4547f1886a032a49afca4f9da346db
|
|
BLAKE2b-256 checksum How to use checksums |
25bf93afcd5599318e050d8794f8fc6ce6d2dbfb3c3fcce8d6cd01a66ddad7e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.8.6
|
Security for pack-py-exe 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.