Skip to main content
Examples:

$ contpl --tpl infile.tpl --out file.out --delim '$$$' --test 30
Reads the infile.tpl template and rewrites its contents to infile.out,
substituting "$$$test"

$ contpl --tpl infile.tpl --out outdir --delim '%' --var1 20 --var2 hello
Reads the infile.tpl template and rewrites its contents to outdir/infile.tpl,
substituting "%var1" and "%var2"

$ contpl --tpl indir --out outdir --var1 10 --var2 50
Reads all the files from indir and rewrites them to outdir,
substituting "$$$var1" and "$$$var2" ("$$$" is the default delimiter)

$ contpl --tpl indir/\*.tpl --out outdir --var1 10 --var 20
Reads all the files matching the mask (glob) "*.tpl" and rewrites them to
outdir, substituting "$$$var1" and "$$$var2"

Release files for contpl 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for contpl 1.0
File Size Uploaded
contpl-1.0.tar.gz 2.3 kB Details

Release files / contpl-1.0.tar.gz

Download URL contpl-1.0.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1f4131a84dde9a596a543fe5a3452a66a4c44901ad3a64ae057d1fe7fec68840
BLAKE2b-256 checksum
How to use checksums
7d8136558955252dfe5b7895ac9bac0f67975e0d96e3ccbf11fa638a7555b568
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page