beanita-0.1.0


توضیحات

Local MongoDB-like database, based on Mongita and prepared to work with Beanie ODM
ویژگی مقدار
سیستم عامل -
نام فایل beanita-0.1.0
نام beanita
نسخه کتابخانه 0.1.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Roman Right
ایمیل نویسنده roman-right@protonmail.com
آدرس صفحه اصلی https://github.com/roman-right/beanita
آدرس اینترنتی https://pypi.org/project/beanita/
مجوز MIT
## Beanita Local MongoDB-like database, based on [Mongita](https://github.com/scottrogowski/mongita) and prepared to work with [Beanie ODM](https://github.com/roman-right/beanie) I highly recommend using it only for experiment purposes. It is safer to use a real MongoDB database and for testing, and for production. ### Init ```python from beanie import init_beanie, Document from beanita import Client class Sample(Document): name: str async def init_database(): cli = Client("LOCAL_DIRECTORY") db = cli["DATABASE_NAME"] await init_beanie( database=db, document_models=[Sample], ) ``` ### Not supported - Links - Aggregations - Union Documents - other features, that were not implemented in Mongita


نیازمندی

مقدار نام
>=1.1.1,<2.0.0 mongita


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

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


نحوه نصب


نصب پکیج whl beanita-0.1.0:

    pip install beanita-0.1.0.whl


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

    pip install beanita-0.1.0.tar.gz