Karrigell A pythonic web framework

Karrigell is a flexible Python web framework, with a clear and intuitive syntax. It is independent from any database, ORM or templating engine, and lets the programmer choose between a variety of coding styles.

It applies to web programming what Python applies to programming : simple, clear, easy to code and to maintain. To achieve this, Karrigell scripts are essentially normal Python scripts, run in a namespace that provides all the environment needed in a web application : form field values, HTTP request headers, cookies, etc. The namespace also provides built-in functions to manage sessions, localization, user profile, etc

The easiest way to use Karrigell is to run it as a standalone application, with a built-in web server. For Windows users, an executable is provided so that the whole application, including a Python interpreter with the SQLite database, can be started with a double-click and no configuration on any machine or from a USB key

Installing behind an Apache server is also very simple, either as a site administrator or in a shared web hosting situation : a preconfigured version of Karrigell is provided as a tarball, all you have to do is to decompress its content in the Document Root and choose the way you want to integrate server and framework : plain CGI mode or with mod_python. The choice only means that you have to change the name of one file !

The recommended way to create programs is to use "Karrigell services", which are pure Python scripts where functions map urls. Associated with the built-in module HTMLTags which generates HTML from Python code, Karrigell programs have the same clean structure as all Python scripts

For programmers who are more at ease with PHP-like scripts (HTML code with Python code inserted inside special tags <% %>) the Python Inside HTML format is available