#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.
- Stars
- 1.6k
- License
- MIT
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Python
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
- 0.17.0 ↗ (opens in a new tab)Breaking
“Replaced Sentinel class in all typing annotations to be EMPTY”
“The complete list lives in the”
“Describe API gateways, service meshes, or mTLS that protect your endpoints”
- 0.15.0 ↗ (opens in a new tab)Breaking
“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| Rank | Project | Score |
|---|---|---|
| #56 | quartAsync Python web framework, a Flask reimplementation on asyncio | 67 out of 100 |
| #57 | amberRails- and Phoenix-inspired web framework for the Crystal language | 67 out of 100 |
| #59 | deepkitTypeScript framework with runtime types for validation, ORM, HTTP and RPC | 66 out of 100 |
| #60 | dropwizardJava framework bundling Jetty, Jersey and Jackson for REST services | 65 out of 100 |
| #61 | typescript-express-starterCLI that generates TypeScript Express REST API projects with selectable tooling | 65 out of 100 |