lxml-stubs
Type stubs for the lxml package (by lxml)
django-stubs
PEP-484 stubs for Django (by typeddjango)
| lxml-stubs | django-stubs | |
|---|---|---|
| 1 | 11 | |
| 51 | 1,941 | |
| - | 0.9% | |
| 5.9 | 9.7 | |
| 27 days ago | 3 days ago | |
| Python | Python | |
| GNU General Public License v3.0 or later | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
lxml-stubs
Posts with mentions or reviews of lxml-stubs.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-28.
-
Welcome to hassle free coding
LXML: https://github.com/lxml/lxml-stubs
django-stubs
Posts with mentions or reviews of django-stubs.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2026-05-14.
- Pyrefly v1.0 is here (fast type checker and language server for Python)
-
Plain – a web framework for building products with Python
Relatedly, in case it's useful, the django-stubs package provides mypy compatible type stubs for Django:
https://github.com/typeddjango/django-stubs
-
Astral – "We're building a new static type checker for Python"
Will django-stubs work with other typecheckers?
Tangential, I'm waiting for Edgedb to become next SQL so all ORM moats like Django's are drained.
https://github.com/typeddjango/django-stubs
- Mypy 1.6 Released
-
Boring Python: Code Quality
You can annotate the manager and get some typing help in the editor. And there’s django-stubs which helps a little when running mypy. It’s not as good as pycharm though.
https://github.com/typeddjango/django-stubs/tree/master
-
Python 3.11.0 final is now available
> Yes, there are type stubs for these libraries but they’re either forced to be more strict, preventing use of dynamism, or opt for being less strict but allowing you to use all the library features, at the cost of safety.
There are type stubs for Django that somewhat avoid these compromises: https://github.com/typeddjango/django-stubs
To be able to do this they have to use a Mypy plugin though. And even then it's still far from perfect.
- Welcome to hassle free coding
-
Is Rust Web Yet?
Mypy together with this plug-in gives you typing for django. https://github.com/TypedDjango/django-stubs
-
Django projects with type hints?
Have you looked at stubs for Django?
- Neovim + Django - LSP config
What are some alternatives?
When comparing lxml-stubs and django-stubs you can also consider the following projects:
typeshed - Collection of library stubs for Python, with static types
pandas-stubs - Public type stubs for pandas
lagom - 📦 Autowiring dependency injection container for python 3
drf-typed - Type hints for enhanced API views and serializers.
phantom-types - Phantom types for Python.