Skip to content

Installation

templify needs Python 3.12 or newer. Install it as a tool, so the templify command is available everywhere without touching your other Python projects:

uv tool install templify-cli
pipx install templify-cli
pip install templify-cli

The package is called templify-cli, and the command it installs is templify. Everything installs as prebuilt wheels. Word templates are filled directly, so you do not need Microsoft Word or LibreOffice installed.

Check that it works:

templify --help

Shell completion

Tab completion for commands, options and types --namespace:

templify --install-completion

Restart the shell after installing it.

Upgrade and uninstall

uv tool upgrade templify-cli
uv tool uninstall templify-cli
pipx upgrade templify-cli
pipx uninstall templify-cli

Upgrading from an older version? See Upgrading for the renamed commands and options.

Run from a clone

git clone https://github.com/aaltatan/templify
cd templify
uv sync
uv run templify --help

The example files

Every templify command in this documentation runs against the files in the examples/ folder of the repository. Clone the repository (or download the folder) and run the commands from inside it:

cd templify/examples