{% extends "layout.html" %} {% from "_twitter.html" import tweet_box %} {% set latest_version = '0.2' %} {% set download_url = 'http://pypi.python.org/packages/source/' ~ 'F/Flask/Flask-' ~ latest_version ~ '.tar.gz' %} {% block head %} {{ super() }} {% endblock %} {% block body_title %} {{ super() }}

because sometimes a pocket knife is not enough {% endblock %} {% block body %}

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

Latest Version: {{ latest_version }}

Flask is Fun

from flask import Flask
app = Flask(__name__)

@app.route("/")
def hello():
    return "Hello World!"

if __name__ == "__main__":
    app.run()

And Easy to Setup

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

Interested?

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:

Contribute

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. {% if tweets %}

Recent Tweets

What people say about Flask on Twitter: {{ tweet_box(tweets, 3) }}

more » {% endif %} Fork me on GitHub {% endblock %}