Flask logo
framework

Install Flask

The lightweight Python micro-framework for building web applications and APIs with flexibility and full control.

Key Features

Lightweight and flexible
Jinja2 templates
WSGI compliant
RESTful request handling
Extensive extensions
Easy testing

Use Cases

REST APIsMicroservicesPrototypes and MVPsMachine learning APIsIoT backendsWebhooks and integrations

Stacks with Flask

Frequently Asked Questions

Never use the Flask development server in production. Instead, use Gunicorn as the WSGI server with Nginx as a reverse proxy. Run "gunicorn -w 4 -b 127.0.0.1:8000 app:app" and configure Nginx to proxy requests. Use systemd to manage the process.
Flask logo

Ready to Deploy Flask?

Get Server Compass and deploy Flask to any VPS in minutes. One-time payment, no monthly fees.