Releases: Da4ndo/CEngine
cengine - 1.2.0
CEngine
CEngine (Convert Engine) is a powerful Rust-based tool for converting Python scripts into standalone executables.
Overview
CEngine is an open-source converter that streamlines the process of creating executables from Python scripts. It handles the entire workflow automatically:
- Creates a virtual environment
- Analyzes and detects required packages
- Installs dependencies
- Builds the executable
- Cleans up temporary files
Features
- Smart Import Detection: Automatically scans your Python script to identify required packages
- Virtual Environment Management: Creates and configures isolated environments for clean builds
- Dependency Resolution: Handles package installation, including special cases like PyWin32 and OpenCV
- Build Optimization: Creates optimized executables with minimal size
- Automatic Cleanup: Removes temporary build files after completion
- Cross-Platform Support: Works on Windows, macOS, and Linux
- Debug Mode: Detailed logging for troubleshooting
- Force Mode: Override warnings and proceed with operations
Installation
From GitHub Releases
Windows
- Download the latest Windows executable from the Releases page
- Download
cengine-windows-x64.exe - Add the executable to your PATH or run it directly
Linux
- Download the latest Linux binary from the Releases page
- Download
cengine-linux-x64 - Make it executable:
chmod +x cengine-linux-x64
- Move it to a directory in your PATH:
sudo mv cengine-linux-x64 /usr/local/bin/cengine
Arch Linux (AUR)
For Arch Linux users, CEngine is available in the AUR:
Using yay
yay -S cengineUsing paru
paru -S cengineManual installation from AUR
git clone https://aur.archlinux.org/cengine.git
cd cengine
makepkg -siUsage
CEngine (Convert Engine) is an open-source converter for Python to create exe from py files.
Usage: cengine <SCRIPT> [OPTIONS] [PYINSTALLER_ARGUMENTS]
Arguments:
[SCRIPT] Define a script to be made into an executable
Options:
-n, --name <NAME> Define the script name
--add-imports <IMPORTS>... Add more imports
--force-platform <PLATFORM> Add custom arguments
--clean Clean failed builds
--debug Sets the debug environment to true
--force Forces the operation to proceed with all warnings and skippings
-h, --help Print help
-V, --version Print versionBasic Usage
cengine test.pyWith name:
cengine test.py --name testWith custom arguments:
cengine test.py --force-platform linux --add-imports numpyClean failed build:
cengine test.py --name test --cleanCEngine 1.0.8 Release
CEngine
CEngine (Convert Engine)
This is an open-source converter for python to create exe from py. CEngine creates automatically virtualenv and installs the packages, and deletes unnecessary files after the build is complete.
- It's using PyInstaller or Nuitka to create exe.
- It's better because the executable is smaller (less bytes) and,
- CEngine starts a cleaning proccess and deletes the dist, build, *.spec files/directories after the build is complete.
CHANGELOG
1.0.8 (01/01/2022):
- Added
-b|--windows-defender-bypassoption. - Solved issues, cleaned code.
- Code optionalization.
More in changelog.txt
How does it work?
- Creates a virtualenv.
- Analyzes the target script to get the imports.
- Installs the packages with pip.
- Starts pyinstaller or nuitka.

Virtualenv create processs and analyze proccess 👆
Usage
usage: cengine.py [-h] [--nuitka] [-s SCRIPT] [-n NAME] [-b] [--add-imports ADD_IMPORTS [ADD_IMPORTS ...]]
[--force-platform FORCE_PLATFORM] [--clean]
options:
-h, --help show this help message and exit
--nuitka Change from pyinstaller to nuitka compiler.
-s SCRIPT, --script SCRIPT, --file SCRIPT
Define a script to be made into an executable.
-n NAME, --name NAME Define the script name.
-b, --windows-defender-bypass
Bypass windwos defeneder with base64 encode/decode.
--add-imports ADD_IMPORTS [ADD_IMPORTS ...]
Add more imports.
--force-platform FORCE_PLATFORM
Add custom arguments.
--clean Clean failed builds.
Convert:
- cengine --script cengine.py --name cengine --icon NONE --version-file cengine.version
- cengine --nuitka --script cengine.py --name cengine
Clean:
- cengine --script cengine.py --clean
- cengine --nuitka --script cengine.py --clean
CEngine 1.0.7 Release
CEngine
CEngine (Convert Engine)
This is an open-source converter for python to create exe from py. CEngine creates automatically virtualenv and installs the packages, and deletes unnecessary files after the build is complete.
- It's using PyInstaller or Nuitka to create exe.
- It's better because the executable is smaller (less bytes) and,
- CEngine starts a cleaning proccess and deletes the dist, build, *.spec files/directories after the build is complete.
CHANGELOG
1.0.7 (12/31/2021):
- Added Nuitka compiler support.
- Added
--nuitkaoption. - Added
--force-platformoption. - Added
--cleanoption. - Changed custom args method. Now, just pass the argument. (cengine --script .... --icon NONE --version-file "asd")
More in changelog.txt
How does it work?
- Creates a virtualenv.
- Analyzes the target script to get the imports.
- Installs the packages with pip.
- Starts pyinstaller or nuitka.

Virtualenv create processs and analyze proccess 👆
Usage
usage: cengine.py [-h] [--nuitka] [-s SCRIPT] [-n NAME] [--add-imports ADD_IMPORTS [ADD_IMPORTS ...]] [--force-platform FORCE_PLATFORM] [--clean]
options:
-h, --help show this help message and exit
--nuitka Change from pyinstaller to nuitka compiler.
-s SCRIPT, --script SCRIPT, --file SCRIPT
Define a script to be made into an executable.
-n NAME, --name NAME Define the script name.
--add-imports ADD_IMPORTS [ADD_IMPORTS ...]
Add more imports.
--force-platform FORCE_PLATFORM
Add custom arguments.
--clean Clean failed builds.
Convert:
- cengine --script cengine.py --name cengine --icon NONE --version-file cengine.version
- cengine --nuitka --script cengine.py --name cengine
Clean:
- cengine --script cengine.py --clean
- cengine --nuitka --script cengine.py --clean
CEngine 1.0.6 Open-Source Release
CEngine
CEngine (Convert Engine)
This is an open-source converter for python to create exe from py. CEngine create automatically virtualenv and install the packages.
- It's using pyinstaller to create exe.
- It's better because the executable is smaller (less bytes) and,
- CEngine starts a cleaning proccess and deletes the dist, build, *.spec files/directory when the converting is ended.
CHANGELOG
1.0.6 (12/25/2021):
- Changed to open-source
How does it work?
- Creates a virtualenv.
- Analyzes the target script to get the imports.
- Installs the packages with pip.
- Starts pyinstaller.

Virtualenv create processs and analyze proccess 👆
Usage
usage: cengine.exe [-h] [--script SCRIPT] [--name NAME] [--custom-args CUSTOM_ARGS]
[--add-imports ADD_IMPORTS [ADD_IMPORTS ...]]
options:
-h, --help show this help message and exit
--script SCRIPT, --file SCRIPT
Define a script to be made into an executable
--name NAME Define the script name.
--custom-args CUSTOM_ARGS
Add custom arguments.
--add-imports ADD_IMPORTS [ADD_IMPORTS ...]
Add more imports.
CEngine 1.0.5 Release
CEngine 1.0.5
CEngine (Convert Engine)
This is a converter for python to create exe from py. CEngine create automatically virtualenv and install the packages. It's using pyinstaller to create exe. It's better beaceuse the file is smaller and only the exe appear in the same directory as the target script.
CHANGELOG
1.0.5 (11/20/2021):
- Added --add-imports parameter
CEngine 1.0.4 Release
CEngine 1.0.4
CEngine (Convert Engine)
This is a converter for python to create exe from py. CEngine create automatically virtualenv and install the packages. It's using pyinstaller to create exe. It's better beaceuse the file is smaller and only the exe appear in the same directory as the target script.
CHANGELOG
1.0.4 (10/24/2021):
- Added handling for
--onedirparameter in--custom-args

