๐ŸŽ 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

Decorator
A function that modifies or extends the behavior of another function or class without changing its source code.
Enum
A built-in class for creating enumerated constants โ€” named groups of related values that improve code readability.
Pandas
A powerful data analysis and manipulation library providing DataFrames and tools for working with structured data.
Celery
A distributed task queue for Python that enables asynchronous processing of background jobs and scheduled tasks.
Python Package
A directory containing Python modules and an __init__.py file, providing a way to organize and distribute reusable code.
Scikit-learn
The most popular Python machine learning library providing simple and efficient tools for data analysis and modeling.
View All Python Terms โ†’