$npx skillfedfor your agent

drf-rw-serializers

Generic views, viewsets and mixins that extend the Django REST Framework ones adding separated serializers for read and write operations

With conditionsPyPI Application FrameworksReleased Jun 202474.9K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — drf_rw_serializers-1.4.0-py3-none-any.whl
v1.4.0 · released 2024-06-06 · Python <4.0,>=3.8 · 1 runtime deps: djangorestframework

Yes, if you are building a djangorestframework API and need different serialization schemas for requests and responses. The package is straightforward to integrate, has low install friction, and solves a real architectural problem. However, note that maintenance is aging—the last release was 799 days ago—so verify compatibility with your current djangorestframework and Django versions before adopting.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires djangorestframework to be installed and configured; intended for use within a Django project with djangorestframework already set up.
  • Low install friction with a single runtime dependency on djangorestframework.
  • Maintenance status is aging—last release was 799 days ago, though the repository remains active with a recent commit on 2025-03-06 and no archived status.

License · maintenance · safety

MIT (permissive) — MIT license (permissive) permits commercial and private use with minimal restrictions, requiring only attribution and inclusion of the license text.

last release 2024-06-06 (799 days) · last repo commit 2025-03-06 · 181 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 74,870 downloads/mo, #14,780 on PyPI

Verify before relying

pip install drf-rw-serializers

from drf_rw_serializers.generics import GenericViewSet

class MyViewSet(GenericViewSet):
    read_serializer_class = MyReadSerializer
    write_serializer_class = MyWriteSerializer
  • Whether the package supports the latest djangorestframework versions and any recent breaking changes.
  • Performance characteristics when handling large datasets with separate read/write serializers.
  • Specific Django version compatibility beyond what the classifiers indicate.
Same gist for agents: .md · .json

What it is and what it does

drf-rw-serializers is a Django REST Framework extension that allows you to define separate serializers for read (response) and write (request) operations in your API views and viewsets. Instead of forcing a single serializer to handle both input validation and output representation, you can optimize each independently—for example, using a lightweight serializer for writes and a richer one for reads with nested relationships or computed fields.

The package provides drop-in replacements for djangorestframework's generic views, viewsets, and mixins that automatically route requests to your read_serializer_class or write_serializer_class as appropriate. It has a single runtime dependency on djangorestframework and supports Python 3.8, 3.9, 3.10, 3.11, and 3.12. The codebase is stable but aging, with the last release 799 days ago; however, the repository remains maintained with recent commits.

Use it for

  • API endpoints where write requests need minimal fields but responses include computed or nested data.
  • Separating input validation logic from output representation in complex djangorestframework projects.
  • Reducing payload size on write operations while enriching read responses with related objects.
  • Implementing different permission or field-level logic for incoming vs. outgoing serialization.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are building a djangorestframework API and need different serialization schemas for requests and responses.

The package is straightforward to integrate, has low install friction, and solves a real architectural problem. However, note that maintenance is aging—the last release was 799 days ago—so verify compatibility with your current djangorestframework and Django versions before adopting.

Install

drf-rw-serializers on PyPI

Before you install

Low install friction with a single runtime dependency on djangorestframework. Maintenance status is aging—last release was 799 days ago, though the repository remains active with a recent commit on 2025-03-06 and no archived status.

Requires djangorestframework to be installed and configured; intended for use within a Django project with djangorestframework already set up.

License in practice

MIT license (permissive) permits commercial and private use with minimal restrictions, requiring only attribution and inclusion of the license text.

Quickstart

pip install drf-rw-serializers

from drf_rw_serializers.generics import GenericViewSet

class MyViewSet(GenericViewSet):
    read_serializer_class = MyReadSerializer
    write_serializer_class = MyWriteSerializer

Verify before relying

  • Whether the package supports the latest djangorestframework versions and any recent breaking changes.
  • Performance characteristics when handling large datasets with separate read/write serializers.
  • Specific Django version compatibility beyond what the classifiers indicate.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <4.0,>=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
djangorestframework
MaintenanceAging 799 days since the last release
Last repo commit
First released
Downloads74,870 / month, #14,780 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: drf_rw_serializers-1.4.0-py3-none-any.whl

Tags

Capabilities
django rest framework read write serializersdrf separate serializers requests responsesdjango api different input output schemasdrf viewsets read write operationsdjango rest framework dual serializers
Topics
django-rest-frameworkserializationapi-design

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “django rest framework read write serializers”

Give your agent the search over MCP, or paste the wish link into any chat.

More Application Frameworks packages

fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
textual Worth it
PyPI · Application Frameworks · released Jun 2026

Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.

Install it if you're developing CLI tools, dashboards, or interactive terminal applications.

MITpure Python
443.6Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
mcp Worth it
PyPI · Application Frameworks · released Jul 2026

Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.

Install it if you need to build or connect to servers.

MITpure Python · 3.10+
319.3Mdownloads / mo
Werkzeug Worth it
PyPI · Application Frameworks · released Apr 2026

Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.

BSD-3-Clausepure Python · 3.9+
268.1Mdownloads / mo

See also djangorestframework-bulk · drf-extensions · drf-dynamic-fields · djangorestframework · drf-writable-nested · rest-framework-generic-relations · drf-exceptions-hog · adrf · drf-standardized-errors · django-service-objects