Repolode
marcelotduarte

marcelotduarte/cx_Freeze

A Python tool that freezes Python scripts into standalone executables that run on any platform Python supports.

Stars
1,564
Forks
241
Open issues
43
Last commit
23 hours ago

What is it?

cx_Freeze turns Python scripts into standalone executables, so the program can be run on a machine without a separate Python installation. The generated executables are said to keep the performance of the original script, and the tool works on any platform Python runs on.

It is installed with pip or conda-forge and is documented on a Read the Docs site. The project includes samples, including one for building Windows service executables.

It suits developers who want to distribute a Python command-line tool or desktop application as a single program for end users who do not manage Python environments.

Key features

  • 01Builds standalone executables from Python scripts.
  • 02Cross-platform, working on any platform Python runs on.
  • 03Installable via pip or conda-forge.
  • 04Includes samples for building Windows service executables.

Use cases

  • Distributing a Python desktop app to users without Python installed.
  • Shipping a Python command-line tool as a single executable.
  • Packaging a Python script as a Windows service.

Quick start

  1. 1

    Install cx_Freeze with pip into a virtual environment

    pip install --upgrade cx_Freeze
  2. 2

    Or install from conda-forge

    conda install conda-forge::cx_freeze

Things to know

  • License is listed as NOASSERTION; the README says it derives from the Python Software Foundation License, so check the license terms before commercial use.

Topics

#python#packaging#executable#cross-platform#devtools#cx-freeze#freeze#freezing-python-scripts

FAQ

What is cx_Freeze?
A Python tool that freezes Python scripts into standalone executables that run on any platform Python supports. cx_Freeze turns Python scripts into standalone executables, so the program can be run on a machine without a separate Python installation. The generated executables are said to keep the performance of the original script, and the tool works on any platform Python runs on.
Is cx_Freeze free to use? What license does it have?
cx_Freeze is open source under the Other license. Check the license terms before using it in commercial products.
Is cx_Freeze still maintained?
Actively maintained. The last commit to cx_Freeze was on Nov 7, 2026.
What can I use cx_Freeze for?
Distributing a Python desktop app to users without Python installed. Shipping a Python command-line tool as a single executable. Packaging a Python script as a Windows service.
How do I install cx_Freeze?
Install cx_Freeze with pip into a virtual environment: pip install --upgrade cx_Freeze Or install from conda-forge: conda install conda-forge::cx_freeze
Where can I get cx_Freeze?
The source code and installation instructions are on GitHub: https://github.com/marcelotduarte/cx_Freeze

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects