zoomy_core.systemmodel.build_prebuilt_cache#
Regenerate the shipped SystemModel cache (python -m zoomy_core.systemmodel.build_prebuilt_cache).
Writes the pickled default models into zoomy_core/systemmodel/_prebuilt/ so a fresh install
builds instantly.
Module Contents#
Functions#
Yield |
|
Build every default model from scratch (cache reads off) and pickle it to the prebuilt directory; returns 0 on full success. |
API#
- zoomy_core.systemmodel.build_prebuilt_cache.default_models()#
Yield
(label, factory)for the default model configurations that ship prebuilt.
- zoomy_core.systemmodel.build_prebuilt_cache.main() int#
Build every default model from scratch (cache reads off) and pickle it to the prebuilt directory; returns 0 on full success.