Contents

MongoAlchemy 0.21

0

UNMAINTAINED. Document-Object Mapper/Toolkit for Mongo Databases

UNMAINTAINED. Document-Object Mapper/Toolkit for Mongo Databases

How to Install mongoalchemy

You can install mongoalchemy using pip

pip install mongoalchemy

or add it to a project with poetry

poetry add mongoalchemy

Package Details

Author
Jeffrey Jenkins
License
MIT
Homepage
http://mongoalchemy.org/
PyPi:
https://pypi.org/project/MongoAlchemy/

Classifiers

  • Database
  • Software Development/Libraries/Python Modules
No  mongoalchemy  pypi packages just yet.

Errors

A list of common mongoalchemy errors.

Code Examples

Here are some mongoalchemy code examples and snippets.

Related Packages & Articles

pymongo 4.6.3

Python driver for MongoDB <http://www.mongodb.org>

mongomock 4.1.2

Fake pymongo stub for testing simple MongoDB-dependent code

mongoengine 0.28.2

MongoEngine is a Python Object-Document Mapper for working with MongoDB.

flask-mongoengine 1.0.0

Flask-MongoEngine is a Flask extension that provides integration with MongoEngine and WTF model forms.

[pydantic] NameError: Field name "schema" shadows a BaseModel attribute; use a different field name with "alias='schema'".

This error is encountered when you define a pydantic class that has a attributed named schema. class EmbedDoc(BaseModel): schema: int = 1 name: str = Field(str) tags: List[str] archived: bool The schema attribute is special field for pydantic……. Workaround You can specify a field alias and when the document is serialized it will use the field name schama instead of schema_. class EmbedDoc(BaseModel): schema_: int = Field(1, alias="schema") name: str = Field(str) tags: List[str] archived: bool

motor 3.4.0

Non-blocking MongoDB driver for Tornado or asyncio