معرفی شرکت ها


fastapi-paginate-0.1.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

FastAPI extended pagination
ویژگی مقدار
سیستم عامل -
نام فایل fastapi-paginate-0.1.0
نام fastapi-paginate
نسخه کتابخانه 0.1.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Nazmul Hasan
ایمیل نویسنده edufornazmul@gmail.com
آدرس صفحه اصلی https://github.com/nazmulnnb/fastapi-paginate
آدرس اینترنتی https://pypi.org/project/fastapi-paginate/
مجوز MIT
# FastAPI Pagination [![License](https://img.shields.io/badge/License-MIT-lightgrey)](/LICENSE) [![codecov](https://github.com/nazmulnnb/fastapi-paginate/workflows/Test/badge.svg)](https://github.com/nazmulnnb/fastapi-paginate/actions) [![PYPI](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) ## Installation ```bash # Basic version pip install fastapi-paginate # All available integrations pip install fastapi-paginate[all] ``` Available integrations: * [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) * [gino](https://github.com/python-gino/gino) * [databases](https://github.com/encode/databases) * [ormar](http://github.com/collerek/ormar) * [orm](https://github.com/encode/orm) * [tortoise](https://github.com/tortoise/tortoise-orm) * [django](https://github.com/django/django) * [piccolo](https://github.com/piccolo-orm/piccolo) * [sqlmodel](https://github.com/tiangolo/sqlmodel) * [motor](https://github.com/mongodb/motor) * [mongoengine](https://github.com/MongoEngine/mongoengine) ## Example ```python from fastapi import FastAPI from pydantic import BaseModel from fastapi_paginate import Page, add_pagination, paginate app = FastAPI() class User(BaseModel): name: str surname: str users = [ User(name='Yurii', surname='Karabas'), # ... ] @app.get('/users', response_model=Page[User]) async def get_users(): return paginate(users) add_pagination(app) ``` This repo is forked from [fastapi-pagination](https://github.com/uriyyo/fastapi-pagination). Although original repository is already good enough, but I modified it according to my needs and published thinking it might be helpful for some.


نیازمندی

مقدار نام
>=1.7.2 pydantic
>=0.61.2 fastapi
>=1.0.1) gino[starlette]
>=1.3.20) SQLAlchemy
>=0.4.0) databases[mysql,sqlite,postgresql]
>=0.1.5) orm
>=0.2.0,<0.3.0) typesystem
>=0.16.18,<0.19.0) tortoise-orm[asyncpg,aiomysql,aiosqlite]
>=0.24.0) asyncpg
>=0.10.5) ormar
>=0.29,<0.35) piccolo
>=2.5.1,<3.0.0) motor
>=3.1.0,<4.0.0) django
>=0.23.1,<0.25.0) mongoengine


زبان مورد نیاز

مقدار نام
>=3.7,<4.0 Python


نحوه نصب


نصب پکیج whl fastapi-paginate-0.1.0:

    pip install fastapi-paginate-0.1.0.whl


نصب پکیج tar.gz fastapi-paginate-0.1.0:

    pip install fastapi-paginate-0.1.0.tar.gz