PEP-484 stubs for django-rest-framework
Project description
pep484 stubs for Django REST framework
Mypy stubs for Django REST Framework. Supports Python 3.7 and up.
Installation
pip install djangorestframework-stubs[compatible-mypy]
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.10.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69e8a1ea7eb815cbe35155c27eee72522d7c8666d3cbdacb9997ab88c7b4202c |
|
MD5 | bd590e71eb430dbf2eeb169db08b0aff |
|
BLAKE2b-256 | ef77c9d60a9d3f0f98e8ef401a06b1ea5f72d9965ba0319f0c1662c6374dd677 |
Close
Hashes for djangorestframework_stubs-1.10.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 433edd7f10786914138b300b9be5aba1ebc80c471b5156934664afd7e9df9fd6 |
|
MD5 | d58f9731b6a39ddea477b297bc2c5877 |
|
BLAKE2b-256 | df953cc0b76a02260d7659f34070a3a5d0da3920d7235d3d2e69c4b119c58476 |