flask-paginate
Simple paginate support for flask
What it is and what it does
flask-paginate is a lightweight Flask extension that generates HTML pagination controls for displaying paginated data in web templates. It handles the rendering of page links and optional pagination info (e.g., "Total 100 posts, displaying 20–30") and supports styling with multiple CSS frameworks. The package depends only on Flask and installs as a pure Python wheel with no compiled dependencies.
The typical workflow is to pass pagination parameters to the extension's rendering function, which outputs HTML that you insert into your template. The package is dormant—its last release was in April 2024 and no updates have been made since, though the repository itself has recent activity. It supports a wide range of Python versions from 2.6 through 3.11, though that breadth may reflect age rather than active testing.
Use it for:
- Render page navigation links in a Flask template when displaying a subset of database results.
- Display pagination info (total count, current range) alongside page links in a product listing or search results page.
- Add pagination UI to a data table or list view without writing custom HTML and link-generation logic.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Adds pagination UI components to Flask applications, generating HTML pagination links with support for multiple CSS frameworks.
Yes, if you need simple pagination UI in a Flask app and don't require recent updates. The package is stable, has no known vulnerabilities, and installs with zero friction. 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 patch it yourself.
Install
flask-paginate on PyPI
pip
pip install flask-paginateuv
uv add flask-paginatepoetry
poetry add flask-paginateInstalling flask-paginate
Before you install
Low friction: pure Python wheel with only Flask as a runtime dependency. Maintenance is dormant—last release was 854 days ago, though the repository remains active with a recent commit on 2024-12-23 and 287 stars.
License in practice
BSD-3-Clause is permissive; you can use this in commercial and proprietary projects with minimal restrictions, provided you include the license text.
Quickstart
pip install flask-paginate
from flask_paginate import Pagination
pagination = Pagination(page=1, total=100, per_page=20)
html = pagination.links
Verify before relying
- Which CSS frameworks are supported and whether they remain current with modern web standards.
- Whether the package works reliably with current Flask versions given the long gap since the last release.
Package facts
| License | BSD-3-Clause (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — Flask |
| Maintenance | dormant — 854 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 233,125/month — #9,044 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: flask_paginate-2024.4.12-py2.py3-none-any.whl
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
paginateDivides large lists or query results into…
permissive · top 5,000 on PyPI
fastapi-paginationAdds pagination support to FastAPI applications…
permissive · top 5,000 on PyPI
django-admin-inline-paginator-plusAdds pagination to Django admin inline forms,…
permissive · top 15,000 on PyPI
django-admin-inline-paginatorAdds pagination controls to Django admin inline…
permissive · top 5,000 on PyPI
FlaskFlask is a lightweight WSGI web application…
permissive · top 1,000 on PyPI
Flask-LimiterFlask-Limiter adds rate limiting to Flask…
permissive · top 1,000 on PyPI
Bootstrap-FlaskBootstrap-Flask provides Jinja macros that…
permissive · top 15,000 on PyPI
Flask-BootstrapFlask-Bootstrap packages Bootstrap CSS and…
permissive · top 15,000 on PyPI
Flask-MinifyFlask extension that automatically minifies…
permissive · top 15,000 on PyPI
jinja_partialsAdds a `render_partial()` function to Jinja2…
permissive · top 5,000 on PyPI