by crevid ·
Hi, my name is Nikita Sobolev, I am a CPython core dev, Django Software Foundation member, and maintainer of countless Python / Django opensource tools.
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.
by randyrand ·
I love HN and I don’t want to see it die.
But bot accounts are growing everyday. Something more radical needs to be done.