Basedpyright is a good open-source Python LSP server #

If you write Python in Vim or Emacs, then to get type checking and tab completion you need a "language server" interacting via LSP protocol. There are good language servers for Go and Rust that come with the standard tooling, but I struggled to find a decent one for Python. That changed when I came across Basedpyright.

Basedpyright is a fork of Pyright. The original Pyright is maintained by Microsoft, and the problem with it is that not all features that the VSCode plugin (Pylance) supports end up in the open-source Pyright. For example: