awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
MongoEngine avatar

MongoEngine/mongoengine

0
View on GitHub↗
4,349 stars·1,232 forks·Python·MIT·19 viewsmongoengine-odm.readthedocs.io↗

Mongoengine

MongoEngine is a Python object-document mapper that translates database records into objects to provide an object-oriented interface for data persistence. It serves as a document manager and schema validator for MongoDB, mapping classes to documents to enforce data types and validation rules.

The project provides a lazy-loaded queryset system for filtering, sorting, and aggregating collections using Pythonic syntax. It manages complex data structures through features such as document inheritance, recursive embedded document handling, and reference-based object linking.

The library covers broad capabilities including schema migration, full-text search, and the management of large binary files via the GridFS filesystem. It also includes tools for database index optimization, query performance profiling, and signal-based lifecycle hooks to automate logic during document events.

Features

  • Object-Document Mappers - Translates Python classes into MongoDB documents to provide an object-oriented interface for data persistence.
  • MongoDB Eloquent Adapters - Provides an object-document mapping layer for MongoDB, translating Python classes into database documents.
  • Class-Based Schema Mappings - Provides a declarative class-based system to map Python objects to MongoDB collections with defined field types.
  • Data Validation - Enforces data integrity through built-in or custom rules and field-level constraints before saving documents.
  • Document Schema Enforcement - Defines blueprints for collections through mapping classes to documents with specified fields and indexes.
  • Document Embedding - Supports nesting related data structures by treating embedded documents as dependent objects within a parent document.
  • Automatic Object Resolution - Links separate documents through identifiers that are automatically resolved into full objects upon access.
  • ODM Frameworks - Functions as an ODM framework that translates MongoDB records into Python objects.
  • MongoDB Integrations - Provides a comprehensive interface for managing MongoDB documents, including embedded documents and references.
  • MongoDB Schema Modeling - Enforces data integrity through a framework for defining document blueprints with strict types and custom validation rules.
  • NoSQL Data Modeling - Implements a flexible NoSQL data model that supports complex Python data structures, inheritance, and relationships.
  • NoSQL Database Querying - Provides a lazy-loaded queryset system for filtering, sorting, and aggregating MongoDB collections using Pythonic syntax.
  • Object Persistence - Creates and updates documents in the database by persisting object attributes.
  • Queryset Filtering Tools - Executes filters, sorting, and slicing on collections of documents to retrieve specific subsets of data.
  • Document-Based Querying - Retrieves data using filters, operators, sorting, and aggregation to find specific documents.
  • Collection-Based Inheritance - Stores different document types in a single collection while querying both specific subtypes and general superclasses.
  • Lazy-Loaded Result Sets - Ships a chainable query interface that defers database execution until the results are explicitly accessed.
  • Binary Large Object Storage - Manages large binary data using the MongoDB GridFS filesystem for efficient storage and streaming.
  • Cascade Deletion Rules - Links documents together and defines automatic deletion rules for when a referenced document is removed.
  • Database Indexing - Supports the creation of collection indexes with multi-field keys and background processing.
  • Full Text Search - Enables full-text searches across documents with results ordered by relevance score.
  • GridFS Integrations - Supports storage and retrieval of large binary files via the MongoDB GridFS filesystem.
  • Query Optimizations - Improves data retrieval speeds through the use of indexes, query profiling, and efficient filtering.
  • Schema Migrations - Updates existing database records to match changes in the object model such as adding new fields.
  • Application Lifecycle Event Triggers - Executes automated business logic triggered by document lifecycle changes such as creation or deletion.
  • Signal-Based Lifecycle Hooks - Provides signal-based hooks to trigger custom logic during document events like saving or deleting.
  • Schema Registration - Uses Python metaclasses to automatically register document schemas and coordinate inheritance across database collections.
  • Data Modeling and ODM - Document-object mapper for Python applications.
  • Database Clients - Object-Document-Mapper for MongoDB.
  • Database ORMs - Listed in the “Database ORMs” section of the Awesome Python awesome list.
  • Database ORMs and ODMs - Document-Object Mapper for MongoDB.
  • Object Relational Mappers - Object-document mapper for MongoDB.
  • Language Drivers - ODM library for Python applications.

Star history

Star history chart for mongoengine/mongoengineStar history chart for mongoengine/mongoengine

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with Mongoengine

These projects share indexed features with Mongoengine. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • mongodb/mongoidmongodb avatar

    mongodb/mongoid

    3,917View on GitHub↗

    Mongoid is an object-document mapper for Ruby that translates Ruby objects into MongoDB documents. It serves as a document database mapper and client library, providing a structured way to manage data persistence and retrieval within a NoSQL environment. The project distinguishes itself by offering advanced data retrieval tools, including vector search for semantic similarity and full-text search for keyword matching. It implements high-security data protection through client-side field-level encryption, encryption key rotation, and TLS connection security to protect sensitive information. B

    Ruby
    View on GitHub↗3,917
  • automattic/mongooseAutomattic avatar

    Automattic/mongoose

    27,479View on GitHub↗

    Mongoose is an object data modeling library and framework for Node.js that maps application objects to MongoDB documents. It functions as a document mapper and schema validator, ensuring consistent data types and validation rules for records stored in MongoDB. The project provides a system for defining structured schemas to model application data, including the ability to create hierarchical data structures through nested schema composition. It implements a middleware-based hook system that allows for the interception and modification of data states during the lifecycle of database operations

    JavaScript
    View on GitHub↗27,479
  • coleifer/peeweecoleifer avatar

    coleifer/peewee

    11,971View on GitHub↗

    Peewee is a SQL object-relational mapper and query builder that provides an object-oriented interface for mapping application classes to relational database tables. It functions as a relational database toolkit for managing schemas, executing migrations, and handling complex table relationships. The project distinguishes itself by providing an asyncio database driver for non-blocking database operations, ensuring event loop responsiveness. It also supports semi-structured data storage, allowing the storage and querying of flexible JSON documents within traditional relational database systems.

    Pythonasynciodankfastapi
    View on GitHub↗11,971
  • mongodb/laravel-mongodbmongodb avatar

    mongodb/laravel-mongodb

    7,075View on GitHub↗

    This project is a MongoDB database driver and object-relational mapper that brings MongoDB support to the Laravel Eloquent model and query builder. It provides a NoSQL model mapper that allows MongoDB collections to be mapped to object-oriented models using the Active Record pattern. The integration enables the use of a fluent query builder for constructing queries and aggregation pipelines without writing raw database syntax. It supports schema-less model integration, allowing applications to manage unstructured data while maintaining compatibility with standard object-oriented patterns. Th

    PHP
    View on GitHub↗7,075
Compare all 30 related projects→

Frequently asked questions

What does mongoengine/mongoengine do?

MongoEngine is a Python object-document mapper that translates database records into objects to provide an object-oriented interface for data persistence. It serves as a document manager and schema validator for MongoDB, mapping classes to documents to enforce data types and validation rules.

What are the main features of mongoengine/mongoengine?

The main features of mongoengine/mongoengine are: Object-Document Mappers, MongoDB Eloquent Adapters, Class-Based Schema Mappings, Data Validation, Document Schema Enforcement, Document Embedding, Automatic Object Resolution, ODM Frameworks.

Which projects share features with mongoengine/mongoengine?

Projects with overlapping indexed features include: mongodb/mongoid — Mongoid is an object-document mapper for Ruby that translates Ruby objects into MongoDB documents. It serves as a… automattic/mongoose — Mongoose is an object data modeling library and framework for Node.js that maps application objects to MongoDB… coleifer/peewee — Peewee is a SQL object-relational mapper and query builder that provides an object-oriented interface for mapping… mongodb/laravel-mongodb — This project is a MongoDB database driver and object-relational mapper that brings MongoDB support to the Laravel… mongodb/mongo-python-driver — The MongoDB Python Driver is a client library and NoSQL database client used to execute CRUD operations and manage… typeorm/typeorm — TypeORM is an object-relational mapper for TypeScript and JavaScript that bridges the gap between object-oriented…