Tag: python
All the articles with the tag "python".
Stop Reaching for APIView: Picking the Right DRF View Class
An in-depth take on DRF API design: when to reach for ModelViewSet, GenericViewSet with mixins, the concrete generic views, or plain APIView, and why the serializer is what makes the choice pay off.
Schema-First API Development with DRF + React: OpenAPI as the Contract
How my team ships DRF + React features without ever hitting a mistyped param or outdated API call: drf-spectacular as the source of truth, generated zod clients, auto-generated forms, and strict typing on both sides.
nplus1: A Modern N+1 Query Detector for Django, SQLAlchemy, and Peewee
A maintained, improved successor to nplusone — no more false positives on nullable foreign keys, stack traces in every detection, batch reporting, and full strict typing.
copit: Copy Source Code Into Your Project, shadcn/ui Style
A CLI that copies source code from GitHub repos, URLs, and ZIP archives directly into your project — tracked, updatable, and fully yours. A Rust binary installable via pip.