encyclopegia.org

Flask (web framework)

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.

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. ==Components== The microframework Flask is part of the Pallets Projects (formerly Pocoo), and based on several others of them, all under a BSD license. from flask import Flask app = Flask(__name__) @app.route("/") def hello() -> str: return "Hello World" if __name__ == "__main__": app.run() from flask import Flask, render_template app = Flask(__name__) @app.route("/") def message(): message = "Hello World!" return render_template("index.html",message=message)

References

No reference rows published for this article.

Cite this article

MLA

"Flask (web framework)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/flask-web-framework. Accessed 24 November 2026.

Chicago

"Flask (web framework)." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/flask-web-framework.

APA

encyclopegia.org. (2026). Flask (web framework). Retrieved November 24, 2026, from https://encyclopegia.org/wiki/flask-web-framework

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

web server

stub · references available

FLASK

stub · references available

web beacon

stub · references available

web syndication

stub · references available

software framework

stub · references available

laboratory flask

stub · references available

Enterprise Objects Framework

stub · references available

web development

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1356809434 · 0.5 · snapshot enwiki-001356809434

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.