{"categories":[{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance/2"}],"enrichment":{"capability":"Provides type stubs for Django Rest Framework, enabling static type checking with mypy, pyright, and other type checkers without requiring a mypy plugin.","skillfed_tags":["type-stubs","static-analysis","django-ecosystem"],"use_cases":["Add type checking to Django Rest Framework projects using mypy or pyright without installing a mypy plugin","Catch serializer, viewset, and API endpoint type errors during development before deployment","Enable IDE autocomplete and type hints for Django Rest Framework classes and methods","Migrate from an older type-stub package to a plugin-free alternative that works with multiple type checkers","Ensure type safety in REST API views and serializers across a team's codebase"],"what_it_does":"This package provides type stubs for Django Rest Framework, the popular REST API toolkit for Django. Type stubs are interface definitions that allow static type checkers like mypy and pyright to understand the types of Django Rest Framework's classes and functions, enabling developers to catch type errors during development rather than at runtime.\n\nThe package was forked from djangorestframework-stubs specifically to remove the mypy plugin dependency, which could crash when Django configuration issues arose. By providing pure stubs instead, it works with multiple type checkers\u2014not just mypy\u2014and avoids the fragility of plugin-based type checking. It has a single runtime dependency on typing_extensions and supports Python 3.8 through 3.12.","worth_installing":"Yes, if you use Django Rest Framework and want static type checking. The low install friction, permissive license, and multi-checker support make it practical. However, the aging maintenance status (673 days since last release) means you should verify that type coverage matches your Django Rest Framework version before committing to it in a new project."},"id":"djangorestframework-types","links":{"html":"https://skillfed.io/packages/djangorestframework-types","md":"https://skillfed.io/packages/djangorestframework-types.md","pypi":"https://pypi.org/project/djangorestframework-types/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2024-10-10","license_spdx":null,"license_treatment":"permissive","name":"djangorestframework-types","python_support":"supports_current","summary":"Type stubs for Django Rest Framework"},"popularity":{"monthly_downloads":379713,"position":7109,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.9.0"}
