Skip to main content

Very simple text templating view for Python

Project description


Very simple text templating views for Python

Uses colour variables from AnsiColours package to style text.


Install by running:

pip install text_template


from text_template import TextTemplate as view


The view uses `$` and `${}` to parse the variables passed to the template for example:

# a_view.txt

One, $variable and ${another_variable}
New line here


The project is licensed under the MIT license.

Project details

Download files

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

Files for text-template, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size text_template-0.1.4-py2.py3-none-any.whl (2.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size text_template-0.1.4.tar.gz (2.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page