Show HN: A Python Language Server, Mypy-compatible
zubanls.com
Show HN: A Python Language Server, Mypy-compatible
1–10 of 15 posts
Re: Show HN: A Python Language Server, Mypy-compatible
#2Re: Show HN: A Python Language Server, Mypy-compatible
#3It's great to see so much innovation in this area. But, seeing that you will charge for this - what will you provide that won't be covered by free alternatives in e.g. Ty (Astral) or Pyre (Meta), which similarly seem to be "mypy but in rust and maybe lsp features"?
I did have the same thought as you at first though, and only carried on reading when I spotted that it was from the author of Jedi.
Re: Show HN: A Python Language Server, Mypy-compatible
#4It's great to see so much innovation in this area. But, seeing that you will charge for this - what will you provide that won't be covered by free alternatives in e.g. Ty (Astral) or Pyre (Meta), which similarly seem to be "mypy but in rust and maybe lsp features"?
Last time I tried ty and pyre they weren't particularly great with a Django codebase, I'm sure ty will get there at some point, but if this handles django-stubs without any extra faffing, that's one potential selling point. I did have the same thought as you at first though, and only carried on reading when I spotted that it was from the author of Jedi.
Re: Show HN: A Python Language Server, Mypy-compatible
#5Earlier quoted context omitted.
Last time I tried ty and pyre they weren't particularly great with a Django codebase, I'm sure ty will get there at some point, but if this handles django-stubs without any extra faffing, that's one potential selling point. I did have the same thought as you at first though, and only carried on reading when I spotted that it was from the author of Jedi.
Both ty and Pyre are in development, so maybe the answer is just "this works and they don't". But they do promise to work eventually, like end of year if I recall correctly. I don't know what makes Django special in this regard though - is it the ORM models that don't work well with the typing spec or..?
Re: Show HN: A Python Language Server, Mypy-compatible
#6Earlier quoted context omitted.
Last time I tried ty and pyre they weren't particularly great with a Django codebase, I'm sure ty will get there at some point, but if this handles django-stubs without any extra faffing, that's one potential selling point. I did have the same thought as you at first though, and only carried on reading when I spotted that it was from the author of Jedi.
Both ty and Pyre are in development, so maybe the answer is just "this works and they don't". But they do promise to work eventually, like end of year if I recall correctly. I don't know what makes Django special in this regard though - is it the ORM models that don't work well with the typing spec or..?
The foreign key stuff and missing reverse relations in types a big issue, but there's other stuff like warning about class Meta: being incompatible because you're inheriting an abstract model.
I'm yet to find a good guide on how to handle typing a django project, even if only to get vscode to do autocomplete.
Re: Show HN: A Python Language Server, Mypy-compatible
#7Re: Show HN: A Python Language Server, Mypy-compatible
#8(Relative maturity wouldn't be a good enough reason as those projects will progress quickly enough and both have great, solid, well backed teams behind them)
Re: Show HN: A Python Language Server, Mypy-compatible
#9It's great to see so much innovation in this area. But, seeing that you will charge for this - what will you provide that won't be covered by free alternatives in e.g. Ty (Astral) or Pyre (Meta), which similarly seem to be "mypy but in rust and maybe lsp features"?
Re: Show HN: A Python Language Server, Mypy-compatible
#10It's great to see so much innovation in this area. But, seeing that you will charge for this - what will you provide that won't be covered by free alternatives in e.g. Ty (Astral) or Pyre (Meta), which similarly seem to be "mypy but in rust and maybe lsp features"?
Last time I tried ty and pyre they weren't particularly great with a Django codebase, I'm sure ty will get there at some point, but if this handles django-stubs without any extra faffing, that's one potential selling point. I did have the same thought as you at first though, and only carried on reading when I spotted that it was from the author of Jedi.
The thing is, both Ty and PyreFly aren’t really close to the level of Mypy or Pyright — neither in terms of features nor stability. ZubanLS already covers the important features, though there are still some bugs I’m working through. So in that sense, yes: At the moment the selling point is that it just works.