$npx skillfedfor your agent

djangorestframework-queryfields

Serialize a partial subset of fields in the API

With conditionsPyPI LibrariesReleased Nov 202396.0K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — djangorestframework_queryfields-1.1.0-py2.py3-none-any.whl
v1.1.0 · released 2023-11-22

Yes, if you use Django REST framework and want to give clients control over response fields. The package is stable, has no dependencies, and solves a real bandwidth problem. The dormant maintenance status is not a blocker since the code is mature; verify compatibility with your specific Django 1.7 - 3.2+ and DRF versions before adopting.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Django 1.7 - 3.2+ and Django REST framework installed separately.
  • Low install friction with no runtime dependencies.
  • Maintenance is dormant—last release was 2023-11-22, over 996 days ago, though the repository remains active with recent commits and is not archived.

License · maintenance · safety

MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in both open and proprietary projects with minimal obligations.

last release 2023-11-22 (996 days) · last repo commit 2024-11-05 · 223 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 95,994 downloads/mo, #13,237 on PyPI

Verify before relying

pip install djangorestframework-queryfields

# In your Django REST framework serializer, use the package to filter fields
# Client requests: GET /users/?fields=id,username
  • Which specific module or class name to import and use from the package.
  • Current compatibility with Django versions beyond 3.2 and modern Python releases.
  • Whether exclusion syntax (fields!=id) is supported or only inclusion.
Same gist for agents: .md · .json

What it is and what it does

This package extends Django REST framework to let API clients specify which fields they want in responses using query parameters. Instead of always returning all fields, a client can request only what it needs—for example, requesting just id and username fields, or all fields except id. This reduces bandwidth and improves performance for clients working with large or deeply nested API responses.

The package integrates with Django REST framework serializers and has no runtime dependencies beyond Django and DRF themselves, making it lightweight to add to existing projects. Maintenance is dormant but the repository is not archived, with 223 GitHub stars since its 2016-10-19 release.

Use it for

  • Mobile apps requesting minimal data to reduce network traffic and battery consumption.
  • Frontend applications fetching large objects but only needing specific fields for display.
  • API clients with bandwidth constraints selecting only required fields to optimize payload size.
  • Building flexible APIs where different clients have different field requirements without multiple endpoints.
  • Debugging and testing by requesting specific fields to inspect API structure.

Worth the install?

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

With conditions

Yes, if you use Django REST framework and want to give clients control over response fields.

The package is stable, has no dependencies, and solves a real bandwidth problem. The dormant maintenance status is not a blocker since the code is mature; verify compatibility with your specific Django 1.7 - 3.2+ and DRF versions before adopting.

Install

djangorestframework-queryfields on PyPI

Before you install

Low install friction with no runtime dependencies. Maintenance is dormant—last release was 2023-11-22, over 996 days ago, though the repository remains active with recent commits and is not archived.

Requires Django 1.7 - 3.2+ and Django REST framework installed separately.

License in practice

MIT license permits unrestricted use, modification, and distribution in both open and proprietary projects with minimal obligations.

Quickstart

pip install djangorestframework-queryfields

# In your Django REST framework serializer, use the package to filter fields
# Client requests: GET /users/?fields=id,username

Verify before relying

  • Which specific module or class name to import and use from the package.
  • Current compatibility with Django versions beyond 3.2 and modern Python releases.
  • Whether exclusion syntax (fields!=id) is supported or only inclusion.

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceDormant 996 days since the last release
Last repo commit
First released
Downloads95,994 / month, #13,237 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Framework :: DjangoIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 2Programming Language :: Python :: 3Topic :: Software Development :: Libraries

Evidence: djangorestframework_queryfields-1.1.0-py2.py3-none-any.whl

Tags

Capabilities
django rest api field filteringpartial response serializationquery parameter field selectionreduce api response payloadselective field serializationsparse fields apiapi response field control
Topics
django-rest-frameworkapi-optimizationserialization

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 › “partial response serialization”

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

More Libraries 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
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also fastapi-filter · djangorestframework · drf-api-logger · marshmallow-union · apischema · django-clone · colcon-package-selection · validator-collection · drf-dynamic-fields · azure-functions