Skip to content

Repository files navigation

fimod-powered

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.

Available molds

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

Quick start

Install fimod (>= 0.3.0)

See the fimod installation guide.

Use a mold

# 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 Dockerfile

Pass arguments

fimod s -i pyproject.toml -m @poetry_migrate --arg target=uv --arg build=hatchling

Use as a registry

You can register this repository as a fimod mold registry to use its molds directly by name.

From a remote URL (GitHub)

fimod registry add fimod-powered https://github.com/pytgaen/fimod-powered

From a local clone

git clone https://github.com/pytgaen/fimod-powered.git
fimod registry add fimod-powered ./fimod-powered/molds

Browse and use 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 Dockerfile

Testing

Each 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/dockerfile

See CONTRIBUTING.md for details on the test fixture format.

License

Apache-2.0

About

Production-ready transformation molds for the fimod CLI

Topics

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages