๐ŸŽ New User? Get 20% off your first purchase with code NEWUSER20 ยท โšก Instant download ยท ๐Ÿ”’ Secure checkout Register Now โ†’
Menu

Categories

Python Beginner

What is Flask?

A lightweight web framework for Python that provides essentials for building web applications without imposing structure.

Flask is a micro-framework โ€” it provides URL routing, request handling, templates (Jinja2), and development server, but leaves choices like database, forms, and authentication to the developer.

A basic Flask app is just a few lines: create an app, define routes with @app.route(), and return responses. Extensions add functionality: Flask-SQLAlchemy (ORM), Flask-Login (auth), Flask-WTF (forms). Flask is ideal for APIs, prototypes, and applications where you want full control.

Related Terms

Poetry
A modern Python dependency management and packaging tool that handles virtual environments, locking, and publishing.
List Comprehension
A concise syntax for creating new lists by applying an expression to each item in an existing iterable.
Pytest
A testing framework for Python that simplifies writing and running tests with powerful features like fixtures and parametrize.
FastAPI
A modern, high-performance Python web framework for building APIs with automatic OpenAPI documentation and type validation.
Python Context Variable
A variable that maintains separate values for each execution context, enabling implicit state passing in async code without global variables.
Python Wheel
A built distribution format (.whl) that allows faster installation of Python packages by avoiding the need for compilation.
View All Python Terms โ†’