{"library":"djangorestframework-stubs","type":"library","category":null,"description":"djangorestframework-stubs provides PEP-484 type stubs for the Django REST Framework (DRF) library, enabling static type checking with tools like MyPy. It ensures type correctness for DRF components, improving code quality and maintainability. The current version is 3.16.9, with new releases often accompanying updates to DRF, Django, or MyPy.","language":"python","status":"active","version":"3.16.9","tags":["django","drf","mypy","type-stubs","typing","static-analysis"],"last_verified":"Wed May 20","install":[{"cmd":"pip install djangorestframework-stubs","imports":["from rest_framework.serializers import ModelSerializer","from rest_framework.viewsets import ViewSet","from rest_framework.request import Request"]},{"cmd":"pip install djangorestframework-stubs[requests]","imports":[]}],"homepage":null,"github":"https://github.com/sponsors/typeddjango","docs":null,"changelog":"https://github.com/typeddjango/djangorestframework-stubs/releases","pypi":"https://pypi.org/project/djangorestframework-stubs/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":50,"avg_install_s":4.2,"avg_import_s":null,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/djangorestframework-stubs/compatibility"}}