SPYCE is a server-side language that supports simple and
efficient Python-based dynamic HTML generation. Those who are familiar with
JSP, PHP, or ASP and like Python, should have a look at Spyce. Its modular
design makes it very flexible and extensible. It can also be used as a
command-line utility for static text pre-processing or as a web-server
proxy.
Updates
The latest released version of Spyce is: 1.3.10
(download).
Please refer to the
change log
or the
CVS repository
for details.
30-second sales pitch
Spyce is about embedding Python in HTML to create dynamic web pages. If
you like Python and you need to create web pages, you'll like Spyce.
Spyce is intuitive. Here's a "Hello World!" written in Spyce:
<html><body>
Hello [[print 'world!',]]
[[ for i in range(10): { ]]
[[=i]]
[[ } ]]
</body></html>
Spyce inherits the syntactic power of Python as well as its rich
standard library.
Spyce is modular and extensible. The standard modules include: request,
response, redirect, error, debug, include, cookie, session, template,
transform, compress, and others. Write your own, if you like.
Spyce supports active tags, i.e. tags that can execute code. Use the
ones provided, or write your own custom active tags.
Spyce scripts are first-order members of the Spyce language, a useful
feature not present in other server page languages.
Spyce performs well. It can easily serve hundreds of requests per
second, and is comparable with JSP, PHP and other languages in its class.
And, we're out of time... You'll have to read the docs for the rest.