pytest-mock-resources
MongoEngine
pytest-mock-resources | MongoEngine | |
---|---|---|
1 | 1 | |
172 | 4,163 | |
1.7% | 0.3% | |
5.8 | 8.0 | |
19 days ago | 10 days ago | |
Python | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pytest-mock-resources
-
why isn't there a mock module for motor?
It doesn’t elegantly solve your problem because it currently also depends on pymongo, unnecessarily for you, but https://github.com/schireson/pytest-mock-resources. It spins up a real mongo server using docker (if you’re willing to eat mongo’s startup cost).
MongoEngine
-
Are mongoengine and related projects maintained anymore? Any recommendations for decent ODM
My biggest issue with mongoengine has been the longstanding issue with poor performance on large documents. This is to a large extent a problem with the underlying data model I've worked with, but it's crazy when deserializing a mongo object takes longer than transferring it from the remote DB.
What are some alternatives?
pytest-mongodb - pytest plugin for mocking MongoDB with fixtures
django-mongodb-engine - Django MongoDB Backend
mongodb-without-avx - ⚠ mongodb core-dump illegal instruction ✔ Building without AVX instructions not supported by cpu's
djongo - Django and MongoDB database connector
jupysql - Better SQL in Jupyter. 📊
μMongo - sync/async MongoDB ODM, yes.
sqlglot - Python SQL Parser and Transpiler
odmantic - Sync and Async ODM (Object Document Mapper) for MongoDB based on python type hints
pytest-cli-fixtures - Automatically register fixtures for custom CLI arguments
PynamoDB - A pythonic interface to Amazon's DynamoDB
Redash - Make Your Company Data Driven. Connect to any data source, easily visualize, dashboard and share your data.
MongoFrames - A fast unobtrusive MongoDB ODM for Python.