DESCRIPTION.rst 694 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. Flask
  2. -----
  3. Flask is a microframework for Python based on Werkzeug, Jinja 2 and good
  4. intentions. And before you ask: It's BSD licensed!
  5. Flask is Fun
  6. ````````````
  7. .. code:: python
  8. from flask import Flask
  9. app = Flask(__name__)
  10. @app.route("/")
  11. def hello():
  12. return "Hello World!"
  13. if __name__ == "__main__":
  14. app.run()
  15. And Easy to Setup
  16. `````````````````
  17. .. code:: bash
  18. $ pip install Flask
  19. $ python hello.py
  20. * Running on http://localhost:5000/
  21. Links
  22. `````
  23. * `website <http://flask.pocoo.org/>`_
  24. * `documentation <http://flask.pocoo.org/docs/>`_
  25. * `development version
  26. <http://github.com/mitsuhiko/flask/zipball/master#egg=Flask-dev>`_