My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Featured
Downloads
Wiki pages
Links

Karrigell is a Pythonic web framework, very simple to learn and to use

The server is started by 2 lines : and the "Hello world" script also takes 2 lines :

   import Karrigell
   Karrigell.run()

   def index():
      return "Hello World"

Karrigell's design is about simplicity for the programmer and integration of all the web environment in the scripts namespace. All the HTML tags are available as classes in the scripts namespace :

def index():
    return HTML(BODY("Hello world"))

To build an HTML document as a tree, the HTML tags objects support the operators + (add brother) and <= (add child) :

def index():
    form = FORM(action="insert",method="post")
    form <= INPUT(name="foo")+BR()+INPUT(name="bar")
    form <= INPUT(Type="submit",value="Ok")
    return HTML(BODY(form))

The scripts can be served by a built-in web server, or through the Apache server, either on CGI mode or using the WSGI interface

This project is a rewriting of the Python 2.x version, adapted to Python version 3.2 and over, with some incompatibilies

Projects using Karrigell

The transbuild project provides a set of tools to detect strings that must be translated and generate a file with the original string and its translation in specified languages. The translation is made with the Google or Bing translation API

BuanBuan is a wiki application based on Karrigell 4

kforum is a forum application

kftp is a FTP-like program to manage files and folders on line

Powered by Google Project Hosting