We have hosted the application pep484 stubs for django in order to run this application in our online workstations with Wine or directly.
Quick description about pep484 stubs for django:
This package contains type stubs and a custom mypy plugin to provide more precise static types and type inference for Django framework. Django uses some Python "magic" that makes having precise types for some code patterns problematic. This is why we need this project. The final goal is to be able to get precise types for the most common patterns. We are independent from Django at the moment. There's a proposal to merge our project into the Django itself. You can show your support by liking the PR. This project does not affect your runtime at all. It only affects mypy type checking process. The current implementation uses Django's runtime to extract information about models, so it might crash if your installed apps or models.py are broken.Features:
- Create a HttpRequest that's guaranteed to have an authenticated user
- Safe to use in production
- We rely on different django and mypy versions
- pyproject.toml configurations are also supported
- The final goal is to be able to get precise types for most common patterns
- Fully working typed boilerplate can serve you as an example
Programming Language: Python.
Categories:
©2024. Winfy. All Rights Reserved.
By OD Group OU – Registry code: 1609791 -VAT number: EE102345621.