nuitka

Python compiler that converts Python code to C and compiles it

brewmacoslinux
Try with needOr install directly
Source

About

Python compiler written in Python

Commands

nuitkanuitka3

Examples

Compile a single Python script to an executable$ nuitka --onefile script.py
Compile Python code with optimizations enabled$ nuitka --follow-imports --onefile --remove-output app.py
Create a standalone executable with minimal dependencies$ nuitka --standalone --onefile main.py