Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Class implementing limit/offset pagination in headers with optional enveloping.

Project description

Hedju - Header Pagination for Django REST Framework

.. image::

.. image::

.. image::
:alt: Documentation Status

Replacement for Django REST Framework's pagination classes implementing
Link header as defined in RFC5988_ with optional enveloping.

Inspired by `this paragraph from excellent article<>`_ by Vinay Sahni

.. note:: This is pre-alpha code. Use at your own discretion.

* Free software: MIT license
* Documentation:


* Provides ``first``, ``prev``, ``next`` and ``last`` links via headers.
* Optional enveloping for clients without header support - returns structure
compatible with original class but with extra ``first`` and ``last`` links.


Developed by SUNSCRAPERS_ with passion & patience.

This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.

.. _Cookiecutter:
.. _`audreyr/cookiecutter-pypackage`:
.. _RFC5988:


0.1.0 (2019-02-05)

* Add remaining pagination classes

0.0.4 (2019-02-05)

* Working tests
* Some doc updates

0.0.1 (2019-02-04)

* First release on PyPI.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for hedju, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size hedju-0.1.0-py2.py3-none-any.whl (4.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size hedju-0.1.0.tar.gz (9.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page