because sometimes a pocket knife is not enough

Flask is a microframework for Python based on Werkzeug, Jinja 2 and good intentions. And before you ask: It's BSD licensed!

Latest Version: 0.10.1

Flask is Fun

from flask import Flask
app = Flask(__name__)

def hello():
    return "Hello World!"

if __name__ == "__main__":

And Easy to Setup

$ pip install Flask
$ python hello.py
 * Running on http://localhost:5000/


What’s in the Box?

What do Flask Apps look like?

If you are looking for some example code of applications written with Flask, have a look at the sources of the examples on github:


Found a bug? Have a good idea for improving Flask? Head over to Flask's github page and create a new ticket or fork. If you just want to chat with fellow developers, visit the IRC channel or join the mailinglist. Also as a simple method to help us improve the framework, visit the feedback website. You can also directly add issues and feature requests to the issue tracker. Fork me on GitHub