README.md
This file
Path
README.md
53 lines · 1.6 KiB · Markdown
Last changed by
Merge branch 'stable'David Lordbefore adoption85c5d93
History of this fileTake it
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354<div align="center"><img src="https://raw.githubusercontent.com/pallets/flask/refs/heads/stable/docs/_static/flask-name.svg" alt="" height="150"></div>
# Flask
Flask is a lightweight [WSGI] web application framework. It is designedto make getting started quick and easy, with the ability to scale up tocomplex applications. It began as a simple wrapper around [Werkzeug]and [Jinja], and has become one of the most popular Python webapplication frameworks.
Flask offers suggestions, but doesn't enforce any dependencies orproject layout. It is up to the developer to choose the tools andlibraries they want to use. There are many extensions provided by thecommunity that make adding new functionality easy.
[WSGI]: https://wsgi.readthedocs.io/[Werkzeug]: https://werkzeug.palletsprojects.com/[Jinja]: https://jinja.palletsprojects.com/
## A Simple Example
```python# save this as app.pyfrom flask import Flask
app = Flask(__name__)
@app.route("/")def hello(): return "Hello, World!"```
```$ flask run * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)```
## Donate
The Pallets organization develops and supports Flask and the librariesit uses. In order to grow the community of contributors and users, andallow the maintainers to devote more time to the projects, [pleasedonate today].
[please donate today]: https://palletsprojects.com/donate
## Contributing
See our [detailed contributing documentation][contrib] for many ways tocontribute, including reporting issues, requesting features, asking or answeringquestions, and making PRs.
[contrib]: https://palletsprojects.com/contributing/