Python Microframeworks

This is important category. There so many good small Python frameworks ... an embarrassment of riches.

Some are so small and quick that they can be deployed as CGI and still provide plausible performance.


A single 140K file, of pure dynamite !!!

See PythonBottle

Pocoo Packages is small phenomena in itself. It has an amazing selection of offerings ...

The Pocoo Team consists of people from the Python community that are working under one umbrella on various Python libraries and applications ...

Our Projects - Among our most popular projects are:

Flask micro web framework
Jinja 2 template engine
Pygments syntax highlighting package
Sphinx document processor
Werkzeug WSGI toolkit

Each project has a fair sized community of its own.

In fact, PythonTrac may switch from Genshi to Jinja, a big deal since Genshi is developed by Edgewall.

Armin Ronacher's Thoughts and Writings -

Pocoo BBS

Pocoo is an open-source bulletin board written in Python. It provides an advanced plugin system with a component architecture which allows other developers to modify Pocoo to their liking without the need to touch existing source code.

Because it uses SQLAlchemy, it is possible to use either MySQL, SQLite, Oracle or Postgres as storage backend


Need to ex-spend some effort here ...

Flask is a microframework for Python based on Werkzeug, Jinja 2 and good intentions.

Setup says: install_requires=[ 'Werkzeug>=0.7', 'Jinja2>=2.4', 'itsdangerous>=0.21', 'click>=2.0', ]

Will deploy as CGI -


Jinja2, one of my favorite template engines.

Jinja2 is a full featured template engine for Python. It has full unicode support, an optional integrated sandboxed execution environment ...


Widely used.

Werkzeug started as a simple collection of various utilities for WSGI applications and has become one of the most advanced WSGI utility modules.

It includes a powerful debugger, fully featured request and response objects, HTTP utilities to handle entity tags, cache control headers, HTTP dates, cookie handling, file uploads, a powerful URL routing system and a bunch of community contributed addon modules.

Also see: PythonServers#Werkzeug


Not to mention a powerful command/console creation kit.

Click is a Python package for creating beautiful command line interfaces in a composable way with as little code as necessary. It’s the “Command Line Interface Creation Kit”. It’s highly configurable but comes with sensible defaults out of the box.


... and as if that weren't enough ....

Sphinx is a tool that makes it easy to create intelligent and beautiful documentation, written by Georg Brandl and licensed under the BSD license.


Rarely gets mentioned as a micro-framework but it includes a template engine, etc. Very similar to Bottle in fact.

See PythonTornado

Top Rankings


This is great, however python 3 is now supported in Flask which would give it a +2 compensating for the -1. The rankings now look like:

Bottle +7
Pesto +6
Flask +5

Other Contenders

Itty +4 +1
cherrypy 0
bobo -2 -5


Object Web
Pylons / Pyramid
Wheezy Web
Klein Depends on PythonTwisted and PythonTwistdServer
Turbo Gears

Also see:

Semantic ?

Cubic Web From Narval. Semantic Web ?
Cubic Web at Pypi This bad boy is huge, over 10 meg
Cubic Web search at Pypi

Python Org Web Frameworks

  1. cgi+wsgiref +3


How secure ?

Pyro PythonXMLRPC#Pyro
Last modified 10 months ago Last modified on 02/15/2017 02:55:14 PM