flask
Installation
SKILL.md
Flask
Flask is a lightweight WSGI web application framework. It is designed to make getting started quick and easy, with the ability to scale up to complex applications. Flask 3.0 (2025) fully supports async routes.
When to Use
- Microservices: Minimal boilerplate makes it great for small services.
- Flexibility: You validly choose your ORM (SQLAlchemy, Peewee) and Auth provider.
- Data Science APIs: The standard for wrapping ML models (PyTorch/TensorFlow) in an API.
Quick Start (Async)
from flask import Flask
import asyncio
app = Flask(__name__)