semvec/pypi-packages huggingface dataset:
mongoengine-pagination 0.1.5
=======you can use this toll to paginate your querysets=======
License: MIT Licence
Keywords: mongoengine,pagination,mongodb,fastapi,nosql

============how to use?===========

----example

class User(DocumentPro):   
    user_id = IntField() 

    name = StringField()

page_index = 2

page_size = 20

user_list = User.objects().paginate(page_index, page_size)

result_list = result.items

total_items = result.total 

total_page = result.pages,