Skip to content
UPEEC

Packaging, Freezing and Compiling

Turn Python into standalone apps or faster compiled code.

Intermediate
Comments 0

This is an overview — pick a sub-topic below.

Sub-topics (5)

PyInstaller

Bundles a Python app and its dependencies into a single executable.

Easy♥ 0🔖 0💬 0

Nuitka

Compiles Python to C and then to a native executable — often faster startup and runtime.

Intermediate♥ 0🔖 0💬 0

cx_Freeze, Briefcase and PyOxidizer

Other ways to ship apps: cx_Freeze (cross-platform freezer), Briefcase (BeeWare native installers incl. mobile), PyOxidizer (embeds Python in a Rust binary).

Intermediate♥ 0🔖 0💬 0

Cython

A Python superset that compiles to C — add types to make hot loops run at C speed and call C libraries.

Advanced♥ 0🔖 0💬 0

mypyc

Compiles type-annotated Python modules into C extensions using mypy's type information.

Advanced♥ 0🔖 0💬 0

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.