Flask
ELI5 — The Vibe Check
Flask is the lightweight Python web framework — the 'just enough' option. It doesn't come with an ORM, admin panel, or auth system by default. You add what you need. If FastAPI is too much and you want something tiny and flexible, Flask is your friend.
Real Talk
Flask is a lightweight, WSGI-compatible Python web framework that provides minimal core functionality (routing, request handling, templating) without enforcing project structure or requiring specific components. Highly extensible via plugins. The microframework predecessor to modern Python APIs.
Show Me The Code
from flask import Flask, jsonify
app = Flask(__name__)
@app.route('/hello')
def hello():
return jsonify({'message': 'Hello World'})
When You'll Hear This
"Flask is perfect for a small internal tool API." / "Add Flask-SQLAlchemy for database support."
Related Terms
Django
Django is the 'batteries included' Python web framework. It comes with an ORM, admin panel, auth system, form handling, and more — all built in.
FastAPI
FastAPI is a Python framework that's both blazing fast and auto-generates documentation for your API.
Python
Python is a programming language famous for being super readable — almost like writing in English.