Skip to main content

django-ninja-cursor-pagination

This library adds a new pagination class for use with django-ninja which supports cursor-based pagination.

Installation

pip install django-ninja-cursor-pagination

Usage

from ninja.pagination import paginate
from ninja_cursor_pagination import CursorPagination

@router.get("/things", response=list[ThingSchema])
@paginate(CursorPagination)
def list_things(request):
    return Thing.objects.order_by("title")

Metadata

Release files for django-ninja-cursor-pagination 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-ninja-cursor-pagination 0.1.0
File Size Uploaded Provenance Actions
django_ninja_cursor_pagination-0.1.0.tar.gz 8.6 kB Without provenance Details for django_ninja_cursor_pagination-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-ninja-cursor-pagination 0.1.0
File Interpreter ABI Platform Actions
django_ninja_cursor_pagination-0.1.0-py3-none-any.whl Python 3 none any Details for django_ninja_cursor_pagination-0.1.0-py3-none-any.whl

Total release size: 17.4 kB

Release files / django_ninja_cursor_pagination-0.1.0.tar.gz

Download URL django_ninja_cursor_pagination-0.1.0.tar.gz
Size 8.6 kB
Tags Source
SHA-256 checksum
How to use checksums
dd0e67abc58db3f7638cdbeaf95d64780fe7eb8efd7bac8b0d03cdd2d3f9c91d
BLAKE2b-256 checksum
How to use checksums
5053a47b21deef6b755369d7fc483ee7d51c058de34eb7d0ac33005e27ffccce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.2

Release files / django_ninja_cursor_pagination-0.1.0-py3-none-any.whl

Download URL django_ninja_cursor_pagination-0.1.0-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1f35f55d419086f18c28e6bdc007c2c4b2f936354990dfabab8daf19da1d8b6c
BLAKE2b-256 checksum
How to use checksums
d482e5175c26cd41e2db9093458bfdf3e191648da4843a825c95e1b66e9368e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.2

Security for django-ninja-cursor-pagination 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page