Skip to content
Myr

README.rst

This file

Path

README.rst

80 lines · 2.0 KiB

Last changed by

remove old linksDavid Lordbefore adoptionf139024

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.1415.. _WSGI: https://wsgi.readthedocs.io/16.. _Werkzeug: https://werkzeug.palletsprojects.com/17.. _Jinja: https://jinja.palletsprojects.com/181920Installing21----------2223Install and update using `pip`_:2425.. code-block:: text2627    $ pip install -U Flask2829.. _pip: https://pip.pypa.io/en/stable/getting-started/303132A Simple Example33----------------3435.. code-block:: python3637    # save this as app.py38    from flask import Flask3940    app = Flask(__name__)4142    @app.route("/")43    def hello():44        return "Hello, World!"4546.. code-block:: text4748    $ flask run49      * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)505152Contributing53------------5455For guidance on setting up a development environment and how to make a56contribution to Flask, see the `contributing guidelines`_.5758.. _contributing guidelines: https://github.com/pallets/flask/blob/main/CONTRIBUTING.rst596061Donate62------6364The Pallets organization develops and supports Flask and the libraries65it uses. In order to grow the community of contributors and users, and66allow the maintainers to devote more time to the projects, `please67donate today`_.6869.. _please donate today: https://palletsprojects.com/donate707172Links73-----7475-   Documentation: https://flask.palletsprojects.com/76-   Changes: https://flask.palletsprojects.com/changes/77-   PyPI Releases: https://pypi.org/project/Flask/78-   Source Code: https://github.com/pallets/flask/79-   Issue Tracker: https://github.com/pallets/flask/issues/80-   Chat: https://discord.gg/pallets