PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

N Plus One Python Packages

Python packages with the GitHub topic n-plus-one. Sorted by monthly downloads, with stars and forks.
conformist-mw
django-query-counter

Count Django SQL queries and surface duplicate (N+1) and slow ones in the console — works as a decorator (management commands, tasks, views) or as middleware

21K 24 3
sqla-native
queryspy

N+1 and query-budget detection for SQLAlchemy 2.0 — sync and async

13K 4 0
syrian963
django-chainsaw-mcp

Finds what will hurt in a Django project - cascade impact, N+1 queries, unsafe migrations, unscoped tenant reads - as an MCP server and a CLI. Tested against 18 public projects.

1K 0 0
ldavidsm
pytest-querycount

Fail your tests when they run too many SQL queries. Catch N+1 problems in CI, not in production.

797 1 0
atiqur-rahman-pro
django-query-guard

Detect and prevent N+1 database queries in Django applications with Pytest integration.

326 0 0
brakit-ai
brakit

You writes your code. Brakit watches what it does.

287 14 1
yassinbahri
django-fetch-guard

Prevent accidental Django ORM queries with strict fetch contracts, automatic N+1 batching, DRF integration, and support for Django 4.2–6.1.

286 3 3
MaciejZiel
pytest-queryguard

pytest plugin that catches N+1 queries and enforces query budgets for SQLAlchemy 2 (sync, async, FastAPI)

147 0 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology