python-lsp-server vs Pyright language server.

See original GitHub issue

What’s the difference between python-lsp-server and pyright? See also the related issue here.

Regards, HZ

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:3
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

16reactions
krassowskicommented, Sep 21, 2021

For one python-lsp-server is written in Python but pyright is written in TypeScript. Depending on how well you know each of the languages you may find it easier to contribute to one project or the other (but presumably it would be easier for target audience to contribute to python-lsp-server). pyright is a more recent server and has a strong emphasis on typing support (but you need to configure it to do so as the actual typing are only distributed in the closed-source pylance). Also pyright requires you to install node.js and npm, which is something that many users prefer to avoid. Finally before contributing to pyright you would need to sign a CLA with Microsoft, whereas python-lsp-server is more of an open source community supported project.

6reactions
krassowskicommented, Sep 25, 2021

I think so. There are some other things to improve for signatures too, like recognising that signature overloading is now common in Python and sending these multiple signatures to the user instead of the first one only.

Read more comments on GitHub >

github_iconTop Results From Across the Web

lsp for python, sure. but which lsp server?? : r/emacs - Reddit
Overall, it looks like pyls gives better suggestions but is also more of a resource hog. Microsoft also has a newer LSP server/analysis...
Read more >
pyright vs python-lsp-server - compare differences and reviews?
Pyright is just a type checker. Try pylsp instead for a fully-featured language server. It can do type checking as well, you just...
Read more >
Can lsp-pyright use python-lsp-server as an alternative ...
No. lsp-pyls and lsp-pylsp are built in lsp-mode .
Read more >
Language Server Protocol integration for Jupyter[Lab]
The following language servers are tested against jupyterlab-lsp and any issues ... jlpm: jlpm add --dev dockerfile-language-server-nodejs. python, pyright.
Read more >
LSP Pyright
lsp -mode client leveraging Pyright language server. Quickstart#. (use-package lsp-pyright :ensure t :hook (python-mode . (lambda () (require 'lsp-pyright) ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found