Packages
Flask-JSON adds convenient JSON response generation and error handling to Flask applications, with support for extended data types like datetime objects in JSON serialization.
Adds JSON Web Token (JWT) authentication to Flask applications, protecting routes and managing token lifecycles with features like refresh tokens, token revocation, and custom claims.
Install it if you need JWT authentication in Flask; the API is straightforward and the optional features are genuinely useful for production applications.
Flask-Limiter adds rate limiting to Flask applications, allowing you to enforce request quotas at the application, blueprint, route, or individual endpoint level.
Extracts request IDs from incoming HTTP requests (from load balancers or infrastructure) and injects them into Flask application logs for distributed tracing.
However, maintenance is dormant since 2019 with no recent commits—test compatibility with your Flask version before deploying to production.
Flask-Login handles user session management for Flask applications, providing login, logout, and session persistence without being tied to any specific database or permissions model.
Install it if you need straightforward session-based authentication; consider alternatives if you require active maintenance or modern authentication patterns like…
Flask-Mail adds email-sending functionality to Flask applications, handling SMTP configuration and message composition through a simple API.
Install it if your Flask app needs to send emails and you prefer a simple, Flask-native API over raw SMTP.
Flask-Marshmallow integrates Flask and marshmallow to serialize/deserialize Python objects into JSON with built-in support for URL generation and HATEOAS hyperlinking in APIs.
Install it if you're building a Flask API and want declarative schemas with built-in HATEOAS support.
Flask-Migrate handles SQLAlchemy database migrations for Flask applications using Alembic, exposing migration operations as `flask db` command-line commands.
Install it if you are building a Flask app with SQLAlchemy and need to manage schema changes over time.
Flask extension that automatically minifies HTML, JavaScript, CSS, and Less output from your application to reduce response size.
Install it if you want automatic minification of HTML, CSS, and JavaScript responses without manual configuration; the decorator and bypass options give you control…
Flask-Moment adds moment.js date and time formatting to Jinja2 templates, letting you render human-readable timestamps directly in your Flask application's HTML.
Install it if you need flexible date and time rendering in your Flask templates.
Flask-MongoEngine integrates MongoEngine document models with Flask, handling MongoDB connection management and providing WTForms model form generation for your MongoEngine documents.
However, it is dormant—last release 2020-11-21, last commit 2024-01-18—so it may lag behind current Flask or MongoEngine releases.
Flask-OAuthlib adds OAuth 1.0a and OAuth 2.0 client and provider support to Flask applications, enabling authentication with remote OAuth services and creation of your own OAuth providers.
Adds OpenID Connect authentication support to Flask applications, enabling secure user login through standards-compliant OpenID Connect providers.
Install it if you need OIDC authentication in Flask and are using a standards-compliant provider.
Builds REST APIs on Flask with automatic OpenAPI documentation and Pydantic-based request/response validation.
Provides the Stoplight Elements UI for displaying OpenAPI documentation in flask-openapi3 applications, enabling interactive API exploration and testing.
Adds RapiDoc as an interactive OpenAPI UI option to flask-openapi3 applications, enabling developers to browse and test API endpoints through a web interface.
Install only if you specifically prefer RapiDoc's interface; flask-openapi3 supports multiple UI plugins, so choose based on your documentation needs.
Provides Scalar UI integration for flask-openapi3, enabling interactive API documentation and testing through a Scalar-based web interface.
Provides Swagger UI integration for flask-openapi3, enabling interactive API documentation and testing directly in a web browser.
Adds OpenID authentication support to Flask web applications, integrating the legacy OpenID protocol for user login and identity verification.
Install only if you have an explicit requirement to support existing OpenID infrastructure.
Replaces Flask's default JSON encoder with orjson, a faster JSON serialization library, to speed up JSON request parsing and response generation in Flask applications.
However, dormant maintenance means you should verify compatibility with your Flask and orjson versions before deploying to production, and be prepared to maintain a…
Adds pagination UI components to Flask applications, generating HTML pagination links with support for multiple CSS frameworks.
However, be aware that it is dormant—no active maintenance for 854 days—so if you hit a bug or need compatibility with a new Flask version, you may need to fork or…
Flask-Paranoid detects and blocks session hijacking by validating that each request originates from the same IP address and user agent as the initial session, clearing the session if either changes.
Flask-Principal provides identity and permission management for Flask applications, enabling role-based access control and user identity tracking within web requests.
Adds Pydantic model validation to Flask route handlers, automatically parsing and validating query parameters, request bodies, form data, and URL path parameters.
However, note that maintenance is aging (235 days since last release); verify compatibility with your specific Flask and Pydantic versions before adopting.
Adds OpenAPI documentation generation and request/response validation to Flask applications using Pydantic models and Python annotations.
Flask-PyMongo integrates MongoDB database access into Flask applications through PyMongo, providing a configured connection object for querying and managing MongoDB collections.
Install it if you are building a Flask application that needs MongoDB support and prefer a lightweight, direct integration over an ORM.
Integrates Redis into Flask applications as a managed extension, providing a Flask-aware client that wraps the redis-py library with configuration through Flask's config system.
However, it has been dormant since 2019 and the license is undeclared—verify that the unclear license status is acceptable for your use case, and be aware that bug…
Flask middleware that automatically adds or validates an X-Request-ID header on all incoming requests, enabling request tracing through distributed systems.
Flask-RESTful provides decorators and utilities to build REST APIs on top of Flask, handling request parsing, response marshalling, and HTTP method routing with minimal boilerplate.
However, be aware that the package is dormant—no active maintenance or updates are expected.
Flask-RESTPlus adds decorators and tools to Flask for building REST APIs with automatic Swagger documentation and request/response validation.
Flask-RESTX extends Flask with decorators and tools to quickly build REST APIs with automatic Swagger documentation and schema validation.
Flask-Script provides command-line interface decorators and utilities for Flask applications, enabling you to write custom script commands for tasks outside your web application.
Install only if maintaining legacy code that already depends on it; for new projects, use Flask's native CLI support.
Flask-Security adds authentication, authorization, and user management to Flask applications, supporting multiple authentication methods including OAuth, WebAuthn, and multi-factor authentication.
Install it if you need to add user management and security features to a Flask app without implementing these systems yourself.
Adds user authentication, authorization, and role-based access control to Flask applications with support for multiple authentication methods including OAuth, WebAuthn, and multi-factor authentication.
Install it if you need user authentication and authorization in a Flask app and want to avoid the complexity of assembling and maintaining a custom solution.
Flask-Session adds server-side session storage to Flask applications, supporting multiple backends including Redis, Memcached, FileSystem, MongoDB, and SQLAlchemy.
However, the aging maintenance status means you should verify compatibility with your target Flask and Python versions before committing to production use.
Replaces Flask's default shell command with an IPython-powered interactive shell, adding syntax highlighting, tab-completion, and other IPython features to Flask development.
Provides a Flask integration to serve Silk icon assets within your application, making the icon set available as static resources.
Adds WebSocket support to Flask applications without requiring greenlet-based servers, working with the Flask development server and production deployments via Gunicorn, Eventlet, or Gevent.
Flask-SocketIO adds real-time bidirectional communication to Flask applications using WebSockets, allowing servers and clients to emit and receive events instantly.
Install it if you need real-time bidirectional communication in a Flask app.
Flask-SQLAlchemy integrates SQLAlchemy database operations into Flask applications, providing a simplified ORM interface with sensible defaults and Flask-aware helpers for common database tasks.