I use bottle all the time as minimal web infrastructure. It is very easy to use.
as a minimal example - taken from a website:
from bottle import route, run @route('/hello/:name') def index(name='World'): return '<b>Hello %s!</b>' % name run(host='localhost', port=8080)
you just associate a URL (route) with functions. It even gives an optional argument. It has an optional bright template language, and you can customize it for our needs. Very powerful.
Itβs also very easy to install - since it comes as a single file next to your application and is clean, compatible with python. It is also very easy to debug, with good startup in modif, while in development mode.
As the final advantages, it runs smoothly under pypy, which provides speed acceleration compared to other platforms.
mad7777
source share