awesome-repositories.com
Blog
MCP
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
ddnexus avatar

ddnexus/pagy

0
View on GitHub↗
4,973 stars·446 forks·Ruby·MIT·7 vuesddnexus.github.io/pagy↗

Pagy

Pagy est une bibliothèque de pagination Ruby agnostique aux frameworks, utilisée pour diviser de grands jeux de données en pages numérotées. Elle fournit de multiples implémentations pour diviser les données, incluant le découpage basé sur les offsets pour les collections standard et la pagination par clés (keyset pagination) haute performance pour les jeux de données massifs.

La bibliothèque inclut un générateur d'interface utilisateur de pagination pour le rendu de barres de navigation HTML accessibles et un outil dédié pour la pagination d'API REST qui produit des en-têtes de lien conformes à la RFC et des métadonnées JSON. Elle propose également des systèmes spécialisés pour diviser les résultats provenant de moteurs de recherche comme Elasticsearch, Meilisearch et Typesense, ainsi qu'une pagination temporelle pour organiser les enregistrements en unités calendaires.

Les capacités étendues couvrent la gestion des données pour les tableaux et les collections de base de données, incluant la mémoïsation du nombre d'enregistrements et le rééquilibrage de la taille des pages. Le projet fournit également des outils complets d'interface utilisateur et d'accessibilité, tels que le marquage ARIA, le support des mises en page de droite à gauche et l'intégration avec divers frameworks CSS. La sécurité est traitée via la désinfection des paramètres de pagination et la gestion des erreurs pour les requêtes hors limites.

Le système est extensible via une configuration centrale pour les valeurs par défaut globales et permet de surcharger la logique principale via le pré-pendant de modules.

Features

  • Ruby Pagination Libraries - A framework-agnostic library for splitting large datasets into numbered pages within the Ruby ecosystem.
  • Collection Pagination - Splits data collections into smaller pages using offset or keyset techniques to improve load times.
  • Keyset Pagination - Implements high-performance retrieval using record values as markers instead of numeric offsets.
  • Offset Pagination - Divides collections into discrete pages by calculating the starting record index and a fixed limit.
  • Pagination Metadata - Formats pagination details as hashes or nested query strings for use by external APIs and clients.
  • Database Pagination Engines - Slices large database result sets into physical pages to reduce memory overhead and improve performance.
  • API Pagination - Generates RFC-compliant link headers, JSON metadata, and pagination markers for REST API clients.
  • In-Memory Array Pagination - Splits standard Ruby arrays of objects into numbered pages.
  • API Pagination - Provides comprehensive tools for implementing API pagination including markers and metadata headers.
  • Pagination UI Components - Renders accessible HTML navigation bars with ARIA labels and right-to-left support.
  • Pagination URL Generation - Produces navigation links for first, previous, next, and last pages including custom paths.
  • Pagination Link Generation - Renders previous and next page links using anchor tags with accessibility attributes.
  • Count Caching - Caches the total record count to eliminate redundant database queries across multiple page requests.
  • Count-Skipping Optimizations - Implements performance optimizations by omitting total record count queries during offset pagination.
  • Calendar Pagination - Organizes data into time-based buckets such as years, quarters, or months combined with offset pagination.
  • Temporal Range Pagination - Filters records by a specific time period and applies offset pagination within that window.
  • Search Engine Pagination - Divides result sets from search platforms like Elasticsearch, Meilisearch, and Typesense into discrete pages.
  • Independent Pagination Groups - Manages multiple independent pagination groups on a single page, each with its own unique page keys.
  • Request Parameter Sanitization - Filters and validates incoming URL keys to ensure page and limit values are safe and within range.
  • Configuration Defaults - Manages global and instance-level pagination settings through a centralized configuration object.
  • Framework Agnostic Interfaces - Calculates page slices and navigation links independently of any specific web framework or database driver.
  • Accessibility Labeling - Sets custom ARIA labels and roles on navigation elements for screen reader accessibility.
  • Framework Agnostic UI Logic - Provides pagination logic that operates independently of any specific rendering framework.
  • Page Number Link Generators - Outputs HTML strings of numbered navigation links for jumping between result pages.
  • Navigation Bars - Produces pagination bars with customizable link positions and layout options.
  • Pagination Range Displays - Generates human-readable strings displaying the current page range and total item count.
  • Pagination Header Generation - The library creates compliant link headers and customizable metadata headers to describe the current page and record count.
  • REST API Pagination Tooling - Produces RFC-compliant link headers and JSON:API metadata for web services.
  • Pagination Tools - High-performance pagination gem for various frameworks.

Historique des stars

Graphique de l'historique des stars pour ddnexus/pagyGraphique de l'historique des stars pour ddnexus/pagy

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Alternatives open source à Pagy

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Pagy.
  • kaminari/kaminariAvatar de kaminari

    kaminari/kaminari

    8,681Voir sur GitHub↗

    Kaminari is a Ruby pagination library and ActiveRecord tool designed to divide large datasets into smaller pages using limit and offset logic. It functions as a data paging utility that manages record offsets and total count calculations for Ruby web applications. The project distinguishes itself by generating SEO-friendly navigation links and standardized HTML tags to improve search engine indexing. It supports localized navigation labels and translation files for multilingual interface design, and allows for customizable pagination themes via template overrides of view partials. The librar

    Ruby
    Voir sur GitHub↗8,681
  • mislav/will_paginateAvatar de mislav

    mislav/will_paginate

    5,691Voir sur GitHub↗

    Pagination library for Rails and other Ruby applications

    Rubypaginationpagination-libraryplugin
    Voir sur GitHub↗5,691
  • aplus-framework/paginationAvatar de aplus-framework

    aplus-framework/pagination

    212Voir sur GitHub↗

    Pagination is a PHP data pagination library that splits large collections of database records or arrays into manageable pages. It operates as a standalone utility handling offset calculation, page numbering, and result splitting for raw arrays or database queries. The library computes data slices and navigation boundaries using explicit limit and offset values derived from incoming request parameters. It automatically extracts current page indicators and item counts from query strings to determine the active view state. Through state-driven navigation generation, it computes previous, next, a

    PHPaplusaplus-frameworkbootstrap
    Voir sur GitHub↗212
  • effector/effectorAvatar de effector

    effector/effector

    4,837Voir sur GitHub↗

    Effector is a reactive state management library designed for building complex, event-driven applications. It functions as a data flow engine that models application logic as a directed acyclic graph, ensuring that state updates propagate automatically through interconnected nodes. By utilizing atomic state updates and declarative unit composition, the library maintains data consistency and provides a predictable execution model for managing application state. The project distinguishes itself through its framework-agnostic architecture, which decouples business logic from user interface implem

    TypeScriptbusiness-logiceffectorevent-driven
    Voir sur GitHub↗4,837
Voir les 30 alternatives à Pagy→

Questions fréquentes

Que fait ddnexus/pagy ?

Pagy est une bibliothèque de pagination Ruby agnostique aux frameworks, utilisée pour diviser de grands jeux de données en pages numérotées. Elle fournit de multiples implémentations pour diviser les données, incluant le découpage basé sur les offsets pour les collections standard et la pagination par clés (keyset pagination) haute performance pour les jeux de données massifs.

Quelles sont les fonctionnalités principales de ddnexus/pagy ?

Les fonctionnalités principales de ddnexus/pagy sont : Ruby Pagination Libraries, Collection Pagination, Keyset Pagination, Offset Pagination, Pagination Metadata, Database Pagination Engines, API Pagination, In-Memory Array Pagination.

Quelles sont les alternatives open-source à ddnexus/pagy ?

Les alternatives open-source à ddnexus/pagy incluent : kaminari/kaminari — Kaminari is a Ruby pagination library and ActiveRecord tool designed to divide large datasets into smaller pages using… mislav/will_paginate — Pagination library for Rails and other Ruby applications. aplus-framework/pagination — Pagination is a PHP data pagination library that splits large collections of database records or arrays into… effector/effector — Effector is a reactive state management library designed for building complex, event-driven applications. It functions… alex-shpak/hugo-book — hugo-book is a documentation theme and static site framework for Hugo designed to create structured technical manuals,… codeigniter4/codeigniter4 — CodeIgniter is a PHP web framework built on the Model-View-Controller pattern, designed for building full-stack web…