PEP-484 stubs for django-rest-framework
Project description
pep484 stubs for Django REST framework
Mypy stubs for DRF 3.12.x. Supports Python 3.6, 3.7, 3.8 and 3.9.
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.
Contributing
This project is open source and community driven. As such we encourage contributions big and small. You can contribute by doing any of the following:
- Contribute code (e.g. improve stubs, add plugin capabilities, write tests etc) - to do so please follow the contribution guide.
- Assist in code reviews and discussions in issues.
- Identify bugs and issues and report these
You can always also reach out in gitter to discuss your contributions!
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
Close
Hashes for djangorestframework-stubs-1.5.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cac68901245c495064fd2a018b615f32e5c706c984b8c0e35bc3936ed5fac5d |
|
MD5 | 565475ba8b3fb8b22c225eff43b013c7 |
|
BLAKE2b-256 | ca569a753888adbb214c370af79b5d4342edf039a93383c875410530a7278915 |
Close
Hashes for djangorestframework_stubs-1.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2bd9f157d7bacb8b136c1c6ea70d4f0d69db282aca76192bb76dfd54278355aa |
|
MD5 | 25f0a56606caa7d72dbb4abf720431e5 |
|
BLAKE2b-256 | 84acc78144cc82a8945122cfc7ce8ae369dff8be371609a22f05f1db53e4e1c5 |