$npx skillfedfor your agent

djangorestframework-yaml

YAML support for Django REST Framework

SkipPyPI WWW/HTTPReleased Apr 202077.8K downloads / moBSDPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — djangorestframework_yaml-2.0.0-py2.py3-none-any.whl
v2.0.0 · released 2020-04-27 · Python >=3.5 · 1 runtime deps: PyYAML

No, unless you are locked to an older Django and REST Framework stack. The package is abandoned (last release 2020-04-27, no commits since), making it a liability for any modern Django project. If you need YAML support in a current REST Framework setup, investigate maintained alternatives or implement a custom parser/renderer instead of adopting unmaintained code.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; package is abandoned and may not work with current versions of either framework.
  • Low install friction with a single runtime dependency (PyYAML).
  • However, the package is abandoned—last release was 2020-04-27, over 2300 days ago, with no recent commits.

License · maintenance · safety

BSD (permissive) — BSD license is permissive, imposing no restrictions on commercial or private use. You may use, modify, and distribute this package freely as long as you include the original license notice.

last release 2020-04-27 (2300 days) · last repo commit 2023-04-26 · 31 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 77,801 downloads/mo, #14,493 on PyPI

Verify before relying

pip install djangorestframework-yaml

# In Django settings.py:
REST_FRAMEWORK = {
    'DEFAULT_PARSER_CLASSES': (
        'rest_framework_yaml.parsers.YAMLParser',
    ),
    'DEFAULT_RENDERER_CLASSES': (
        'rest_framework_yaml.renderers.YAMLRenderer',
    ),
}
  • Compatibility with Django versions released after 2020-04-27 and current REST Framework releases.
  • Whether PyYAML security updates are sufficient for production use given the package's abandonment.
  • Active community forks or maintained alternatives for YAML support in modern Django REST Framework.
Same gist for agents: .md · .json

What it is and what it does

djangorestframework-yaml is a third-party extension that integrates YAML format support into Django REST Framework. It provides a YAMLParser to deserialize incoming YAML request bodies and a YAMLRenderer to serialize API responses as YAML, built on top of PyYAML. This allows developers to configure their REST APIs to accept and return YAML instead of (or alongside) JSON or other formats.

The package was extracted from Django REST Framework's official codebase as a standalone module. It integrates at the framework level through Django's settings configuration, letting you set YAML as the default parser and renderer globally or per-view. However, the package has been abandoned since April 2020 with no active maintenance, meaning it may not be compatible with recent versions of Django or REST Framework.

Use it for

  • Serve legacy clients or systems that expect YAML-formatted API responses instead of JSON.
  • Build internal tools or microservices where YAML is preferred for human readability in request/response bodies.
  • Support bidirectional YAML serialization in REST APIs for teams already using YAML in their infrastructure.
  • Migrate from older Django REST Framework versions that had built-in YAML support before it was extracted.

Worth the install?

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

Skip

No, unless you are locked to an older Django and REST Framework stack.

The package is abandoned (last release 2020-04-27, no commits since), making it a liability for any modern Django project. If you need YAML support in a current REST Framework setup, investigate maintained alternatives or implement a custom parser/renderer instead of adopting unmaintained code.

Install

djangorestframework-yaml on PyPI

Before you install

Low install friction with a single runtime dependency (PyYAML). However, the package is abandoned—last release was 2020-04-27, over 2300 days ago, with no recent commits. Use only if your Django and REST Framework versions are locked to older releases or if you can maintain a fork.

Requires Django and Django REST Framework to be installed separately; package is abandoned and may not work with current versions of either framework.

License in practice

BSD license is permissive, imposing no restrictions on commercial or private use. You may use, modify, and distribute this package freely as long as you include the original license notice.

Quickstart

pip install djangorestframework-yaml

# In Django settings.py:
REST_FRAMEWORK = {
    'DEFAULT_PARSER_CLASSES': (
        'rest_framework_yaml.parsers.YAMLParser',
    ),
    'DEFAULT_RENDERER_CLASSES': (
        'rest_framework_yaml.renderers.YAMLRenderer',
    ),
}

Verify before relying

  • Compatibility with Django versions released after 2020-04-27 and current REST Framework releases.
  • Whether PyYAML security updates are sufficient for production use given the package's abandonment.
  • Active community forks or maintained alternatives for YAML support in modern Django REST Framework.

Package facts

LicenseBSD permissive
Python supportSupports the current Python release >=3.5
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
PyYAML
MaintenanceAbandoned 2,300 days since the last release
Last repo commit
First released
Downloads77,801 / month, #14,493 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: DjangoIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Topic :: Internet :: WWW/HTTP

Evidence: djangorestframework_yaml-2.0.0-py2.py3-none-any.whl

Tags

Capabilities
django rest framework yamlyaml parser django restyaml renderer drfdjango api yaml supportrest framework yaml serialization
Topics
django-rest-frameworkyaml-serializationabandoned

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 yaml”

  • djangorestframework-yamlAdds YAML parsing and rendering support to Django REST Framework,…
  • django-tastypiedjango-tastypie provides a REST API framework for Django that…
  • drf-yasgGenerates Swagger/OpenAPI 2.0 specifications automatically from…

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

More WWW/HTTP packages

urllib3 Worth it
PyPI · Libraries · released May 2026

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.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

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.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
httpx Worth it
PyPI · WWW/HTTP · released Dec 2024

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.

BSD-3-Clausepure Python · 3.8+
797.0Mdownloads / mo
httpcore With conditions
PyPI · WWW/HTTP · released Apr 2025

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.

BSD-3-Clausepure Python · 3.8+aging
783.6Mdownloads / mo
aiohttp Worth it
PyPI · WWW/HTTP · released Jul 2026

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.

permissive licensecompiled wheel · 3.10+
643.6Mdownloads / mo

See also adrf · djangorestframework-xml · djangorestframework-csv · djangorestframework · PyYAML · drf-extra-fields · yamlable · drf-orjson-renderer · drf-yasg · djangorestframework-role-filters