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

Merge pull request #2624 from pallets/metadataDavid Lordbefore adoption4309c7c

lines 1–38why, one step back
1Flask
2=====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!'38

Fix logs for simple example on readmeHsiaoming Yangbefore adoptioncc51ace

line 39why, one step back
39.. code-block:: text

Merge pull request #2624 from pallets/metadataDavid Lordbefore adoption4309c7c

line 40why, one step back
40

Merge pull request #2799 from bast/radovan/envDavid Lordbefore adoptiond22491a

line 41why, one step back
41 $ env FLASK_APP=hello.py flask run

Fix logs for simple example on readmeHsiaoming Yangbefore adoptioncc51ace

lines 42–43why, one step back
42 * Serving Flask app "hello"
43 * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)

Merge pull request #2624 from pallets/metadataDavid Lordbefore adoption4309c7c

lines 44–45why, one step back
44
45

Merge pull request #2861 from jwflory/fix/uwsgi-docsDavid Lordbefore adoption345685c

lines 46–54why, one step back
46Contributing
47------------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.rst5354

add donate linkDavid Lordbefore adoption2ede0b8

lines 55–65why, one step back
55Donate
56------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=206465

Merge pull request #2624 from pallets/metadataDavid Lordbefore adoption4309c7c

lines 66–69why, one step back
66Links
67-----6869* Website: https://www.palletsprojects.com/p/flask/

Update README.rstDavid Lordbefore adoptiona2ea186

line 70why, one step back
70* Documentation: http://flask.pocoo.org/docs/

use name of licenseDavid Lordbefore adoptiond0214c9

line 71why, one step back
71* License: `BSD <https://github.com/pallets/flask/blob/master/LICENSE>`_

Merge pull request #2624 from pallets/metadataDavid Lordbefore adoption4309c7c

lines 72–74why, one step back
72* Releases: https://pypi.org/project/Flask/
73* Code: https://github.com/pallets/flask74* Issue tracker: https://github.com/pallets/flask/issues

Merge pull request #3203 from vtbassmatt/patch-1David Lordbefore adoptiond68abe9

line 75why, one step back
75* Test status: https://dev.azure.com/pallets/pallets/_build?definitionId=2

Merge pull request #2624 from pallets/metadataDavid Lordbefore adoption4309c7c

line 76why, one step back
76* Test coverage: https://codecov.io/gh/pallets/flask

Merge branch '1.0.x'David Lordbefore adoption2236ba9

line 77why, one step back
77* Official chat: https://discord.gg/t6rrQZH

Merge pull request #2624 from pallets/metadataDavid Lordbefore adoption4309c7c

lines 78–82why, one step back
78
79.. _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/