zato-redis-paginator is a library that has been just released and except for the init method, it’s 100% API compatible with Django’s own pagination but works with Redis instead of SQL databases.

Supported data types:

  • lists
  • sorted sets
  • ranges of sorted sets between min/max scores Consider the code below which uses pagination with a list.

{% gist 6205624 %}

Visit the project’s home page for more information, including usage examples with other data types and have fun using it!