Ross ROSS = Recommend OSS · open-source software intelligence for agents

jmcarp/nplusone

Auto-detecting the n+1 queries problem in Python observed · 2026-08-28

github.com/jmcarp/nplusone · Python · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

32/100

  • Activity 0
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4096
  • days_rel: n/a
  • days_push: 1377
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1068 stars · 54 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

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.

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

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

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

Facets

library · maturity maintenance

monitoring logging orm database testing databases performance developer-tools web-development python n-plus-one-queries orm-profiling lazy-loading eager-loading sqlalchemy django-orm peewee performance-diagnostics

2 sources

Member repositories

RepositoryRoleHealth v2
jmcarp/nplusonemain32

For agents

markdown · JSON · MCP: product_card(name="jmcarp/nplusone")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem