mongoengine/mongoengine

A Python Object-Document-Mapper for working with MongoDB

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 38 minutes ago
Added to GitGenius on September 16th, 2026
Created on March 5th, 2012
Open Issues & Pull Requests: 318 (+0)
GitHub issues: Enabled
Number of forks: 1,229
Total Stargazers: 4,349 (+0)
Total Subscribers: 131 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 45.4 days
Mean response time: 638.6 days
90th percentile: 2507.5 days
Tracked items: 95

Most active contributors

Sign in to see contributor activity.

How this project is maintained

95% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Three people close 94% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 20
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 2,170 days
Stale 30+ days: 18
Stale 90+ days: 17

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • Bug (9)
  • Enhancement (7)
  • High Priority (6)
  • Discussion (5)
  • Performance (5)
  • Awaiting Response (3)
  • ListField (3)
  • (De)Reference (2)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

MongoEngine is a Python Object-Document-Mapper that bridges the gap between MongoDB's document-oriented database and Python object-oriented programming by allowing developers to define and interact with MongoDB collections using Python classes.

MongoEngine solves the impedance mismatch between MongoDB's flexible document model and Python's class-based object system. It works by letting developers define document schemas as Python classes with typed fields, then automatically handles the serialization and deserialization of Python objects to and from MongoDB documents. This approach provides type safety, validation, and a familiar ORM-like interface while preserving MongoDB's flexibility for schema evolution.

MongoEngine suits projects where a team prefers working with Python classes and objects rather than raw document dictionaries, particularly when schema consistency and field validation matter. It works well for applications that benefit from MongoDB's scalability but need the structure and tooling that an ORM provides. Teams already using MongoDB with PyMongo who find themselves writing repetitive serialization code, or those migrating from SQL ORMs to MongoDB, are natural candidates for adoption.

The project maintains steady engagement with regular commits addressing bug fixes and feature requests. Pull requests receive review and feedback from maintainers. The issue tracker shows active discussion of problems and feature proposals, with maintainers responding to user questions and bug reports. Documentation is actively maintained alongside code changes. The project accepts contributions from the community and processes them through standard review workflows.