django-paginator
Simple Django Paginator
Installation
pip install django-paginator2
Usage
In [1]: from paginator import pagination In [2]: pagination(range(100), 1) Out[2]: ([0, 1, 2, 3, 4, 5, 6, 7, 8, 9], 1) In [3]: pagination(range(100), 1, strict=True) Out[3]: ([0, 1, 2, 3, 4, 5, 6, 7, 8, 9], 90) In [4]: pagination(range(100), 1, 20, strict=True) Out[4]: ([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], 80)
Metadata
Release files for django-paginator2 1.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| django-paginator2-1.1.3.tar.gz | 1.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_paginator2-1.1.3-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 3.8 kB
Release files / django-paginator2-1.1.3.tar.gz
| Download URL | django-paginator2-1.1.3.tar.gz |
|---|---|
| Size | 1.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6bcb025cb06246d21773589309255410aafd477fa867ee1a90343197edbe7c95
|
|
BLAKE2b-256 checksum How to use checksums |
69f5f1ec82e3ff8ef60768e285a88e6d5cdf48817b28c1f878b16669fd8d4b5e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/18.5 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.10
|
Release files / django_paginator2-1.1.3-py2.py3-none-any.whl
| Download URL | django_paginator2-1.1.3-py2.py3-none-any.whl |
|---|---|
| Size | 2.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
ca3084f5e242d41a71bacb1fbdd44297f23921ddfa5b62cc66571de337a40e16
|
|
BLAKE2b-256 checksum How to use checksums |
9fa469ffe708acfca6a009e2b9661be49d7e0e16c8b41c43a66b83fa67df176d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/18.5 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.10
|
Security for django-paginator2 1.1.3
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.