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:
- Separate model and view logic from controller logic.
- Separate template logic from template data.
- Require only Python for templating.
- Use Python syntax, idiom, and patterns.
- Play well with other Python software.
webstring’s XML and HTML templating support is designed to:
- Use XML as a data format, not a programming language.
- Use existing XML formats.
- Hide the parts of an XML document that are not being used.
- Use the best Python XML processing libraries.
- Bridge HTML and XML.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size webstring-0.5-py2.4.egg (144.3 kB) | File type Egg | Python version 2.4 | Upload date | Hashes View |
Filename, size webstring-0.5-py2.5.egg (143.4 kB) | File type Egg | Python version 2.5 | Upload date | Hashes View |
Filename, size webstring-0.5.tar.bz2 (67.8 kB) | File type Source | Python version None | Upload date | Hashes View |
Filename, size webstring-0.5.tar.gz (88.7 kB) | File type Source | Python version None | Upload date | Hashes View |
Filename, size webstring-0.5.win32.exe (127.7 kB) | File type Windows Installer | Python version any | Upload date | Hashes View |
Filename, size webstring-0.5.zip (107.8 kB) | File type Source | Python version None | Upload date | Hashes View |