Skip to content
Myr

README.rst

This file

Path

README.rst

82 lines · 2.2 KiB

Last changed by

Merge branch '1.0.x'David Lordbefore adoption953284a

History of this file

Take it

1Flask2=====34Flask is a lightweight `WSGI`_ web application framework. It is designed5to make getting started quick and easy, with the ability to scale up to6complex applications. It began as a simple wrapper around `Werkzeug`_7and `Jinja`_ and has become one of the most popular Python web8application frameworks.910Flask offers suggestions, but doesn't enforce any dependencies or11project layout. It is up to the developer to choose the tools and12libraries they want to use. There are many extensions provided by the13community that make adding new functionality easy.141516Installing17----------1819Install and update using `pip`_:2021.. code-block:: text2223    pip install -U Flask242526A Simple Example27----------------2829.. code-block:: python3031    from flask import Flask3233    app = Flask(__name__)3435    @app.route('/')36    def hello():37        return 'Hello, World!'3839.. code-block:: text4041    $ env FLASK_APP=hello.py flask run42     * Serving Flask app "hello"43     * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)444546Contributing47------------4849For guidance on setting up a development environment and how to make a50contribution to Flask, see the `contributing guidelines`_.5152.. _contributing guidelines: https://github.com/pallets/flask/blob/master/CONTRIBUTING.rst535455Donate56------5758The Pallets organization develops and supports Flask and the libraries59it uses. In order to grow the community of contributors and users, and60allow the maintainers to devote more time to the projects, `please61donate today`_.6263.. _please donate today: https://psfmember.org/civicrm/contribute/transact?reset=1&id=20646566Links67-----6869* Website: https://www.palletsprojects.com/p/flask/70* Documentation: http://flask.pocoo.org/docs/71* License: `BSD <https://github.com/pallets/flask/blob/master/LICENSE>`_72* Releases: https://pypi.org/project/Flask/73* Code: https://github.com/pallets/flask74* Issue tracker: https://github.com/pallets/flask/issues75* Test status: https://dev.azure.com/pallets/pallets/_build?definitionId=276* Test coverage: https://codecov.io/gh/pallets/flask77* Official chat: https://discord.gg/t6rrQZH7879.. _WSGI: https://wsgi.readthedocs.io80.. _Werkzeug: https://www.palletsprojects.com/p/werkzeug/81.. _Jinja: https://www.palletsprojects.com/p/jinja/82.. _pip: https://pip.pypa.io/en/stable/quickstart/