Flask Web Framework
Jump to navigation
Jump to search
A Flask Web Framework is a Python-based microframework.
- Context:
- It can be based on
- Werkzeug: A utility library for the Python programming language for Web Server Gateway Interface (WSGI) applications. Werkzeug can instantiate objects for request, response, and utility functions.
- Jinja: A template engine for Python. Similar to the Django web framework, it handles templates in a sandbox.
- MarkupSafe: A string handling library for Python. The eponymous MarkupSafe type extends the Python string type and marks its contents as "safe".
- ItsDangerous: A safe data serialization library for Python. It is used to store the session of a Flask application in a cookie without allowing users to tamper with the session contents.
- …
- …
- It can be based on
- Example(s):
- Flask, v2.3.2, 2023-05 [1].
- Flask, v2.0.0, 2021-05 [2].
- Flask, v1.0.0, 2018-03 [3].
https://pypi.org/project/Flask/#history
- …
- Counter-Example(s):
- Django Framework: A full-stack web framework that is known for its speed and scalability.
- Dash Framework: A Python framework for building interactive data visualizations and dashboards.
- Streamlit Framework: A Python framework for creating and sharing data science apps without writing any boilerplate code.
- Web2py Framework: Web2py is a full-stack web framework that is similar to Django in terms of features and functionality. It is a good choice for developing complex web applications quickly and easily.
- …
- See: Microframework, Database, Object–Relational_mapping.
References
2023
- (Wikipedia, 2023) ⇒ https://en.wikipedia.org/wiki/Flask_(web_framework) Retrieved:2023-5-18.
- Flask is a micro web framework written in Python. It is classified as a microframework because it does not require particular tools or libraries. It has no database abstraction layer, form validation, or any other components where pre-existing third-party libraries provide common functions. However, Flask supports extensions that can add application features as if they were implemented in Flask itself. Extensions exist for object-relational mappers, form validation, upload handling, various open authentication technologies and several common framework related tools. Applications that use the Flask framework include Pinterest and LinkedIn. [1] [2]