Packages
A flake8 plugin that detects and flags old-style string formatting (% and .format) to encourage migration to f-strings in Python code.
However, maintenance is dormant (last release 1479 days ago), so compatibility with very recent flake8 versions is uncertain—verify it works with your flake8 version…
A flake8 plugin that detects uses of os and os.path functions that have modern pathlib equivalents, flagging them with specific rule codes for replacement.
However, be aware that the package is abandoned—it has not been updated since 2022-08-14.
A flake8 extension that detects poorly named variables by flagging single-letter names, overly generic names like 'result' or 'value', and names that shadow Python builtins.
Install it if your team values explicit variable naming; skip it if you prefer flexibility in naming conventions or use a different linter.
A pytest plugin that automatically reruns failing tests up to a configurable number of times, allowing tests that depend on unreliable components to pass without being skipped or removed.
Converts Python cProfile statistics into interactive flamegraph visualizations, either as native SVG or as trace logs compatible with flamegraph.pl.
FLAML automates machine learning workflows by selecting models and optimizing hyperparameters under resource constraints, supporting both standard ML tasks and custom function tuning.
Flasgger extracts OpenAPI specifications from Flask views and serves an embedded Swagger UI for interactive API documentation and request validation.
However, install only if you can verify compatibility with your Flask and Python versions—the package has been dormant since 2023-05-18 and may have unresolved issues…
Provides optimized GPU implementations of scaled dot-product attention (FlashAttention and FlashAttention-2) that reduce memory usage and improve speed compared to standard attention, with support for NVIDIA CUDA and AMD ROCm.
GPU-accelerated attention mechanism implementation using CuTeDSL for Hopper and Blackwell GPUs, optimizing the core computational bottleneck in transformer models.
However, it is in alpha status and only useful for specific GPU hardware; it will not benefit users on other GPU architectures or CPU-only setups.
Provides pre-compiled GPU kernel binaries (cubins) for FlashInfer's high-performance attention, GEMM, and MoE operations across diverse NVIDIA GPU architectures.
FlashInfer provides optimized GPU kernels for LLM inference operations—attention, GEMM, and mixture-of-experts—with support for multiple GPU architectures and low-precision quantization.
FlashOptim provides drop-in replacements for PyTorch optimizers (SGD, Adam, Lion variants) that reduce training memory by quantizing optimizer states, master weights, and gradients while maintaining model convergence.
However, it is early-stage (Alpha), Linux/CUDA-only, and the first optimizer step incurs Triton JIT overhead.
FlashRank re-ranks search results using lightweight cross-encoder and LLM-based models, optimized for speed and minimal resource overhead in retrieval pipelines.
Install it if you're building retrieval-augmented generation systems and want to improve result quality without adding significant latency or infrastructure overhead.
Extracts or replaces keywords in text using the FlashText algorithm, which is based on Aho-Corasick and Trie data structures and designed to be faster than regex for bulk keyword operations.
Flask is a lightweight WSGI web application framework for building web applications in Python, from simple single-page sites to complex multi-route applications.
Flask-Admin adds a customizable admin interface to Flask applications with auto-generated CRUD views, supporting SQLAlchemy, MongoDB, Peewee, file management, and Redis consoles.
Install it if you want to avoid writing boilerplate admin code; skip it only if your admin needs are minimal or you prefer a different architectural approach.
Flask-Alembic integrates Alembic database migrations into Flask applications, providing CLI commands and Python APIs to create, manage, and apply schema changes without writing raw SQL or configuration files.
Flask-API adds browsable web interfaces and content negotiation to Flask applications, making it easier to build and test REST APIs directly in the browser.
flask-apispec decorates Flask view functions and classes to automatically parse requests with webargs, format responses with marshmallow, and generate Swagger documentation via apispec.
Flask App Builder is a framework that generates database-backed web applications with automatic CRUD interfaces, role-based security, and REST APIs from SQLAlchemy models.
Install it if you need rapid CRUD scaffolding and role-based security; skip it if you prefer building views and APIs from scratch or need a headless-only approach.
Flask-APScheduler integrates APScheduler with Flask, enabling you to define and manage scheduled jobs through Flask configuration and a REST API.
Integrates asset management into Flask applications, providing merging, minifying, and compiling of CSS and JavaScript files through the webassets library.
Flask-AutoIndex generates directory listing pages for Flask applications, similar to Apache's mod_autoindex but with customizable HTML output.
Integrates AWS Cognito user authentication into Flask applications, handling sign-in redirects, token retrieval, and request-level claim validation.
Adds internationalization (i18n) and localization (l10n) support to Flask applications using Babel and pytz for date, time, and message translation.
Flask-BasicAuth adds HTTP basic access authentication to Flask applications, letting you protect views or entire applications with username and password credentials.
Flask-Bcrypt wraps the bcrypt password-hashing library for use in Flask applications, providing secure password hashing and verification methods designed to resist brute-force attacks.
Install it if you are building a Flask application that requires user authentication.
Flask-Bootstrap packages Bootstrap CSS and JavaScript into a Flask extension, providing pre-built templates and CDN links to add Bootstrap styling to web applications with minimal setup.
Flask-Caching adds caching support to Flask applications, allowing you to cache view functions, templates, and arbitrary data using multiple backend storage options.
Install it if you need to cache view functions, templates, or arbitrary data in a Flask app.
Starts a Cloudflare TryCloudflare tunnel for a Flask app, exposing it to the internet with a public URL without manual configuration.
Flask-Cognito integrates AWS Cognito JWT authentication into Flask applications, allowing you to protect routes by validating tokens and mapping Cognito identities to your application's user model.
However, maintenance is dormant (latest release 2024-04-13), so verify compatibility with your Flask version and check whether cognitojwt and Cognito's API have evolved.
Flask-Compress automatically compresses Flask application responses using gzip, deflate, brotli, or zstd based on client capabilities, reducing bandwidth and improving load times.
Flask-CORS handles Cross-Origin Resource Sharing (CORS) headers in Flask applications, enabling safe cross-origin AJAX requests with configurable per-route or application-wide policies.
Install it if you need CORS support in a Flask application.
Flask-Dance simplifies OAuth authentication in Flask applications by providing pre-built integrations with multiple OAuth providers and handling the token exchange flow automatically.
Install it if you need straightforward OAuth integration; avoid it only if you require active upstream development or support for very recent OAuth extensions.
Flask-Datadog provides a Flask extension to access DogStatsd metrics and the Datadog API from within a Flask application, with an API compatible with Flask-StatsD.
Flask-DebugToolbar injects a debugging sidebar into rendered HTML pages when Flask debug mode is enabled, displaying configurable panels of information about requests, templates, and application state.
Flask-Executor wraps Python's concurrent.futures module to provide a lightweight in-process task queue for Flask applications, letting you submit background tasks without separate worker processes.
Adds a GraphQL endpoint to Flask applications, allowing you to serve GraphQL queries alongside your existing Flask routes with optional GraphiQL browser interface for testing.
Adds HTTP Basic, Digest, and Token authentication decorators to Flask routes, protecting endpoints with standard credential verification.
Integrates dependency injection into Flask applications using the Injector framework, allowing you to inject dependencies into views, handlers, and other Flask components without relying on global objects.
However, the dormant maintenance status (last release 2023-07-27) means you should verify compatibility with your target Flask and Injector versions before committing.