ANN: Snakelets 1.3 (simple-to-use web app server with dynamic pages)

Irmen de Jong irmen at -NOSPAM-REMOVETHIS-xs4all.nl
Sat Aug 23 12:40:27 EDT 2003


I'm happy to say that Snakelets 1.3 is now available. 	

Changes since 1.2:
- actually compiles Ypages to pyc bytecodes now
- ypages can send HTTP error responses, include another url and forward to another url
- better script indent handling in Ypages
- adds ETag and Last-Modified HTTP headers,
- aads nocache HTTP headers for snakelet and Ypage responses
- quickreference manual
- miscellaneous fixes and improvements


Snakelets is a simple Python web application server, mainly for educational
purposes. This project provides a threaded web server, Ypages (HTML+Python
language, similar to Java's JSPs) and Snakelets: code-centric page
request handlers (similar to Java's Servlets).

Before you all rightfully scream "not another Python web server and HTML-
language" let me say that Snakelet's focus is on understanding the way
dynamic web sites are created (the code is very compact and easy to
understand), and make this process as easy as possible.
The actual server and Ypage-compiler code is less than 2,300 lines.

The full download includes a few example web-applications:
- mp3 indexer and streamer
- shop
- server/webapp management tool

Snakelets is not meant to be a true platform to develop applications on.
It is meant to show how a web application server might work. I certainly
learned a lot from creating it.

You can download it from http://snakelets.sourceforge.net
(go to the SF project site, and then the file section).

Snakelets is released under the open-source MIT Software license.



--Irmen de Jong






More information about the Python-list mailing list