A microframework based on Werkzeug, Jinja2 and good intentions
Flask is a microframework for Python based on Werkzeug, Jinja 2 and good intentions. And before you ask: It’s BSD licensed!
Flask is Fun
Save in a hello.py:
from flask import Flask app = Flask(__name__) @app.route("/") def hello(): return "Hello World!" if __name__ == "__main__": app.run()
And Easy to Setup
And run it:
$ pip install Flask $ python hello.py * Running on http://localhost:5000/
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.