Port variant | v12 |
Summary | Lightweight WSGI web application framework (3.12) |
BROKEN | |
Package version | 3.0.3 |
Homepage | No known homepage |
Keywords | python |
Maintainer | Python Automaton |
License | Not yet specified |
Other variants | v11 |
Ravenports | Buildsheet | History |
Ravensource | Port Directory | History |
Last modified | 10 APR 2024, 23:19:53 UTC |
Port created | 27 SEP 2017, 23:06:09 UTC |
single | # Flask Flask is a lightweight [WSGI][] web application framework. It is designed to make getting started quick and easy, with the ability to scale up to complex applications. It began as a simple wrapper around [Werkzeug][] and [Jinja][], and has become one of the most popular Python web application frameworks. Flask offers suggestions, but doesn't enforce any dependencies or project layout. It is up to the developer to choose the tools and libraries they want to use. There are many extensions provided by the community that make adding new functionality easy. [WSGI]: https://wsgi.readthedocs.io/ [Werkzeug]: https://werkzeug.palletsprojects.com/ [Jinja]: https://jinja.palletsprojects.com/ ## Installing Install and update from [PyPI][] using an installer such as [pip][]: ``` $ pip install -U Flask ``` [PyPI]: https://pypi.org/project/Flask/ [pip]: https://pip.pypa.io/en/stable/getting-started/ ## A Simple Example ```python # save this as app.py from 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) ``` ## Contributing For guidance on setting up a development environment and how to make a contribution to Flask, see the [contributing guidelines][]. [contributing guidelines]: https://github.com/pallets/flask/blob/main/CONTRIBUTING.rst ## Donate The Pallets organization develops and supports Flask and the libraries it uses. In order to grow the community of contributors and users, and allow the maintainers to devote more time to the projects, [please donate today][]. [please donate today]: https://palletsprojects.com/donate |
Build (only) |
python312:dev:std python-pip:single:v12 autoselect-python:single:std |
Build and Runtime | python312:primary:std |
Runtime (only) |
python-Werkzeug:single:v12 python-Jinja2:single:v12 python-itsdangerous:single:v12 python-click:single:v12 python-blinker:single:v12 |
main | mirror://PYPIWHL/61/80/ffe1da13ad9300f87c93af113edd0638c75138c42a0994becfacac078c06 |
python-Flask-Cors:v12 | Cross Origin Resource Sharing extension (3.12) |
python-Flask-RESTful:v12 | Simple framework for creating REST APIs (3.12) |
python-flask-swagger:v12 | Extract swagger specs from flask project (3.12) |