freeze-core
raw JSON → 0.6.1 verified Fri May 01 auth: no python
Core dependency for cx_Freeze, providing shared utilities and hooks for building frozen executables. Current version 0.6.1, released on 2026-04-21. Active development with monthly or bimonthly releases.
pip install freeze-core Common errors
error ModuleNotFoundError: No module named 'freeze-core' ↓
cause Trying to import the package name with a hyphen.
fix
Use
import freeze_core instead of import freeze-core. error ImportError: cannot import name 'Resource' from 'freeze_core' (unknown location) ↓
cause Resource may not be available in older versions or is not part of public API.
fix
Check if the symbol exists in your version:
dir(freeze_core). For version >=0.5.0, use from freeze_core import ... as documented. Warnings
gotcha Package name with hyphen (freeze-core) vs import with underscore (freeze_core). Importing freeze-core instead of freeze_core raises ModuleNotFoundError. ↓
fix Use `import freeze_core`.
gotcha freeze-core is a core dependency for cx_Freeze; it is not meant to be used directly in most applications. Using it as a standalone tool may result in incomplete functionality. ↓
fix Install cx_Freeze instead if you want to freeze applications; freeze-core is pulled automatically.
breaking In version 0.5.0, the internal module name changed, breaking direct imports of old internal modules like `freeze_core.old_module`. ↓
fix Use only public API from freeze_core top-level module.
Imports
- freeze_core wrong
import freeze-corecorrectimport freeze_core - freeze_core.Resource
from freeze_core import Resource
Quickstart
import freeze_core
# Example: list resources
for resource in freeze_core.Resource.list():
print(resource)