A package to help building your python apps with PyInstaller
Project description
PyExporter
A package to help building your python apps with PyInstaller
Usage
from py_exporter import PyExporter
PyExporter('script.py').run()
For options see PyInstaller usage
Mappings
| Variable Name | PyInstaller Option |
|---|---|
file |
scriptname |
name |
name |
out_dir |
distpath |
one_dir |
onedir |
one_file |
onefile |
spec_path |
specpath |
work_path |
workpath |
no_confirm |
noconfirm |
clean |
clean |
log_level |
log-level |
contents_directory |
contents-directory |
console |
console |
windowed |
windowed |
icon |
icon |
hide_console |
hide-console |
debug |
debug |
disable_windowed_traceback |
disabled_windowed_traceback |
| Windows Specific Options | |
version_file |
version-file |
manifest |
manifest |
admin |
uac-admin |
remote_desktop |
uiaccess |
| MacOS Specific Options | |
argv_emulation |
argv-emulation |
osx_bundle_identifier |
osx-bundle-identifier |
target_architecture |
target-architecture |
codesign_identify |
codesign-identity |
osx_entitlements_file |
osx-entitlements-file |
Other options
| Function | Arguments | PyInstaller Option |
|---|---|---|
add_data |
source: str | Path, destination: str | Path |
add_data |
add_binary |
source: str | Path, destination: str | Path |
add_binary |
add_path |
directories: list[str | Path] |
paths |
add_hidden_import |
module_names: list[str] |
hidden-import |
add_additional_hooks_directory |
hook_paths: list[str | Path] |
additional-hooks-dir |
add_runtime_hook |
runtime_hooks: list[str] |
runtime-hook |
add_exclude_module |
excludes: list[str] |
exclude-module |
add_copy_metadata |
package_names: list[str | tuple[str, bool]] |
if second argument is False copy-metadata else recursive-copy-metadata |
add_collect |
collect_type: CollectType, module_names: list[str] |
Depends on collect_type |
| Windows Specific Options | ||
add_resource |
resources: list[tuple[str | PATH, str, str, str | int]] |
resource |
Enums
CollectType
LogLevel
- TRACE
- DEBUG
- INFO
- WARN
- DEPRECATION
- ERROR
- FATAL
Debug
- ALL
- IMPORTS
- BOOTLOADER
- NO_ARCHIVE
HideConsole
- HIDE_EARLY
- HIDE_LATE
- MINIMIZE_EARLY
- MINIMIZE_LATE
TargetArchitecture
- x86_64
- arm64
- universal
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file py_package_exporter-0.0.3.tar.gz.
File metadata
- Download URL: py_package_exporter-0.0.3.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
787f8b664afef2357c12969666fcb55e4c7bfc1d63f9d2b04b262d5aa9981151
|
|
| MD5 |
905c14e19ad68c2688b07724866ee9d2
|
|
| BLAKE2b-256 |
d58c45014d29dd3334d78c915ecea21a80f5aac73fa8ee664f3d7653efc19439
|
File details
Details for the file py_package_exporter-0.0.3-py3-none-any.whl.
File metadata
- Download URL: py_package_exporter-0.0.3-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7d3e5e62ea37f76586584c3c8aa9136332e561ed1ba2a6d51b3bc55102e2d04
|
|
| MD5 |
ca4bd12d97bb0479acb9cfc4f1b5e211
|
|
| BLAKE2b-256 |
01ae9bc22aa9950d0e36b4685bb405d4763b6efb930ead7ea49d9eaee07c53ec
|