A curated collection of production-ready fimod molds — Python transformation scripts that convert structured data into useful outputs.
No system Python required: fimod embeds its own runtime (Monty) in a single ~2.3 MB binary.
| Mold | Description |
|---|---|
dockerfile |
Generate production Dockerfiles from JSON/YAML descriptors (Python + Node.js, multistage builds) |
html_report |
Convert JSON/CSV data to standalone HTML reports with sortable tables |
poetry_migrate |
Migrate Poetry pyproject.toml to Poetry 2 or uv (PEP 621) |
download |
Download files from URLs (wget-like) |
gh_latest |
Get latest GitHub release tag or download URL |
semver_bumper |
Calculate the next semantic version from commits since the last tag |
skylos_to_gitlab |
Convert Skylos dead code reports to GitLab Code Quality format |
See the fimod installation guide.
# From a local clone
fimod s -i input.yaml -m molds/dockerfile/dockerfile.py -o Dockerfile
# From a registry (once published)
fimod s -i input.yaml -m @dockerfile -o Dockerfilefimod s -i pyproject.toml -m @poetry_migrate --arg target=uv --arg build=hatchlingYou can register this repository as a fimod mold registry to use its molds directly by name.
fimod registry add fimod-powered https://github.com/pytgaen/fimod-poweredgit clone https://github.com/pytgaen/fimod-powered.git
fimod registry add fimod-powered ./fimod-powered/molds# List available molds
fimod mold list fimod-powered
# Use a mold by registry-qualified name
fimod s -i input.yaml -m @fimod-powered/dockerfile -o Dockerfile
# If set as default registry, the prefix is optional
fimod registry set-default fimod-powered
fimod s -i input.yaml -m @dockerfile -o DockerfileEach mold has fixture-based tests in test-molds/.
# Run all mold tests
fimod mold test ./test-molds
# Run tests for a single mold
fimod mold test ./test-molds/dockerfileSee CONTRIBUTING.md for details on the test fixture format.