Import from command line
Import from JSON
python -m nuitka
--module
--standalone
--onefile
--python-debug
--mode="accelerated"
--python-flag=
--python-for-scons="undefined"
--prefer-source-code
--follow-imports
--nofollow-imports
--follow-stdlib
--onefile-no-compression
--onefile-as-archive
--onefile-no-dll
--onefile-cache-mode="auto"
--onefile-tempdir-spec="{TEMP}/onefile_{PID}_{TIME}"
--onefile-child-grace-time="5000"
--list-distribution-metadata
--warn-implicit-exceptions
--warn-unusual-code
--assume-yes-for-downloads
--run
--debugger
--full-compat
--remove-output
--no-pyi-file
--no-pyi-stubs
--output-filename="<program_name>"
--output-dir="./"
--deployment
--debug
--no-debug-immortal-assumptions
--no-debug-c-warnings
--unstripped
--profile
--trace-execution
--low-memory
--generate-c-only
--xml="undefined"
--devel-missing-code-helpers
--devel-missing-trust
--devel-recompile-c-only
--devel-internal-graph
--clang
--mingw64
--lto="auto"
--static-libpython="auto"
--msvc="undefined"
--jobs="undefined"
--cf-protection="auto"
--disable-ccache
--disable-dll-dependency-cache
--force-dll-dependency-cache-update
--disable-cache=
--clean-cache=
--pgo-c
--report-diffable
--quiet
--show-scons
--no-progressbar
--show-progress
--show-memory
--show-modules
--verbose
--report="undefined"
--show-modules-output="undefined"
--verbose-output="undefined"
--force-stdout-spec="undefined"
--force-stderr-spec="undefined"
--windows-uac-admin
--windows-uac-uiaccess
--windows-console-mode="force"
--onefile-windows-splash-screen-image="undefined"
--macos-create-app-bundle
--macos-sign
--macos-app-mode="gui"
--macos-target-arch="native"
--macos-app-icon="python"
--macos-signed-app-name="undefined"
--macos-app-name="undefined"
--macos-sign-identity="ad-hoc"
--macos-app-version="undefined"
--linux-icon="undefined"
--company-name="undefined"
--product-name="undefined"
--file-version="undefined"
--product-version="undefined"
--file-description="undefined"
--copyright="undefined"
--trademarks="undefined"
--plugin-list
--enable-plugins=
--disable-plugins=
--target="undefined"
--show-anti-bloat-changes
{
"main": {
"value": [],
"user_provides_choices": {
"main": {
"i18n": "",
"command": {
"original": "main.py"
},
"enabled": true,
"user_provide": true
}
}
},
"onefile_child_grace_time": {
"value": "time",
"user_provides_choices": {
"time": {
"i18n": "",
"command": {
"original": "5000"
},
"enabled": true,
"user_provide": true
}
}
}
}
Command line output
JSON output
Module Mode (--module)
Standalone Mode (--standalone)
Onefile Mode (--onefile)
Python Debug (--python-debug)
Mode (--mode)
Accelerated Mode (accelerated)
Python Flag (--python-flag)
Select
Python Path for Scons (--python-for-scons)
Select
Main Program Path (--main)
Select
Prefer Source Code (--prefer-source-code)
Include Package (--include-package)
Select
Include Module (--include-module)
Select
Include Plugin Directory (--include-plugin-directory)
Select
Include Plugin Files (--include-plugin-files)
Select
Import Imported Modules (--follow-imports)
Don't Perform All Imports (--nofollow-imports)
Follow Import Standard Library (--follow-stdlib)
Follow Import to Module (--follow-import-to)
Select
Don't Follow Import Module (--nofollow-import-to)
Select
No Compression Onefile (--onefile-no-compression)
Onefile As Archive (--onefile-as-archive)
No DLL in Onefile (--onefile-no-dll)
Onefile Cache Mode (--onefile-cache-mode)
Auto (auto)
Onefile Temporary Directory Location (--onefile-tempdir-spec)
User Temporary Directory ({TEMP}/onefile_{PID}_{TIME})
Onefile Child Process Grace Time (--onefile-child-grace-time)
5000
Include Package Data (--include-package-data)
Select
Include Data Files (--include-data-files)
Select
Include Data Directory (--include-data-dir)
Select
Don't Include Data Files (--noinclude-data-files)
Select
Include Onefile External Data (--include-onefile-external-data)
Select
List Package Data (--list-package-data)
Select
Include Raw Directory (--include-raw-dir)
Select
List Distribution Metadata (--list-distribution-metadata)
Include Distribution Metadata (--include-distribution-metadata)
Select
Don't Include DLLs (--noinclude-dlls)
Select
List Package DLLs (--list-package-dlls)
Select
List EXE Files for Given Package Name (--list-package-exe)
Select
Warn Implicit Exceptions (--warn-implicit-exceptions)
Warn Unusual Code (--warn-unusual-code)
Assume Allow Downloads (--assume-yes-for-downloads)
Don't Warn Mnemonic (--nowarn-mnemonic)
Select
Execute Immediately (--run)
Run in Debugger (--debugger)
Full Compatibility with CPython (--full-compat)
User Package Configuration Files (--user-package-configuration-files)
Select
File Reference Choice (--file-reference-choice)
Select
Module Name Choice (--module-name-choice)
Select
Delete Build Folder (--remove-output)
Don't Generate PYI File (--no-pyi-file)
Don't Create PYI Stubs (--no-pyi-stubs)
Output Filename (--output-filename)
Program Name (<program_name>)
Output Directory (--output-dir)
Current Directory (./)
Deployment Mode (--deployment)
Don't Use Deployment Flag (--no-deployment-flag)
Select
Force Runtime Environment Variable (--force-runtime-environment-variable)
Select
Debug Mode (--debug)
Disable Debug Assumptions for Immortal Objects (--no-debug-immortal-assumptions)
Disable C Debug Warnings (--no-debug-c-warnings)
Don't Remove Debug Information (--unstripped)
Performance Profiling (--profile)
Trace Execution (--trace-execution)
Low Memory Mode (--low-memory)
Generate C Source Code Only (--generate-c-only)
Output XML (--xml)
Select
Experimental (--experimental)
Select
Create Environment from Report (--create-environment-from-report)
Select
Develop-Missing Code Helpers (--devel-missing-code-helpers)
Develop-Report Missing Trust (--devel-missing-trust)
Develop-Only Recompile C Source Code (--devel-recompile-c-only)
Develop-Internal Graph (--devel-internal-graph)
Force Use Clang (--clang)
Force Use MinGW64 (--mingw64)
Link Time Optimization (--lto)
Auto (auto)
Use Python's Static Library (--static-libpython)
Auto (auto)
Use MSVC Version (--msvc)
Select
Parallel Compilation Tasks (--jobs)
Select
GCC Compiler CF Protection Mode (--cf-protection)
Auto (auto)
Disable ccache (--disable-ccache)
Disable DLL Dependency Cache (--disable-dll-dependency-cache)
Force Update DLL Dependency Cache (--force-dll-dependency-cache-update)
Disable Cache (--disable-cache)
Select
Clean Cache (--clean-cache)
Select
Profile Guided Optimization (--pgo-c)
Profile Guided Optimization Arguments (--pgo-args)
Select
Profile Guided Optimization Executable (--pgo-executable)
Select
Report Differences (--report-diffable)
Quiet Mode (--quiet)
Show Scons (--show-scons)
Don't Show Progress Bar (--no-progressbar)
Show Progress (--show-progress)
Show Memory (--show-memory)
Show Modules (--show-modules)
Verbose Mode (--verbose)
Output Report (--report)
Select
Show Modules Output Path (--show-modules-output)
Select
Verbose Mode Output Path (--verbose-output)
Select
Report User Provided Value (--report-user-provided)
Select
Report Template (--report-template)
Select
Force Standard Output Specification (--force-stdout-spec)
Select
Force Standard Error Specification (--force-stderr-spec)
Select
Request Windows User Account Control (UAC) Administrator Rights (--windows-uac-admin)
Request Windows User Account Control (UAC) UI Access Rights (--windows-uac-uiaccess)
Windows Console Mode (--windows-console-mode)
Force Mode (force)
Onefile Windows Splash Screen Image (--onefile-windows-splash-screen-image)
Select
Windows Icon (ICO File) (--windows-icon-from-ico)
Select
Windows Icon (EXE File) (--windows-icon-from-exe)
Select
Create MacOS Application Bundle (--macos-create-app-bundle)
MacOS Signing Notarization (--macos-sign)
macOS Application Mode (--macos-app-mode)
GUI Mode (gui)
MacOS Target Architecture (--macos-target-arch)
Native Architecture (native)
MacOS Application Icon Path (--macos-app-icon)
Python Icon (python)
MacOS Signed Application Name (--macos-signed-app-name)
Select
macOS Application Name (--macos-app-name)
Select
MacOS Signing Identity (--macos-sign-identity)
Ad-Hoc Signing (ad-hoc)
macOS Application Version (--macos-app-version)
1.0
Request macOS Protected Resource (--macos-app-protected-resource)
Select
Linux Icon (--linux-icon)
Select
Company Name (--company-name)
Select
Product Name (--product-name)
Select
File Version (--file-version)
Select
Product Version (--product-version)
Select
File Description (--file-description)
Select
Copyright Text (--copyright)
Select
Trademark Text (--trademarks)
Select
Plugin List (--plugin-list)
Enable Plugins (--enable-plugins)
Select
Disable Plugins (--disable-plugins)
Select
User Plugin (--user-plugin)
Select
Module Parameter (--module-parameter)
Select
Show Source Code Changes (--show-source-changes)
Select
Target (--target)
Select
Show Anti-Bloat Changes (--show-anti-bloat-changes)
Don't Include setuptools Mode (--noinclude-setuptools-mode)
Select
Don't Include pytest Mode (--noinclude-pytest-mode)
Select
Don't Include Unittest Mode (--noinclude-unittest-mode)
Select
Don't Include pydoc Mode (--noinclude-pydoc-mode)
Select
Don't Include IPython Mode (--noinclude-IPython-mode)
Select
Don't Include dask Mode (--noinclude-dask-mode)
Select
Don't Include numba Mode (--noinclude-numba-mode)
Select
Don't Include Default Mode (--noinclude-default-mode)
Select
Don't Include Custom Mode (--noinclude-custom-mode)
Select
Playwright Include Browser (--playwright-include-browser)
Select
spaCy Language Model (--spacy-language-model)
Select
Basic Settings
Control the inclusion of modules and packages in result
Control the imported modules
Onefile Options
Data Files
Metadata Support
DLL (Dynamic Link Library) Files
Control the warnings given by Nuitka
Immediate execution after compilation
Compilation Options
Output Options
Deployment Control
Environment Control
Debug Features
Nuitka Development Features
Backend C Compiler Choice
Cache Control
PGO (Profile Guided Optimization) Compilation Options
Tracing Features
General OS Settings
Windows Specific Controls
macOS Specific Controls
Linux Specific Controls
Binary Version Information
Plugin Control
Cross Compilation
'Anti-Bloat' Plugin Options (Category: Core)
'Playwright' Plugin Options
Spacy Plugin Options (Category: Package Support)
Input
Output
Edit