Now I am happy to present to you my new project.
Docs: https://django-modern-rest.rtfd.io/ Code: https://github.com/wemake-services/django-modern-rest/
Features:
- No AI slop, but built for the LLM era.
- Blazingly fast.
- Supports Django >= 4.2
- Supports `pydantic2`, `msgspec`, `attrs`, `dataclasses`, `TypedDict` as model schemas, but not bound to any of these libraries.
- Supports async Django without any `sync_to_async` calls inside, tested to work with free-threading builds.
- Fully typed and checked with `mypy`, `pyright`, and `pyrefly` in strict modes.
- Supports content negotiation, has default implementations for `json`, `msgpack`, SSE, Json Lines, and more.
- Strict schema validation of both requests and responses, including errors.
- Supports OpenAPI 3.1 / 3.2 semantic schema generation out of the box.
- Supports all your existing `django` primitives and packages, no custom runtimes.
- Great testing tools with `schemathesis`, `polyfactory`, `tracecov`, bundled `pytest` plugin, and default Django's testing primitives.
- 100% test coverage with 2000+ of carefully designed unit, integration, and property-based tests.
- High security standards.
- Built by the community for the community, not a single-person project.
- Great docs.
parasmadan•56m ago
Honestly, I kind of forgot the name because of the LLM rush and everything around, but this is so good. Coming across brought back a lot of memories. Thank you for that, and yes, I will check out the entire project. It looks good.
sobolevn•41m ago
I also have a very warm relationship with Django. I used it for my first ever Python project back in 2010. And it made me to ditch Java and come to Python land. Great memories!