I really like Bottle: Python Web Framework. Bottle is very simple, fast and powerful Python micro-framework. It is perfect for small web applications and rapid prototyping where you need simple/small API server.
Bottle is a fast, simple and lightweight WSGI micro web-framework for Python.
Install Bottle with pip install bottle or download the source package at PyPI.
Download and Install
Install the latest stable release (Bottle runs with Python 2.7 and 3.3+.)
#pip install bottle
#easy_install -U bottle
download bottle.py (unstable) into your project directory.
Example: “Hello World” (app.py)
from bottle import route, run
return ‘Hello %s!‘ % name
Point your browser to http://localhost:8080/hello/sandeep
Below find simple routing, template, static CDN, Ajax, redirect functions
Test URL for above bottle python code run on port 7800
# python bottle_example.py
http://localhost:7800/tpl (“test” is text file on [Web-App-Root])
http://localhost:7800/static/god.jpg (“god.jpg” saved on [Web-App-Root])