PEP-484 stubs for django-rest-framework
Project description
pep484 stubs for Django REST framework
Mypy stubs for DRF 3.9.x. Supports Python 3.6 and 3.7.
Installation
pip install djangorestframework-stubs
To make mypy aware of the plugin, you need to add
[mypy]
plugins =
mypy_drf_plugin.main
in your mypy.ini
file.
To get help
We have Gitter here https://gitter.im/mypy-django/Lobby.
If you think you have more generic typing issue, please refer to https://github.com/python/mypy and their Gitter.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file djangorestframework-stubs-0.4.1.tar.gz
.
File metadata
- Download URL: djangorestframework-stubs-0.4.1.tar.gz
- Upload date:
- Size: 23.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6490fd7d48d17085d7dc415332e1aad2e1557d5ff1b5164087e91ac210ea6b2f |
|
MD5 | 0f2174609515580db80572b23ea1d0bb |
|
BLAKE2b-256 | 14826e6a906362ebfa5f7a7d0590a488adce33c060e7bdb75df8b346b19d21bb |
File details
Details for the file djangorestframework_stubs-0.4.1-py2.py3-none-any.whl
.
File metadata
- Download URL: djangorestframework_stubs-0.4.1-py2.py3-none-any.whl
- Upload date:
- Size: 41.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13923467584f67cb422185f8d1d09155cac8d675376f752aba18bb317f690b25 |
|
MD5 | 518bf79435c18c41e88db274cbc714ae |
|
BLAKE2b-256 | 665fbae83afeaa74d93014f8835fd9b280f63976006609fc227fc2da86573b16 |