PCv5/venv/Lib/site-packages/Flask-0.12.2.dist-info/DESCRIPTION.rst

810 B

Flask

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/

Ready for production? `Read this first <http://flask.pocoo.org/docs/deploying/>`.