# chibisov/drf-extensions

DRF-extensions is a collection of custom extensions for Django REST Framework

Repository: https://github.com/chibisov/drf-extensions
Canonical: https://ross.abutalabs.com/products/drf-extensions
Homepage: http://chibisov.github.io/drf-extensions/docs
Language: Python
License: MIT
License Family: permissive
Last push: 2026-08-06T15:27:10+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 96, release rhythm 8, longevity 100
- inputs: {"age_days": 4787, "days_push": 27, "days_rel": 510, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1552, forks 210 (observed 2026-08-28T04:05:02.340694+00:00)

## What it is
DRF-extensions is a collection of custom extensions for Django REST Framework, providing mixins, routers, caching, conditional requests, nested routes, and bulk operations. It is a Python library installed via pip that augments DRF viewsets and serializers with additional functionality.

## Use cases
- add caching and ETag conditional requests to DRF endpoints
- use different serializers for list and detail views
- create nested routes for related resources
- perform bulk update and destroy operations on viewsets
- customize cache key construction per user, headers, or query params
- extend Django REST Framework routers with pluggable mixins

## When to choose
- you already use Django REST Framework and need caching, nested routes, or bulk operations
- you want drop-in mixins rather than building custom viewset logic
- you need conditional request/ETAG support out of the box

## When to avoid
- you don't use Django or Django REST Framework
- you need a standalone REST framework rather than DRF extensions
- you need features not covered by the library's mixins and routers

## Facets
- artifact type: library
- maturity: active
- function: middleware, caching, routing, serialization
- domain: web-development, backend, apis
- platform: python
- tags: django-rest-framework, django, rest-api, viewsets, nested-routes, etag, bulk-operations

## Member repositories
- chibisov/drf-extensions (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:02.340694+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-30T04:30:11.700222+00:00, confidence not recorded.
  - readme: https://github.com/chibisov/drf-extensions (fetched 2026-08-28T04:05:02.340694+00:00, sha c546d8230a6a)
  - homepage: http://chibisov.github.io/drf-extensions/docs (fetched 2026-08-29T11:30:36.741168+00:00, sha dcce5123450a)
  - registry_pypi: https://pypi.org/pypi/drf-extensions/json (fetched 2026-08-29T11:30:36.751018+00:00, sha 32deb3272f60)
- Data as of 2026-08-30T08:39:29.467469+00:00.
