ruff-lsp VS basedpyright

Compare ruff-lsp vs basedpyright and see what are their differences.

ruff-lsp

A Language Server Protocol implementation for Ruff. (by astral-sh)

basedpyright

pyright fork with various type checking improvements, improved vscode support and pylance features built into the language server (by DetachHead)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
ruff-lsp basedpyright
6 3
1,073 453
7.1% -
9.1 9.9
5 days ago 1 day ago
Python TypeScript
GNU General Public License v3.0 or later GNU General Public License v3.0 or later
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.

ruff-lsp

Posts with mentions or reviews of ruff-lsp. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-11.

basedpyright

Posts with mentions or reviews of basedpyright. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-15.
  • Show HN: Basedpyright: An Excellent Alternative to Pylance
    1 project | news.ycombinator.com | 1 May 2024
  • Open source versus Microsoft: The new rebellion begins
    2 projects | news.ycombinator.com | 15 Apr 2024
    One of the things that comes to mind here is the fact that the default Python extension for VS Code is, perhaps surprisingly to many, not open source. https://github.com/microsoft/pylance-release

    While it's possible to fork VS Code, it is not possible to fork VS Code and provide a seamless onramp towards a Python editing experience that is fully open source, because users are used to the nuances of the closed-source Pylance experience in VS Code proper. You could use the minified/compiled Pylance plugin in your fork, but you'd have no way to expand its capabilities to new hooks your fork provides. Microsoft's development process would always be able to move faster than a fork, because it could coordinate VS Code internal API development with its internal Pylance team, and could become incompatible with forks at any time.

    It's worth re-reading the quote from J Allard in https://en.wikipedia.org/wiki/Embrace,_extend,_and_extinguis... with this modern example in mind.

    (Also worth mentioning https://github.com/detachhead/basedpyright?tab=readme-ov-fil... which is a heroic effort to derisk this, but it's an uphill battle for sure!)

  • Pylyzer – A fast static code analyzer and language server for Python
    6 projects | news.ycombinator.com | 11 Apr 2024
    In the interim, check out basedpyright [1]. It's an up-to-date fork of pyright with less arbitrary limitations or the annoyance of requiring npm.

    [1] https://github.com/detachhead/basedpyright

What are some alternatives?

When comparing ruff-lsp and basedpyright you can also consider the following projects:

lsp-zero.nvim - A starting point to setup some lsp related features in neovim.

lsp_signature.nvim - LSP signature hint as you type

dotfiles - No place like home :house:

Flake8 - flake8 is a python tool that glues together pycodestyle, pyflakes, mccabe, and third-party plugins to check the style and quality of some python code.

black - The uncompromising Python code formatter

pylyzer - A fast static code analyzer & language server for Python

rust-analyzer - A Rust compiler front-end for IDEs