Skip to content
UPEEC

Flask

A small, flexible micro-framework — start with one file and add extensions as needed.

Beginner
Comments 0
from flask import Flask
app = Flask(__name__)

@app.get("/")
def home():
    return {"status": "ok"}

Extensions: Flask-SQLAlchemy, Flask-Login, Flask-WTF.

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.