mongoengine

MongoEngine is a Document-Object Mapper (think ORM, but for document databases) for working with MongoDB from Python.

It uses a simple declarative API, similar to the Django ORM.

Getting Started

To install MongoEngine, simply run:

pip install mongoengine

Downloads are also available as .zip/.tar.gz archives for the stable and master versions.

To get to grips with MongoEngine, there is extensive documentation, API references and a tutorial. You can find help by joining the MongoEngine Users mailing list.

Code

MongoEngine is hosted on GitHub. The source code, issue tracker and wiki are all available there.

View on GitHub — MongoEngine/mongoengine
✦   Also from MongoEngine — AI Tools, Reviewed by Developers   ✦
Built for Developers & Builders

AI Tools, Reviewed
by Developers

From AI coding assistants to vector databases, LLM APIs to image generators — MongoEngine is your trusted guide to the AI stack worth building with.

mongoengine ~ ai-stack
# Find the best AI coding tool
$ me search –category coding
→ Searching tools…
 
✓ Cursor ★4.9 · Free tier
✓ Copilot ★4.7 · $10/mo
✓ Codeium ★4.5 · Free
$
Developer-First Reviews
Python & MongoDB Focus
Honest, Independent Reviews
API & Integration Guides
Updated Regularly