{"adoption": {"forks": 54, "observed_at": "2026-08-28T04:03:27.578231+00:00", "stars": 1068}, "canonical_url": "https://ross.abutalabs.com/products/nplusone", "card": {"archived": false, "artifact_type": "library", "description": "Auto-detecting the n+1 queries problem in Python", "domain": ["databases", "performance", "developer-tools", "web-development"], "enriched": true, "function": ["monitoring", "logging", "orm", "database", "testing"], "health_score": 20, "homepage": null, "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["jmcarp/nplusone"], "name": "jmcarp/nplusone", "platform": ["python"], "pushed_at": "2022-11-25T10:57:53+00:00", "repo": "jmcarp/nplusone", "stars": 1068, "tags": ["n-plus-one-queries", "orm-profiling", "lazy-loading", "eager-loading", "sqlalchemy", "django-orm", "peewee", "performance-diagnostics"], "topics": [], "urls": [], "use_cases": ["detect n+1 query problems in a Django app", "find inefficient lazy loading in SQLAlchemy code", "profile ORM query performance during development", "identify unused eager loading in Flask-SQLAlchemy", "get recommendations for select_related and prefetch_related"], "what_it_is": "nplusone is a Python library that detects the n+1 queries problem in ORMs like SQLAlchemy, Peewee, and the Django ORM by monitoring lazy loads and warning about inefficient queries. It also flags inappropriate eager loading and points to the offending model attribute and code line.", "when_to_avoid": ["you need a production monitoring tool - it is meant for development only", "your project uses an ORM other than Django, SQLAlchemy, or Peewee", "you need actively maintained tooling - the latest release was in 2022"], "when_to_choose": ["you use Django, SQLAlchemy, or Peewee and suspect slow queries from lazy loading", "you want development-time ORM profiling with actionable warnings"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/nplusone", "repo": "jmcarp/nplusone", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:27.578231+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:54:42.781042+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bf3f3c8a7f756ed142711cce52b63cfbdcdcd135a522b7b19b2c36d1ccfcea9a", "fetched_at": "2026-08-28T04:03:27.578231+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jmcarp/nplusone"}, {"content_hash": "3f3bbb372a8d87088d02223854cc9f6cbc88b59fbce4917712082e69c7add4be", "fetched_at": "2026-08-29T12:57:03.759549+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/nplusone/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:27.578231+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:54:42.781042+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bf3f3c8a7f756ed142711cce52b63cfbdcdcd135a522b7b19b2c36d1ccfcea9a", "fetched_at": "2026-08-28T04:03:27.578231+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jmcarp/nplusone"}, {"content_hash": "3f3bbb372a8d87088d02223854cc9f6cbc88b59fbce4917712082e69c7add4be", "fetched_at": "2026-08-29T12:57:03.759549+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/nplusone/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:54:42.781042+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bf3f3c8a7f756ed142711cce52b63cfbdcdcd135a522b7b19b2c36d1ccfcea9a", "fetched_at": "2026-08-28T04:03:27.578231+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jmcarp/nplusone"}, {"content_hash": "3f3bbb372a8d87088d02223854cc9f6cbc88b59fbce4917712082e69c7add4be", "fetched_at": "2026-08-29T12:57:03.759549+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/nplusone/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-08-28T04:03:27.578231+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:27.578231+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:27.578231+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:54:42.781042+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bf3f3c8a7f756ed142711cce52b63cfbdcdcd135a522b7b19b2c36d1ccfcea9a", "fetched_at": "2026-08-28T04:03:27.578231+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jmcarp/nplusone"}, {"content_hash": "3f3bbb372a8d87088d02223854cc9f6cbc88b59fbce4917712082e69c7add4be", "fetched_at": "2026-08-29T12:57:03.759549+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/nplusone/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:27.578231+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:27.578231+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:54:42.781042+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bf3f3c8a7f756ed142711cce52b63cfbdcdcd135a522b7b19b2c36d1ccfcea9a", "fetched_at": "2026-08-28T04:03:27.578231+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jmcarp/nplusone"}, {"content_hash": "3f3bbb372a8d87088d02223854cc9f6cbc88b59fbce4917712082e69c7add4be", "fetched_at": "2026-08-29T12:57:03.759549+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/nplusone/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:27.578231+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:27.578231+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:27.578231+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:54:42.781042+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bf3f3c8a7f756ed142711cce52b63cfbdcdcd135a522b7b19b2c36d1ccfcea9a", "fetched_at": "2026-08-28T04:03:27.578231+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jmcarp/nplusone"}, {"content_hash": "3f3bbb372a8d87088d02223854cc9f6cbc88b59fbce4917712082e69c7add4be", "fetched_at": "2026-08-29T12:57:03.759549+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/nplusone/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:27.578231+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:27.578231+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:54:42.781042+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bf3f3c8a7f756ed142711cce52b63cfbdcdcd135a522b7b19b2c36d1ccfcea9a", "fetched_at": "2026-08-28T04:03:27.578231+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jmcarp/nplusone"}, {"content_hash": "3f3bbb372a8d87088d02223854cc9f6cbc88b59fbce4917712082e69c7add4be", "fetched_at": "2026-08-29T12:57:03.759549+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/nplusone/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:54:42.781042+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bf3f3c8a7f756ed142711cce52b63cfbdcdcd135a522b7b19b2c36d1ccfcea9a", "fetched_at": "2026-08-28T04:03:27.578231+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jmcarp/nplusone"}, {"content_hash": "3f3bbb372a8d87088d02223854cc9f6cbc88b59fbce4917712082e69c7add4be", "fetched_at": "2026-08-29T12:57:03.759549+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/nplusone/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:54:42.781042+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bf3f3c8a7f756ed142711cce52b63cfbdcdcd135a522b7b19b2c36d1ccfcea9a", "fetched_at": "2026-08-28T04:03:27.578231+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jmcarp/nplusone"}, {"content_hash": "3f3bbb372a8d87088d02223854cc9f6cbc88b59fbce4917712082e69c7add4be", "fetched_at": "2026-08-29T12:57:03.759549+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/nplusone/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:54:42.781042+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "bf3f3c8a7f756ed142711cce52b63cfbdcdcd135a522b7b19b2c36d1ccfcea9a", "fetched_at": "2026-08-28T04:03:27.578231+00:00", "kind": "readme", "missing": false, "url": "https://github.com/jmcarp/nplusone"}, {"content_hash": "3f3bbb372a8d87088d02223854cc9f6cbc88b59fbce4917712082e69c7add4be", "fetched_at": "2026-08-29T12:57:03.759549+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/nplusone/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4096, "days_push": 1377, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}