Skip to main content

Small, simple and powerful template-engine for Python.

Project description

pyratemp is a small, simple and powerful template-engine for python.

For documentation, please read pyratemp.txt or pyratemp.html and the pyratemp-docstrings.

For more documentation of the background of pyratemp, some thoughts about template-engines in general, benchmarks and comparisons, see http://www.simple-is-better.org/template/

Website:

http://www.simple-is-better.org/template/pyratemp.html

Author:

Roland Koebler <rk at simple-is-better dot org>

Version:

0.3.2

Requirements:

Python >=2.6 / 3.x

Files:
  • README

  • NEWS

  • LICENSE

  • pyratemp.py: the template-engine

  • tools.py: some convenience functions for pyratemp

  • pyratemp_tool.py: a small commandline-interface for the template-engine

  • pyratemp_python3_doctest.txt: pyratempt-doctests for Python 3

  • __init__.py: small wrapper so you can “import the directory”

  • setup.py: distutils-setup.py

  • pyratemp.txt: the documentation (in reStructuredText)

  • pyratemp.html: the documentation, converted to html

  • example.html: example-template from the documentation

  • example.json: example-data from the documentation

Installation:
  • use disutils, e.g. python ./setup.py install or python ./setup.py install --user

  • or simply copy or symlink this directory (or only pyratemp.py) to a directory which is found by Python’s “import”, e.g. into your project-directory

Test:

./pyratemp_tool.py -f example.json example.html

Project details


Download files

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

Source Distribution

pyratemp-0.3.2.tgz (52.0 kB view details)

Uploaded Source

File details

Details for the file pyratemp-0.3.2.tgz.

File metadata

  • Download URL: pyratemp-0.3.2.tgz
  • Upload date:
  • Size: 52.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyratemp-0.3.2.tgz
Algorithm Hash digest
SHA256 c45ed656ada482a02fe780495f37a695e7671accb04f918f7e7f18abf877bc71
MD5 e4bbe5d4a98016efef882b2b2f47defb
BLAKE2b-256 524ee2e391d7759ae826d3442b0bbfb70b1c8cf3f1bfa57662d93de6c0aadfce

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page