$npx skillfedfor your agent

djangorestframework-filters

Better filtering for Django REST Framework

With conditionsPyPI WWW/HTTPReleased Mar 2019347.8K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — djangorestframework_filters-0.11.1-py2.py3-none-any.whl
v0.11.1 · released 2019-03-21 · 2 runtime deps: djangorestframework, django-filter

Yes, if you are using Django and DRF versions from the 2015–2019 era and need relationship-aware filtering without custom code. No, if you are on modern Django/DRF versions—compatibility is unverified, the package is dormant, and django-filter itself has absorbed many of the original features. Check whether django-filter's current capabilities meet your needs before adopting this package.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires djangorestframework and django-filter to be installed; package is dormant and targets older Django/DRF versions, so compatibility with modern versions is unverified.
  • Low install friction with a pure-Python wheel.
  • Maintenance is dormant—last release was 2019-03-21 and last commit 2023-11-25—so expect no active bug fixes or feature development, though the package remains stable for existing Django/DRF versions it targets.

License · maintenance · safety

MIT (permissive) — MIT license (permissive) means you can use, modify, and distribute this package freely in commercial and open-source projects with minimal restrictions.

last release 2019-03-21 (2703 days) · last repo commit 2023-11-25 · 853 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 347,792 downloads/mo, #7,346 on PyPI

Verify before relying

pip install djangorestframework-filters

from djangorestframework_filters import FilterSet

class ProductFilter(FilterSet):
    class Meta:
        model = Product
        fields = {'name': ['exact', 'icontains']}

# In Django settings:
REST_FRAMEWORK = {
    'DEFAULT_FILTER_BACKENDS': (
        'rest_framework_filters.backends.DjangoFilterBackend',
    ),
}
  • Compatibility with Django and DRF versions released after 2019.
  • Whether the package's features have been superseded by django-filter or djangorestframework since 2019.
  • Active maintenance or community support status beyond the last commit date.
Same gist for agents: .md · .json

What it is and what it does

djangorestframework-filters is an extension to Django REST Framework and django-filter that simplifies filtering across model relationships in API endpoints. Instead of writing complex query logic, you can traverse foreign keys and reverse relations using double-underscore syntax (e.g., `/api/articles?author__first_name__icontains=john`) and apply exclusion filters with a `!=` operator. The package wraps FilterSet and provides a DRF-compatible backend.

The package's main appeal is relationship traversal and method-based filtering, though the description notes that many of its original features have been merged back into django-filter itself. It depends on both djangorestframework and django-filter as runtime dependencies. The codebase is dormant—no releases since 2019-03-21 and last activity in 2023-11-25—so it is stable but receives no active maintenance or updates for newer versions.

Use it for

  • Filter API results by nested model fields without writing custom filter logic (e.g., find articles by author's first name).
  • Build exclusion filters using `!=` syntax to exclude records matching a condition in a single query parameter.
  • Traverse multiple relationship levels in a single filter call (e.g., company → department → manager).
  • Support method-based filtering across relationships, allowing custom logic to apply to related querysets.
  • Restrict related object querysets dynamically based on request context (e.g., show only departments in the user's company).

Worth the install?

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

With conditions

Yes, if you are using Django and DRF versions from the 2015–2019 era and need relationship-aware filtering without custom code.

No, if you are on modern Django/DRF versions—compatibility is unverified, the package is dormant, and django-filter itself has absorbed many of the original features. Check whether django-filter's current capabilities meet your needs before adopting this package.

Install

djangorestframework-filters on PyPI

Before you install

Low install friction with a pure-Python wheel. Maintenance is dormant—last release was 2019-03-21 and last commit 2023-11-25—so expect no active bug fixes or feature development, though the package remains stable for existing Django/DRF versions it targets.

Requires djangorestframework and django-filter to be installed; package is dormant and targets older Django/DRF versions, so compatibility with modern versions is unverified.

License in practice

MIT license (permissive) means you can use, modify, and distribute this package freely in commercial and open-source projects with minimal restrictions.

Quickstart

pip install djangorestframework-filters

from djangorestframework_filters import FilterSet

class ProductFilter(FilterSet):
    class Meta:
        model = Product
        fields = {'name': ['exact', 'icontains']}

# In Django settings:
REST_FRAMEWORK = {
    'DEFAULT_FILTER_BACKENDS': (
        'rest_framework_filters.backends.DjangoFilterBackend',
    ),
}

Verify before relying

  • Compatibility with Django and DRF versions released after 2019.
  • Whether the package's features have been superseded by django-filter or djangorestframework since 2019.
  • Active maintenance or community support status beyond the last commit date.

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
djangorestframeworkdjango-filter
MaintenanceDormant 2,703 days since the last release
Last repo commit
First released
Downloads347,792 / month, #7,346 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 LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Topic :: Internet :: WWW/HTTP

Evidence: djangorestframework_filters-0.11.1-py2.py3-none-any.whl

Tags

Capabilities
django rest framework filteringfilter across relationships djangodrf advanced filteringdjango api query filteringrelationship filtering rest apidjango filter negationrest framework filter backend
Topics
django-rest-frameworkfilteringquery-builder

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

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 django-filter · magic-filter · djangorestframework-jsonapi · djangorestframework-datatables · djangorestframework-role-filters · django-mock-queries · django-datatables-view · djangorestframework-bulk · django-admin-list-filter-dropdown · djangorestframework-guardian