DEV Community

Discussion on: Announcing Beanie - MongoDB ODM

Collapse
 
romanright profile image
Roman Right • Edited

Hello,
Thank you!

This is a complex topic. I think it is hard to compare these tools because it is on the different stages of the development, use different approaches and, I'd say, should be used in different cases.

The main differences are:

  • MongoEngine is a complete ODM with many and many features inside. Beanie is a micro ODM that supports very basic operations for now.
  • MongoEngine uses its own field types to parse and validate data. Beanie (thanks to Pydantic) uses Python types and Pydantic custom fields for that.
  • MongoEngine is synchronous. Beanie uses an async engine.

To be honest, I have no plan to make the full comparison in the future too. The results will not be fair, or will not look fair, because I'm the author of one of the competitors. Even if I'll try hard to avoid it :-)

Collapse
 
denpetrov profile image
denpetrov

Thank you for the response! I think that that's more than enough to get an idea.