Skip to main content

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

Project description

Hedju - REST Header Pagination

https://img.shields.io/pypi/v/hedju.svg https://img.shields.io/travis/sunscrapers/hedju.svg Documentation Status

Replacement for Django REST Framework’s LimitOffsetPagination class with optional enveloping.

Features

  • 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.

Credits

Developed by SUNSCRAPERS with passion & patience.

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

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.

Source Distribution

hedju-0.0.1.tar.gz (9.2 kB view hashes)

Uploaded Source

Built Distribution

hedju-0.0.1-py2.py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page