| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- 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
- ````````````
- .. code:: python
- from flask import Flask
- app = Flask(__name__)
- @app.route("/")
- def hello():
- return "Hello World!"
- if __name__ == "__main__":
- app.run()
- And Easy to Setup
- `````````````````
- .. code:: bash
- $ pip install Flask
- $ python hello.py
- * Running on http://localhost:5000/
- Links
- `````
- * `website <http://flask.pocoo.org/>`_
- * `documentation <http://flask.pocoo.org/docs/>`_
- * `development version
- <http://github.com/mitsuhiko/flask/zipball/master#egg=Flask-dev>`_
|