--- id: flask-paginate version: "2024.4.12" license: BSD-3-Clause license_treatment: permissive maintenance: dormant --- # flask-paginate — Simple paginate support for flask License: permissive · Maintenance: dormant · Downloads: 233.1K/mo ## 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 above — 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 pip install flask-paginate uv add flask-paginate poetry add flask-paginate ## Installing 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: unspecified - Install friction: low - Maintenance: dormant - Downloads: 233.1K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags flask pagination, paginate flask templates, pagination links html, flask page navigation, pagination ui framework, flask-extension, pagination-ui [View on SkillFed](https://skillfed.io/packages/flask-paginate) · [View on PyPI](https://pypi.org/project/flask-paginate/)