types-django-filter
Typing stubs for django-filter
Decision gist · record as of 2026-08-14
Yes, if you use django-filter in a project with static type checking enabled. It has low friction, no security concerns, and is actively maintained. If you don't use a type checker or don't use django-filter, there is no reason to install it.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Intended for use with a type checker (mypy, pyright, or ty) in your development workflow.
- Low install friction with a single runtime dependency on django-stubs.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in most commercial and open-source projects without significant restrictions.
last release 2026-08-07 (7 days) · last repo commit 2026-08-14 · 37 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 126,004 downloads/mo, #11,792 on PyPI
Alternatives
Verify before relying
pip install types-django-filter
# In your type-checked code, type checkers now understand
# the django-filter API signatures when you import it- Whether this stub package is automatically discovered by type checkers or requires explicit configuration
- Compatibility with django-filter versions outside the 26.1.* range
- How django-stubs and types-django-filter interact in a project setup
What it is and what it does
types-django-filter is a type stub package that supplies type annotations for django-filter. It allows Python type checkers—mypy 2.3.0, pyright 1.1.411, and ty 0.0.59—to understand the types and signatures exposed by django-filter, catching type errors at development time rather than runtime. The package is maintained as part of typeshed and is tested against multiple type checker versions to ensure accuracy.
If you use django-filter in a Django project and want static type checking, installing this package alongside django-stubs enables your type checker to validate filter definitions and filter field usage. It has no runtime effect and is purely a development-time aid for catching bugs before deployment.
Use it for
- Enable mypy or pyright to type-check Django views that use django-filter for query filtering
- Catch type errors in FilterSet definitions and filter field declarations during development
- Improve IDE autocomplete and inline type hints when writing django-filter code
- Support CI/CD pipelines that enforce type checking on Django projects using django-filter
- Validate type safety when passing filter parameters in API endpoints
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use django-filter in a project with static type checking enabled.
It has low friction, no security concerns, and is actively maintained. If you don't use a type checker or don't use django-filter, there is no reason to install it.
Install
types-django-filter on PyPI
Before you install
Low install friction with a single runtime dependency on django-stubs. The package is actively maintained with a release 7 days ago and no known vulnerabilities.
Requires Python 3.10 or later. Intended for use with a type checker (mypy, pyright, or ty) in your development workflow.
License in practice
Licensed under Apache-2.0 (permissive), allowing use in most commercial and open-source projects without significant restrictions.
Quickstart
pip install types-django-filter
# In your type-checked code, type checkers now understand
# the django-filter API signatures when you import it
Verify before relying
- Whether this stub package is automatically discovered by type checkers or requires explicit configuration
- Compatibility with django-filter versions outside the 26.1.* range
- How django-stubs and types-django-filter interact in a project setup
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagedjango-stubs |
| Maintenance | Actively maintained 7 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 126,004 / month, #11,792 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: Python :: 3Typing :: Stubs Only |
Evidence: types_django_filter-26.1.0.20260807-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 › “type checking django filtering”
- types-django-filterProvides type hints for django-filter, enabling static type checkers…
- django-filter-stubsProvides PEP-484 type stubs for django-filter to enable static type…
- bridgekeeperBridgekeeper provides a permissions system for Django projects where…
Give your agent the search over MCP, or paste the wish link into any chat.
More Quality Assurance packages
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
Ruff is a Python linter and code formatter written in Rust that combines linting, formatting, and code fixing into a single tool, replacing Flake8, Black, isort, and related utilities.
Pexpect spawns and controls interactive console applications by sending input and matching output patterns, automating tasks that would otherwise require manual interaction.
Black reformats Python source code to a consistent style by parsing entire files and rewriting them according to an opinionated, deterministic set of rules, eliminating manual formatting decisions.
pytest-xdist distributes pytest tests across multiple CPU cores or machines to speed up test execution, with the simplest usage being `pytest -n auto` to spawn workers equal to available CPUs.
Install it if your test suite takes long enough that parallelization would save meaningful time.
Validates AWS CloudFormation templates in YAML or JSON format against resource provider schemas and best practices, checking property values and configuration correctness.
Install it if you work with CloudFormation templates.
See also django-filter-stubs · types-docker · types-yt-dlp · types-dateparser · types-geopandas · types-mypy-extensions · types-tensorflow · types-openpyxl · types-pyflakes · types-jmespath