Packages
FastAPI middleware that integrates Keycloak for OIDC-based authentication and authorization, validating access tokens and enforcing role-based access control on endpoints.
However, verify the license before use in commercial settings, and note that maintenance is aging (215 days since last release)—acceptable for stable middleware but…
Provides a lifespan manager for FastAPI that allows multiple startup and shutdown handlers to coexist in a single application, simplifying management of resources like database connections and caches.
Adds request rate limiting to FastAPI routes using configurable per-second or per-interval limits, with support for custom request identifiers and callback handlers.
Install it if your use case fits the built-in features; consider alternatives if you need distributed rate limiting across multiple instances.
Adds session and token-based user authentication to FastAPI applications using JWT, similar to Flask-Login's approach.
However, note the aging maintenance status—verify compatibility with your fastapi version and consider whether the package receives updates for security patches or…
Sends emails and attachments asynchronously from FastAPI applications using SMTP, with support for HTML templates, bulk messaging, and background task integration.
Install it if you need to send email from a FastAPI application.
Automatically exposes FastAPI endpoints as Model Context Protocol (MCP) tools for LLM integration, with built-in authentication support using FastAPI's dependency system.
However, note the aging maintenance status (last release 382 days ago)—evaluate whether the current feature set and stability meet your timeline, and monitor the…
Replaces FastAPI's CDN-dependent documentation UI with locally-served Swagger and Redoc assets, enabling API docs to work on disconnected or air-gapped networks.
Adds pagination support to FastAPI applications with utilities for defining pagination parameters and returning paginated responses across multiple database frameworks.
Implements the Poe protocol using FastAPI, allowing you to build and deploy bots that integrate with the Poe platform.
However, note that maintenance is aging, so verify compatibility with your fastapi and Python versions before committing to production use.
Integrates pyinstrument profiling into FastAPI as middleware to measure per-request performance with configurable sampling, thresholds, and output formats.
Install it if you need per-request profiling or a runtime-configurable performance dashboard for FastAPI.
Provides utilities and base classes to reduce boilerplate when building FastAPI applications, including resource-based CRUD patterns, class-based views, and common helper types.
Adds session authentication to FastAPI applications using dependency injection, with pluggable backends and frontends for storing and retrieving session data.
This package is a deprecated migration shim that depends solely on fastapi; it exists only to redirect old projects and should not be installed.
Integrates Socket.IO real-time bidirectional communication into FastAPI applications, allowing you to add WebSocket-based event handlers alongside HTTP routes.
However, the abandoned status since 2023 means you should verify compatibility with your target FastAPI and python-socketio versions, and be prepared to fork or patch…
Provides middleware and helpers to integrate SQLAlchemy database sessions with FastAPI applications, enabling both request-scoped and background task database access.
FastAPI plugin that adds single sign-on (SSO) authentication to your application using OAuth providers like Google, Facebook, Microsoft, and others.
Provides ready-to-use user registration, login, password reset, and email verification routes for FastAPI applications, with pluggable authentication backends and customizable database support.
Provides a SQLAlchemy ORM adapter for FastAPI Users, enabling user registration and authentication in FastAPI applications with database persistence via SQLAlchemy.
However, the 587-day release gap and dormant maintenance status mean you should verify compatibility with your specific versions of fastapi-users and sqlalchemy…
Provides reusable utilities for FastAPI applications including scheduled task decorators, TTL-based LRU caching, request timing middleware, session management, and a CLI tool for project scaffolding.
However, the aging maintenance status (507 days since last release) and Alpha classification mean you should verify that features work with your FastAPI version and…
Provides reusable utilities and base classes for FastAPI development, including class-based views, CRUD resources, timing middleware, and common model/settings patterns to reduce boilerplate.
However, be aware that maintenance is aging—the last release was in 2024-11-11 with no commits for 641 days—so evaluate whether its utilities align with your…
Adds API versioning to FastAPI applications by decorating endpoints with version numbers and generating separate versioned URL paths and documentation for each version.
Consider it a working solution for legacy projects or prototypes, not for new production systems expecting long-term support.
Fastar provides high-performance tar archive creation and extraction with support for gzip and Zstandard compression, wrapping Rust libraries for speed.
fastavro reads and writes Apache Avro files with C-extension performance, supporting schemaless operations, multiple codecs, and schema resolution.
Install it if you work with Avro files or need fast serialization of structured data.
Performs fast hierarchical agglomerative clustering from distance matrices or vector data, replacing scipy.cluster.hierarchy functions with optimized C++ implementations.
fastcore extends Python with functional programming tools, enhanced list operations, parallel execution utilities, and decorators for cleaner class and function definitions.
Fastcov generates code coverage reports in JSON, LCOV, and SonarQube XML formats by parallelizing gcov execution, designed as a faster alternative to lcov for C/C++ projects.
fastcrc computes CRC checksums (8, 16, 32, and 64-bit variants) using multiple algorithm implementations, with a focus on speed through Rust-backed computation.
Install it if you need CRC checksums and want compiled-speed performance; skip it if you only need Python's built-in hashlib.crc32 or can tolerate pure-Python…
FastCRUD provides async CRUD operations and automatic endpoint generation for FastAPI applications, built on SQLAlchemy 2.0 with support for joins, dynamic filtering, sorting, and both offset and cursor-based pagination.
The main gotcha is the requirement for async SQLAlchemy and Python 3.10+; if your project uses synchronous SQLAlchemy or older Python, it won't fit.
Fastdiff provides a fast diff algorithm implementation using WebAssembly via Wasmer, with a pure Python fallback for compatibility.
fastdigest provides a Rust-backed t-digest implementation for computing streaming quantiles, percentiles, and online statistics on large or distributed datasets with minimal memory overhead.
Install it if you need streaming quantile estimation or online statistics on large datasets and want a fast, dependency-free solution.
Downloads, verifies, and extracts archives from URLs with automatic caching, hash validation, and update detection.
fastdtw computes approximate Dynamic Time Warping (DTW) alignments between sequences with linear O(N) time and memory complexity, returning both the distance and alignment path.
Provides fast elliptic curve digital signature operations (signing and verification) using NIST and Certicom curves, with no nonce reuse and constant-time point multiplication to mitigate timing attacks.
However, the author cautions against using it for security-critical applications without additional review—use an audited library like libsodium or cryptography for…
FastEmbed generates vector embeddings for text, images, and multimodal content using ONNX Runtime models, supporting dense, sparse, late-interaction, and reranking approaches without requiring GPU or large PyTorch dependencies.
Provides cross-platform locks for synchronizing access between threads and processes, with both exclusive and reader-writer lock variants matching the threading.Lock API.
Install it if you need inter-process locks or reader-writer patterns; the low friction and permissive license make it a safe choice.
Faster-COCO-Eval provides a high-performance replacement for COCO metric evaluation that accelerates object detection, instance segmentation, and keypoint detection result computation through C++ optimizations while maintaining a compatible API.
Encodes and decodes Ethereum ABI data structures with C-compiled performance, providing a faster drop-in replacement for eth-abi with compatible exception handling.
Provides Ethereum utility functions for address validation, type conversions, and encoding operations, implemented in C for faster execution than the original eth-utils.
Transcribes audio to text using OpenAI's Whisper model, reimplemented with CTranslate2 for faster inference and lower memory use than the original.
Reads Excel files (.xlsx, .xls) into Python with zero-copy data exchange via the Arrow PyCapsule Interface, enabling direct use with compatible libraries without intermediate conversions.