paginate
Divides large result sets into pages for easier browsing
Decision gist · record as of 2026-08-14
Yes, if you need simple, framework-agnostic pagination for lists or query results and can accept dormant maintenance. The library has no dependencies, low install friction, and a permissive license. However, verify compatibility with your Python version before relying on it in new projects, given the lack of recent updates and unspecified Python support.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction; no runtime dependencies.
- Dormant maintenance status—last release was 719 days ago, though the repository remains active with 79 stars and no recent commits.
License · maintenance · safety
MIT (permissive) — MIT license (permissive); you may use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
last release 2024-08-25 (719 days) · last repo commit 2024-08-25 · 79 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 14,325,648 downloads/mo, #1,235 on PyPI
Alternatives
Verify before relying
from paginate import Page
p = Page(items, page=1, items_per_page=10, item_count=len(items))
html = p.pager(pattern='$link_first $link_previous ~2~ $link_next $link_last', url='http://example.com?page=$page')- Whether the package works reliably with modern Python versions (requires_python is unspecified in metadata)
- Current state of the repository and whether dormancy indicates abandonment or stable maturity
What it is and what it does
Paginate is a framework-agnostic pagination library that breaks large lists or query results into fixed-size pages. It provides a Page class that manages page state, calculates ranges, and generates HTML markup or link metadata for navigation controls. The library supports customization through wrapper classes to work with different data sources (lists, SQLAlchemy queries, Elasticsearch results) and allows you to override link generation and HTML formatting to match your template or UI framework.
Originally part of WebHelpers and tightly coupled to Pylons, this standalone version aims to work independently of any web framework. It handles the math of pagination—calculating which items belong on each page, generating first/previous/next/last links, and optionally rendering HTML with configurable attributes. You can either use the built-in pager() method to generate HTML directly or call link_map() to get a dictionary of link information for use in custom templates.
Use it for
- Display search results 10 at a time with first/previous/next/last navigation links in a web application
- Paginate database query results without loading the entire result set into memory by wrapping the query object
- Generate pagination UI for a REST API that returns large lists, using link_map() to build custom JSON responses
- Build custom pagination markup for Bootstrap or Tailwind by passing a link_tag callable to override default HTML generation
- Extend the Page class to paginate results from Elasticsearch, Solr, or other datastores via a custom wrapper class
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need simple, framework-agnostic pagination for lists or query results and can accept dormant maintenance.
The library has no dependencies, low install friction, and a permissive license. However, verify compatibility with your Python version before relying on it in new projects, given the lack of recent updates and unspecified Python support.
Install
paginate on PyPI
Before you install
Low install friction; no runtime dependencies. Dormant maintenance status—last release was 719 days ago, though the repository remains active with 79 stars and no recent commits.
License in practice
MIT license (permissive); you may use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
from paginate import Page
p = Page(items, page=1, items_per_page=10, item_count=len(items))
html = p.pager(pattern='$link_first $link_previous ~2~ $link_next $link_last', url='http://example.com?page=$page')
Verify before relying
- Whether the package works reliably with modern Python versions (requires_python is unspecified in metadata)
- Current state of the repository and whether dormancy indicates abandonment or stable maturity
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Dormant 719 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 14,325,648 / month, #1,235 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaFramework :: DjangoFramework :: FlaskFramework :: PylonsFramework :: PyramidIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonTopic :: Software Development :: Libraries :: Python Modules |
Evidence: paginate-0.5.7-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “divide results into pages”
- paginateDivides large lists or query results into manageable pages, handling…
- pytest-splitA pytest plugin that divides a test suite into balanced groups based…
- web-foragerWeb Forager is a search-and-fetch toolkit for AI agents that…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also django-admin-inline-paginator · flask-paginate · django-admin-inline-paginator-plus · fastapi-pagination · django-navhelper · Bootstrap-Flask · mkdocs-awesome-pages-plugin · Flask-AutoIndex · trame-router · weasyprint