Skip to main content

paginate

Fast pagination, filtering, sorting, and search with one Rust core and native Python & TypeScript packages that return byte-for-byte identical results.

:::tip Try it live The Playground runs the real Rust engine in your browser (compiled to WebAssembly) โ€” filter, sort, search, and the cursor codec, with no install. :::

Packagesโ€‹

LanguagePackageInstallReference
Pythonpypaginatepip install pypaginatePython guide
TypeScript / Node@cyblow/paginatenpm i @cyblow/paginateTypeScript guide
Rustpaginate-corecargo add paginate-coreRust core ยท docs.rs

Choose your pathโ€‹

  • ๐Ÿ Python โ€” paginate(), one-shot filter/sort/search, the resident Dataset, and SQLAlchemy / Django / FastAPI integrations.
  • ๐ŸŸฆ JavaScript / TypeScript โ€” the same surface, plus Express / Prisma / Drizzle adapters and the portable cursor codec.
  • ๐Ÿฆ€ Rust core โ€” embed the engine directly, or read how it works.

Core ideasโ€‹

These apply to every language โ€” read them once:

Shared referenceโ€‹

The spec vocabulary is defined once in the core and is identical in every language:

Recipes & helpโ€‹