Create exe files from py files easily with Py Nuitka GUI!
Py Nuitka GUI is a graphical user interface for the Nuitka Python compiler. It provides an easy-to-use interface for compiling Python scripts using Nuitka, with various compilation options available.
Nuitka is an advanced Python compiler that transforms Python scripts into highly optimized, standalone executable files. It compiles Python code to C, allowing it to leverage the performance benefits of native C code execution while maintaining full compatibility with existing Python libraries and features. Nuitka excels in creating efficient and fast executables that can be distributed across various platforms without requiring a separate Python runtime environment.
Our application, 'Py Nuitka GUI,' is designed to make this powerful compiler accessible to users of all skill levels. With its intuitive graphical interface, 'Py Nuitka GUI' simplifies the process of configuring compilation options and generating executables. Users can easily select their Python scripts, specify output directories, and adjust numerous compilation settings through a straightforward and user-friendly interface. The application also provides real-time feedback on the compilation progress, ensuring a smooth and efficient workflow. By combining the robustness of Nuitka with the ease of use provided by 'Py Nuitka GUI,' users can effortlessly create high-performance, standalone executables, making it the ideal tool for both novice and experienced developers.
- Select Python (.py) files for compilation
- Choose output directory for compiled files
- Set various compilation options
- Compilation progress display
- Save and load compilation settings
- User-friendly interface for Nuitka command-line options
- Python 3.6+
- Tkinter (usually comes pre-installed with Python)
- Nuitka compiler https://nuitka.net/
- Windows 10/11
For a complete list of dependencies, see requirements.txt
.
-
Clone this repository:
git clone https://github.com/non-npc/py-nuitka-gui.git
-
Navigate to the project directory:
cd py-nuitka-gui
-
Install the required dependencies:
pip install -r requirements.txt
Run the windows application executable (https://github.com/non-npc/Py-Nuitka-GUI/releases/tag/v0.1)
OR
Run the application using Python:
python py_nuitka_gui.py
- Select a Python file to compile using the "Browse" button.
- Choose an output directory for the compiled files.
- Set the desired options using the checkboxes and input fields.
- Click "Compile" to start the compilation process.
- The progress bar will show the compilation progress, and the output will be displayed in the "Compiler Output" section.
- Depending on the size and number of module dependencies in you project, you may see "Nuitka: Starting Python compilation with Nuitka '2.4.5'..." for several minutes as it builds the dependencies.
Some options may have additional dependencies that must be installed by Noitka before use. In this case, in the Compiler output you would see that Noitka is asking to install for example 'dependencywalker', when this happens click the "Display Commands" button in Py Noitka GUI and run that in your console. Then you will see the option to install the modules that Noitka is requesting to install. Click (Y) and once the installation is done, you should be able to use Py Noitka GUI without any issues.
- To save your current settings, go to File -> Save Settings. The default filename is 'project-settings.json'.
- To load previously saved settings, go to File -> Load Settings. The dialog will look for 'project-settings.json' by default.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under GPL license - see the LICENSE file for details.