preppy is a Python preprocessor for generating text output from templates. It compiles template files into Python modules for fast execution. Current version 5.1.0, maintained by ReportLab, with irregular release cadence.
pip install preppyVerified import paths — ran on the pinned version, not inferred.
Compile and run a template file named 'template.prep' with a variable 'name'.
Recompile templates with preppy 5.x.
Add noCaching=True if you need fresh compilation each time.
Use preppy.getModule('file.prep') or preppy.getModule('file', source_extension='.prep').Use template.getOutput({'var': value}) instead of template.getOutput(var=value).Run 'pip install preppy'.
Use 'import preppy' and call preppy.getModule().
Ensure filename includes .prep extension or use source_extension parameter.
No dependency data recorded yet.