# carltongibson/django-filter

A generic system for filtering Django QuerySets based on user selections

Repository: https://github.com/carltongibson/django-filter
Canonical: https://ross.abutalabs.com/products/django-filter
Homepage: https://django-filter.readthedocs.io/en/main/
Language: Python
License: NOASSERTION
License Family: other
Last push: 2026-07-15T14:54:24+00:00

## Health v2 (maintenance only)
Score: 64/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 92, release rhythm 8, longevity 100
- inputs: {"age_days": 6425, "days_push": 49, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4685, forks 778 (observed 2026-08-28T04:08:56.957838+00:00)

## What it is
A reusable Django application that lets developers declaratively filter QuerySets based on user selections from URL parameters. It provides a FilterSet API similar to Django's ModelForms and integrates with Django REST Framework.

## Use cases
- filter django querysets from url parameters
- add dynamic filtering to django list views
- build django rest framework filter backends
- create admin-like list_filter interfaces
- filter products by name price and manufacturer
- declarative queryset filtering in django

## When to choose
- you use Django or Django REST Framework and need user-driven queryset filtering
- you want a declarative, ModelForm-like API for building filters
- you need a mature, stable library with long-term Django/Python support

## When to avoid
- you are not using Django
- you need filtering outside the ORM/queryset paradigm, e.g. search-engine or vector filtering
- you want client-side or frontend-only filtering

## Facets
- artifact type: library
- maturity: stable
- function: web-framework, routing, form-handling
- domain: web-development, backend, databases
- platform: python
- tags: django, queryset-filtering, django-rest-framework, filtersets, url-parameters

## Member repositories
- carltongibson/django-filter (main) score 64

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:56.957838+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:19:17.738549+00:00, confidence not recorded.
  - readme: https://github.com/carltongibson/django-filter (fetched 2026-08-28T04:08:56.957838+00:00, sha 6c33efdca834)
  - registry_pypi: https://pypi.org/pypi/django-filter/json (fetched 2026-08-29T09:03:51.139396+00:00, sha 90db6d5c97c3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
