djangorestframework-recursive
Recursive Serialization for Django REST framework
Decision gist · record as of 2026-08-14
No—unless you are maintaining legacy code on Django 1.8–2.0 and DRF 3.3–3.7. The package is Pre-Alpha, dormant since 2017, and untested against modern versions. For new projects, use built-in DRF nested serializers or a maintained alternative. The lack of recent updates and pre-release status create risk of incompatibility and unresolved bugs.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Django and Django REST Framework to be installed separately; tested against Django 1.8–2.0 and DRF 3.3–3.7, but compatibility with modern versions is unverified.
- Low install friction with no runtime dependencies.
- Dormant since July 2017; last commit August 2024 suggests minimal maintenance.
License · maintenance · safety
BSD (permissive) — BSD license is permissive; you can use, modify, and distribute this package freely in most contexts without restriction.
last release 2017-07-04 (3328 days) · last repo commit 2024-08-14 · 367 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 267,185 downloads/mo, #8,295 on PyPI
Alternatives
Verify before relying
pip install djangorestframework-recursive
from djangorestframework_recursive.fields import RecursiveField
class TreeSerializer(serializers.Serializer):
name = serializers.CharField()
children = serializers.ListField(child=RecursiveField())- Whether RecursiveField works with current versions of Django (3.2+) and Django REST Framework (3.12+)
- Whether validation and deserialization work as documented in the description excerpt
- Whether multi-step recursive structures are production-ready or experimental
What it is and what it does
djangorestframework-recursive provides a RecursiveField that handles serialization and deserialization of recursive data structures in Django REST Framework. Instead of writing custom recursive logic or nested serializers, you can use RecursiveField as a child of a ListField to represent tree nodes, linked lists, or acyclic graphs. The package claims to support validation, deserialization, ModelSerializers, and multi-step recursive structures.
The package is in Pre-Alpha status and has been dormant since its latest release. It was tested against Python 2.7, 3.4, and 3.6; Django 1.8–2.0; and DRF 3.3–3.7. No runtime dependencies are required beyond Django and DRF themselves, making installation straightforward. However, the lack of recent maintenance and pre-release status mean compatibility with modern Python, Django, and DRF versions is unverified.
Use it for
- Serialize a tree of categories or organizational hierarchies in a REST API without manually nesting serializers
- Handle linked-list structures like comment threads with replies in JSON responses
- Deserialize and validate recursive JSON payloads representing graphs or nested structures
- Build a ModelSerializer for Django models with self-referential foreign keys
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No—unless you are maintaining legacy code on Django 1.8–2.0 and DRF 3.3–3.7.
The package is Pre-Alpha, dormant since 2017, and untested against modern versions. For new projects, use built-in DRF nested serializers or a maintained alternative. The lack of recent updates and pre-release status create risk of incompatibility and unresolved bugs.
Install
djangorestframework-recursive on PyPI
Before you install
Low install friction with no runtime dependencies. Dormant since July 2017; last commit August 2024 suggests minimal maintenance. Pre-Alpha status and lack of recent activity mean expect limited support for modern Django or DRF versions.
Requires Django and Django REST Framework to be installed separately; tested against Django 1.8–2.0 and DRF 3.3–3.7, but compatibility with modern versions is unverified.
License in practice
BSD license is permissive; you can use, modify, and distribute this package freely in most contexts without restriction.
Quickstart
pip install djangorestframework-recursive
from djangorestframework_recursive.fields import RecursiveField
class TreeSerializer(serializers.Serializer):
name = serializers.CharField()
children = serializers.ListField(child=RecursiveField())
Verify before relying
- Whether RecursiveField works with current versions of Django (3.2+) and Django REST Framework (3.12+)
- Whether validation and deserialization work as documented in the description excerpt
- Whether multi-step recursive structures are production-ready or experimental
Package facts
| License | BSD permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Dormant 3,328 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 267,185 / month, #8,295 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 2 - Pre-AlphaEnvironment :: Web EnvironmentFramework :: DjangoIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Topic :: Internet :: WWW/HTTP |
Evidence: djangorestframework_recursive-0.1.2-py2.py3-none-any.whl
Tags
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 recursive serialization”
- djangorestframework-recursiveAdds a RecursiveField to Django REST Framework that serializes and…
- django-rest-polymorphicProvides polymorphic serializers for Django REST Framework that map…
- djangorestframework-yamlAdds YAML parsing and rendering support to Django REST Framework,…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also drf-writable-nested · drf-extra-fields · drf-dynamic-fields · djangorestframework-gis · drf-extensions · drf-rw-serializers · djangorestframework-xml · djangorestframework-yaml · drf-jsonschema-serializer · djangorestframework