Do you use an LSP for python ? If so, which one ?

I just discovered basedpyright. NUTS. It is hands down the best open source experience I have had developing in this infuriatingly promiscuous language with no concern for runtime safety (I understand the historical reasons... I am just sad it has become the defacto standard for my field).

#python #languageserverProtocol #lsp #emacs #basedPyright

pylsp (python-lsp-server)
pyright
basedpyright
pylance
Other (please tell us more!)
Poll ends at .

@tchauhan I don’t do a lot of Python, but I’ve only used pylsp. I’m suspicious of the influence of Microsoft even it’s nominally an ‘open-source’ project.

I also don’t tend to care (any more) about type checking, but when I did I used mypy; now, I might try the typechecker from astral instead.

@tchauhan I rarely write Python, but when I do I use https://open-vsx.org/extension/astral-sh/ty
Open VSX Registry

@tchauhan

A combination of..

- jedi-language-server
- ruff
- ty

@tchauhan Highly recommend ty. And eglot with rassumfrassum lets you combine ty and ruff — this is the combo I use.
GitHub - astral-sh/ty: An extremely fast Python type checker and language server, written in Rust.

An extremely fast Python type checker and language server, written in Rust. - astral-sh/ty

GitHub