Skip to main content

Template engine that uses Python as the template language

Project description

webstring is a template engine for programmers whose favorite template language is Python. This release of webstring replaces the standalone packages webstring, lwebstring, TurboWebstring, and LturboWebstring.

webstring supports:

  • plain text templating
  • advanced XML and HTML templating using lxml or cElementTree
  • templating with web frameworks that support the TurboGears template plugin API
  • WSGI templating middleware

webstring is designed to:

  1. Separate model and view logic from controller logic.
  2. Separate template logic from template data.
  3. Require only Python for templating.
  4. Use Python syntax, idiom, and patterns.
  5. Play well with other Python software.

webstring’s XML and HTML templating support is designed to:

  1. Use XML as a data format, not a programming language.
  2. Use existing XML formats.
  3. Hide the parts of an XML document that are not being used.
  4. Use the best Python XML processing libraries.
  5. Bridge HTML and XML.

Project details

Release history Release notifications

This version
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
webstring-0.5-py2.4.egg (144.3 kB) Copy SHA256 hash SHA256 Egg 2.4 Jan 4, 2007
webstring-0.5-py2.5.egg (143.4 kB) Copy SHA256 hash SHA256 Egg 2.5 Jan 4, 2007
webstring-0.5.tar.bz2 (67.8 kB) Copy SHA256 hash SHA256 Source None Jan 4, 2007
webstring-0.5.tar.gz (88.7 kB) Copy SHA256 hash SHA256 Source None Jan 4, 2007
webstring-0.5.win32.exe (127.7 kB) Copy SHA256 hash SHA256 Windows Installer any Jan 4, 2007 (107.8 kB) Copy SHA256 hash SHA256 Source None Jan 4, 2007

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page