Bottle is a fast, simple and lightweight WSGI micro web-framework for Python with no external dependencies and packed into a single file.
Core Features
Download, Install and Dependencies
You can install the latest stable release with easy_install -U bottle or just download the newest testing version into your project directory. There are no (hard [1]) dependencies other than the Python standard library. Bottle runs with Python 2.5+ and 3.x (using 2to3)
Example
This is a minimal bottle application serving a single URL:
from bottle import route, run
@route('/')
def index():
return 'Hello World!'
run(host='localhost', port=8080)
Documentation