Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Extremely plain and simple template engine for text files

Project Description

Small template engine that replaces variables via dictionary values:

cat file.txt
"This is a {{variable}} in a {{string}}"

from coima import Template
t = Template({'variable':'word', 'string':'sentence'}, 'file.txt')


u"This is a word in a sentence"


No Python or code blocks are allowed, this is basically a dumb templating engine.

Variables should be a one word or 2 words together with an underscore. These are valid variables:

{{variable}} {{variable_one}}

Invalid variables are left ‘as is’ and left in the final rendered template.

Release History

This version
History Node


History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(6.1 kB) Copy SHA256 Hash SHA256
Source None Dec 5, 2010

Supported By

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 Google Google Cloud Servers DreamHost DreamHost Log Hosting