{"adoption": {"forks": 359, "observed_at": "2026-09-03T02:15:15.239959+00:00", "stars": 1003}, "canonical_url": "https://ross.abutalabs.com/products/mongomock", "card": {"archived": false, "artifact_type": "library", "description": "Small library for mocking pymongo collection objects for testing purposes", "domain": ["testing", "databases", "developer-tools"], "enriched": true, "function": ["mocking", "testing", "database-driver"], "health_score": 48, "homepage": null, "language": "Python", "license": "ISC", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["mongomock/mongomock"], "name": "mongomock/mongomock", "platform": ["python"], "pushed_at": "2025-06-30T22:08:28+00:00", "repo": "mongomock/mongomock", "stars": 1003, "tags": ["mongodb", "pymongo", "test-doubles", "unit-testing"], "topics": ["python", "mongodb", "testing", "mocking"], "urls": [], "use_cases": ["unit test python code that uses pymongo without a mongodb server", "run mongodb-dependent tests in CI without database setup", "replace a real mongo collection with an in-memory fake in tests", "test mongodb queries and updates deterministically", "avoid record-replay mocks when testing database code"], "what_it_is": "Mongomock is a small Python library that provides a fake in-memory implementation of pymongo collection objects for testing MongoDB-dependent code. It lets unit tests run without a real MongoDB server while exercising the same query and update API.", "when_to_avoid": ["you need to test against real MongoDB behavior, server features, or aggregation fidelity", "your code relies on advanced MongoDB features mongomock does not implement", "you are doing integration or end-to-end testing where a real database is available"], "when_to_choose": ["you want fast, dependency-free unit tests for pymongo-based code", "you cannot easily provision or clean a real MongoDB instance in your test environment", "your code uses simple MongoDB operations supported by the fake"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/mongomock", "repo": "mongomock/mongomock", "role": "main", "score": 43}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-09-03T02:15:15.239959+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T07:13:54.201796+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "50645de3035f9414cd30a2f4705e54eead12a833f5b8c7b2a71117ebcd4f68c2", "fetched_at": "2026-09-03T02:15:15.239959+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mongomock/mongomock"}, {"content_hash": "2e59e8655f12a5d012f59726d4bca2568722270fa5e065ba72f849223f651ae4", "fetched_at": "2026-08-29T13:13:45.118589+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/mongomock/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-09-03T02:15:15.239959+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T07:13:54.201796+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "50645de3035f9414cd30a2f4705e54eead12a833f5b8c7b2a71117ebcd4f68c2", "fetched_at": "2026-09-03T02:15:15.239959+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mongomock/mongomock"}, {"content_hash": "2e59e8655f12a5d012f59726d4bca2568722270fa5e065ba72f849223f651ae4", "fetched_at": "2026-08-29T13:13:45.118589+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/mongomock/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T07:13:54.201796+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "50645de3035f9414cd30a2f4705e54eead12a833f5b8c7b2a71117ebcd4f68c2", "fetched_at": "2026-09-03T02:15:15.239959+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mongomock/mongomock"}, {"content_hash": "2e59e8655f12a5d012f59726d4bca2568722270fa5e065ba72f849223f651ae4", "fetched_at": "2026-08-29T13:13:45.118589+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/mongomock/json"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-09-03T02:15:15.239959+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-09-03T02:15:15.239959+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-09-03T02:15:15.239959+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T07:13:54.201796+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "50645de3035f9414cd30a2f4705e54eead12a833f5b8c7b2a71117ebcd4f68c2", "fetched_at": "2026-09-03T02:15:15.239959+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mongomock/mongomock"}, {"content_hash": "2e59e8655f12a5d012f59726d4bca2568722270fa5e065ba72f849223f651ae4", "fetched_at": "2026-08-29T13:13:45.118589+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/mongomock/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-09-03T02:15:15.239959+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-09-03T02:15:15.239959+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T07:13:54.201796+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "50645de3035f9414cd30a2f4705e54eead12a833f5b8c7b2a71117ebcd4f68c2", "fetched_at": "2026-09-03T02:15:15.239959+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mongomock/mongomock"}, {"content_hash": "2e59e8655f12a5d012f59726d4bca2568722270fa5e065ba72f849223f651ae4", "fetched_at": "2026-08-29T13:13:45.118589+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/mongomock/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-09-03T02:15:15.239959+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-09-03T02:15:15.239959+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-09-03T02:15:15.239959+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T07:13:54.201796+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "50645de3035f9414cd30a2f4705e54eead12a833f5b8c7b2a71117ebcd4f68c2", "fetched_at": "2026-09-03T02:15:15.239959+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mongomock/mongomock"}, {"content_hash": "2e59e8655f12a5d012f59726d4bca2568722270fa5e065ba72f849223f651ae4", "fetched_at": "2026-08-29T13:13:45.118589+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/mongomock/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-09-03T02:15:15.239959+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-09-03T02:15:15.239959+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T07:13:54.201796+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "50645de3035f9414cd30a2f4705e54eead12a833f5b8c7b2a71117ebcd4f68c2", "fetched_at": "2026-09-03T02:15:15.239959+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mongomock/mongomock"}, {"content_hash": "2e59e8655f12a5d012f59726d4bca2568722270fa5e065ba72f849223f651ae4", "fetched_at": "2026-08-29T13:13:45.118589+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/mongomock/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T07:13:54.201796+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "50645de3035f9414cd30a2f4705e54eead12a833f5b8c7b2a71117ebcd4f68c2", "fetched_at": "2026-09-03T02:15:15.239959+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mongomock/mongomock"}, {"content_hash": "2e59e8655f12a5d012f59726d4bca2568722270fa5e065ba72f849223f651ae4", "fetched_at": "2026-08-29T13:13:45.118589+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/mongomock/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T07:13:54.201796+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "50645de3035f9414cd30a2f4705e54eead12a833f5b8c7b2a71117ebcd4f68c2", "fetched_at": "2026-09-03T02:15:15.239959+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mongomock/mongomock"}, {"content_hash": "2e59e8655f12a5d012f59726d4bca2568722270fa5e065ba72f849223f651ae4", "fetched_at": "2026-08-29T13:13:45.118589+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/mongomock/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T07:13:54.201796+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "50645de3035f9414cd30a2f4705e54eead12a833f5b8c7b2a71117ebcd4f68c2", "fetched_at": "2026-09-03T02:15:15.239959+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mongomock/mongomock"}, {"content_hash": "2e59e8655f12a5d012f59726d4bca2568722270fa5e065ba72f849223f651ae4", "fetched_at": "2026-08-29T13:13:45.118589+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/mongomock/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 29, "longevity": 100, "rhythm": 28}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 5285, "days_push": 429, "days_rel": 653, "gap_med": 68, "n_releases_24m": 2}, "score": 43, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 3, "stale_scrape": false}}