awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 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·5 vuesmongoengine-odm.readthedocs.io↗

Mongoengine

MongoEngine est un mapper objet-document (ODM) Python qui traduit les enregistrements de base de données en objets pour fournir une interface orientée objet pour la persistance des données. Il sert de gestionnaire de documents et de validateur de schéma pour MongoDB, mappant les classes aux documents pour appliquer les types de données et les règles de validation.

Le projet fournit un système de queryset à chargement différé (lazy-loaded) pour filtrer, trier et agréger des collections en utilisant une syntaxe Pythonique. Il gère des structures de données complexes via des fonctionnalités telles que l'héritage de documents, la gestion récursive de documents imbriqués et la liaison d'objets basée sur des références.

La bibliothèque couvre de larges capacités, notamment la migration de schéma, la recherche plein texte et la gestion de fichiers binaires volumineux via le système de fichiers GridFS. Elle inclut également des outils pour l'optimisation des index de base de données, le profilage des performances des requêtes et des hooks de cycle de vie basés sur des signaux pour automatiser la logique lors des événements de document.

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.

Historique des stars

Graphique de l'historique des stars pour mongoengine/mongoengineGraphique de l'historique des stars pour mongoengine/mongoengine

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Alternatives open source à Mongoengine

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Mongoengine.
  • mongodb/mongoidAvatar de mongodb

    mongodb/mongoid

    3,917Voir sur 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
    Voir sur GitHub↗3,917
  • automattic/mongooseAvatar de Automattic

    Automattic/mongoose

    27,479Voir sur 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
    Voir sur GitHub↗27,479
  • coleifer/peeweeAvatar de coleifer

    coleifer/peewee

    11,971Voir sur 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
    Voir sur GitHub↗11,971
  • mongodb/laravel-mongodbAvatar de mongodb

    mongodb/laravel-mongodb

    7,075Voir sur 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
    Voir sur GitHub↗7,075
Voir les 30 alternatives à Mongoengine→

Questions fréquentes

Que fait mongoengine/mongoengine ?

MongoEngine est un mapper objet-document (ODM) Python qui traduit les enregistrements de base de données en objets pour fournir une interface orientée objet pour la persistance des données. Il sert de gestionnaire de documents et de validateur de schéma pour MongoDB, mappant les classes aux documents pour appliquer les types de données et les règles de validation.

Quelles sont les fonctionnalités principales de mongoengine/mongoengine ?

Les fonctionnalités principales de mongoengine/mongoengine sont : Object-Document Mappers, MongoDB Eloquent Adapters, Class-Based Schema Mappings, Data Validation, Document Schema Enforcement, Document Embedding, Automatic Object Resolution, ODM Frameworks.

Quelles sont les alternatives open-source à mongoengine/mongoengine ?

Les alternatives open-source à mongoengine/mongoengine incluent : 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…