{"categories":[{"label":"Dynamic Content","url":"https://skillfed.io/packages/category/internet-www-http-dynamic-content"}],"enrichment":{"capability":"Adds pagination support to FastAPI applications with utilities for defining pagination parameters and returning paginated responses across multiple database frameworks.","skillfed_tags":["fastapi-extension","orm-agnostic","async-ready"],"use_cases":["Build REST APIs that return large datasets in manageable chunks without loading all records into memory.","Add cursor-based pagination to endpoints querying SQLAlchemy ORM models or other SQL databases.","Implement page-based pagination for in-memory lists or NoSQL database queries with automatic response formatting.","Generate OpenAPI documentation automatically for paginated endpoints without manual schema definition.","Support async database queries with pagination across Tortoise ORM or PyMongo without blocking."],"what_it_does":"fastapi-pagination is a utility library that integrates pagination into FastAPI applications by providing a Page return type and paginate function to handle subset selection and response formatting. It abstracts away the common logic needed to implement pagination across endpoints, supporting both page-based and cursor-based strategies.\n\nThe library works with FastAPI's dependency injection and async/await patterns, and includes integrations for popular database libraries like SQLAlchemy to avoid loading entire result sets into memory. You define your endpoint's return type as Page[YourModel], call paginate on your data or query, and the library handles generating the paginated response with metadata. It requires Python 3.10 or higher and depends on fastapi, pydantic, and typing-extensions.","worth_installing":"Yes. Active maintenance, low install friction, permissive MIT license, and no known vulnerabilities make this a safe choice. The library solves a common FastAPI problem with minimal dependencies and integrates cleanly with popular databases. Install if you need pagination in FastAPI endpoints."},"id":"fastapi-pagination","links":{"html":"https://skillfed.io/packages/fastapi-pagination","md":"https://skillfed.io/packages/fastapi-pagination.md","pypi":"https://pypi.org/project/fastapi-pagination/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-28","license_spdx":"MIT","license_treatment":"permissive","name":"fastapi-pagination","python_support":"supports_current","summary":"FastAPI pagination"},"popularity":{"monthly_downloads":3932953,"position":2445,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.15.16"}
