MongoEngine/mongoengine
A Python Object-Document-Mapper for working with MongoDB observed · 2026-08-28
Health v2 · maintenance only
79/100
- Activity 99
- Release rhythm 42
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 268.5
- age_days: 5294
- days_rel: 176
- days_push: 9
- n_releases_24m: 3
Adoption not part of the score
4348 stars · 1230 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
MongoEngine is a Python Object-Document Mapper (ODM) built on top of PyMongo for working with MongoDB. It provides schema-based document models, querying, signals, and file storage in a declarative, ORM-like API.
Use cases
- model MongoDB documents with Python classes
- query MongoDB with a pythonic API instead of raw queries
- add schema validation to a schemaless MongoDB database
- use MongoDB as the data layer for a Django or Flask app
- store and retrieve files with GridFS from Python
- define document fields with types, defaults, and required validation
When to choose
- you use MongoDB from Python and want structured, validated document models
- you prefer declarative schemas and queryset APIs over raw PyMongo calls
- you want a mature, MIT-licensed ODM with Django integration support
When to avoid
- you use a relational database instead of MongoDB
- you need maximum performance and minimal abstraction - use PyMongo directly
- you need an async-first ODM for asyncio applications
Facets
library · maturity stable
orm database-driver database data-science databases backend web-development developer-tools python cross-platform mongodb odm pymongo document-mapper schema-modeling
3 sources
- readme: https://github.com/MongoEngine/mongoengine · fetched 2026-08-28 · 8d3f9c9e7951
- homepage: https://mongoengine-odm.readthedocs.io · fetched 2026-08-29 · 5ca633c8313b
- registry_pypi: https://pypi.org/pypi/mongoengine/json · fetched 2026-08-29 · 7ab847be20c3
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| MongoEngine/mongoengine | main | 79 |
For agents
markdown · JSON · MCP: product_card(name="MongoEngine/mongoengine")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem