{"id":23766,"library":"freeze-core","title":"freeze-core","description":"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.","status":"active","version":"0.6.1","language":"python","source_language":"en","source_url":"https://github.com/marcelotduarte/freeze-core","tags":["cx_Freeze","freeze","packaging","executable","build"],"install":[{"cmd":"pip install freeze-core","lang":"bash","label":"Install freeze-core"}],"dependencies":[{"reason":"Required for building and installing (implicit dependency)","package":"setuptools","optional":true}],"imports":[{"note":"Hyphen in package name, underscore in import","wrong":"import freeze-core","symbol":"freeze_core","correct":"import freeze_core"},{"note":"Public API for resources","symbol":"freeze_core.Resource","correct":"from freeze_core import Resource"}],"quickstart":{"code":"import freeze_core\n# Example: list resources\nfor resource in freeze_core.Resource.list():\n    print(resource)\n","lang":"python","description":"Basic usage of freeze-core to list resources."},"warnings":[{"fix":"Use `import freeze_core`.","message":"Package name with hyphen (freeze-core) vs import with underscore (freeze_core). Importing freeze-core instead of freeze_core raises ModuleNotFoundError.","severity":"gotcha","affected_versions":"all"},{"fix":"Install cx_Freeze instead if you want to freeze applications; freeze-core is pulled automatically.","message":"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.","severity":"gotcha","affected_versions":"all"},{"fix":"Use only public API from freeze_core top-level module.","message":"In version 0.5.0, the internal module name changed, breaking direct imports of old internal modules like `freeze_core.old_module`.","severity":"breaking","affected_versions":">=0.5.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Use `import freeze_core` instead of `import freeze-core`.","cause":"Trying to import the package name with a hyphen.","error":"ModuleNotFoundError: No module named 'freeze-core'"},{"fix":"Check if the symbol exists in your version: `dir(freeze_core)`. For version >=0.5.0, use `from freeze_core import ...` as documented.","cause":"Resource may not be available in older versions or is not part of public API.","error":"ImportError: cannot import name 'Resource' from 'freeze_core' (unknown location)"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}