#5858th of 110 in Backend and cloud templates

django-modern-rest

Typed REST API framework for Django with async views and OpenAPI generation

Run it:RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Releases and problems feed (RSS)

Stars
1.6k
License
MIT
Last commit
Nov 2026
Last release
Nov 2026
Language
Python
Stars, last 29 weeks+400
6 May 2026: 1,167 stars13 May 2026: 1,184 stars20 May 2026: 1,195 stars27 May 2026: 1,221 stars3 Jun 2026: 1,238 stars10 Jun 2026: 1,248 stars17 Jun 2026: 1,253 stars24 Jun 2026: 1,264 stars1 Jul 2026: 1,272 stars8 Jul 2026: 1,284 stars15 Jul 2026: 1,288 stars22 Jul 2026: 1,294 stars29 Jul 2026: 1,301 stars5 Aug 2026: 1,311 stars12 Aug 2026: 1,331 stars19 Aug 2026: 1,349 stars26 Aug 2026: 1,362 stars2 Sept 2026: 1,402 stars9 Sept 2026: 1,431 stars16 Sept 2026: 1,447 stars23 Sept 2026: 1,460 stars30 Sept 2026: 1,469 stars7 Oct 2026: 1,490 stars14 Oct 2026: 1,496 stars21 Oct 2026: 1,505 stars28 Oct 2026: 1,514 stars4 Nov 2026: 1,518 stars11 Nov 2026: 1,543 stars18 Nov 2026: 1,555 stars25 Nov 2026: 1,567 stars

1,167 on 6 May 20261,567 on 25 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

django-modern-rest is a Python library for building REST APIs on top of Django. Controllers declare typed body, header and response models, which are validated at runtime and used to generate OpenAPI 3.1/3.2 schemas. It has no AI features, so it fits this list only as a backend API layer you could put in front of models or agents.

Who it is for: Django developers building typed, async REST APIs

Strengths

  • Schema libraries are pluggable: pydantic2, msgspec, attrs, dataclasses or TypedDict
  • Async views without sync_to_async wrappers; tested on free-threading builds
  • Validates both requests and responses; content negotiation covers json, msgpack, SSE, Json Lines
  • Testing tools: schemathesis, polyfactory, bundled pytest plugin; 4000+ tests

Weaknesses

  • Library, not a starter app; no AI, model or agent integration included
  • Requires CPython or PyPy 3.11+ and Django 5.0 to 6.1
  • Fastest JSON parsing needs the msgspec extra, which is optional to install
  • Performance claims link to docs benchmarks; no figures in the README

What it needs

  • Python
  • Needs Django 5.0-6.1, Python 3.11+

What changed

  1. “Replaced Sentinel class in all typing annotations to be EMPTY”

  2. 0.16.0 ↗ (opens in a new tab)BreakingSecurity fix

    “The complete list lives in the”

    “Describe API gateways, service meshes, or mTLS that protect your endpoints”

  3. “check_auth of RefreshTokenSyncController, RefreshTokenAsyncController,”

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Also in Backend and cloud templates

See all 110
Also in Backend and cloud templates
RankProjectScore
#56quartAsync Python web framework, a Flask reimplementation on asyncio3.7k starsMIT67 out of 100
#57amberRails- and Phoenix-inspired web framework for the Crystal language2.6k starsMIT67 out of 100
#59deepkitTypeScript framework with runtime types for validation, ORM, HTTP and RPC3.6k starsMIT66 out of 100
#60dropwizardJava framework bundling Jetty, Jersey and Jackson for REST services8.6k starsApache-2.065 out of 100
#61typescript-express-starterCLI that generates TypeScript Express REST API projects with selectable tooling2.9k starsMIT65 out of 100