pageforge/README.md

26 lines
380 B
Markdown
Raw Permalink Normal View History

2024-11-13 17:54:31 +07:00
# pageforge
Python Script for help your pagination.
## Usage
import pageforge
result = pageforge.count({'page':6,'limit':10,'records':1432})
print(result)
Output
{
'page': {
'current': 6,
'all': 144
},
'record': {
'all': 1432,
'min': 51,
'max': 60
},
'limit': 10,
'offset': 50
}