This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Command-line templates processor

Project Description
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 History

Release History

This version
History Node

1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
contpl-1.0.tar.gz (2.3 kB) Copy SHA256 Checksum SHA256 Source Mar 20, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting