SaaSHub helps you find the best software and product alternatives Learn more →
Top 8 Python language-server-protocol Projects
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
monitors4codegen
Code and Data artifact for NeurIPS 2023 paper - "Monitor-Guided Decoding of Code LMs with Static Analysis of Repository Context". `multispy` is a lsp client library in Python intended to be used to build applications around language servers.
-
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.
Project mention: Spyder – The Scientific Python Development Environment | news.ycombinator.com | 2023-09-09
Project mention: Open source versus Microsoft: The new rebellion begins | news.ycombinator.com | 2024-04-15One 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!)
I saw no mention of RBS+Steep, the latter providing a LSP. I use it a lot and very much like it, although it's still young and needs love, but it's making good, steady progress! I've been very pleasantly surprised by some of the crazy things Steep can catch, completely statically!
You appear to be working on projects with Sorbet (which I tried to like but found it fell short in practice, notably outside of the app use case i.e it's mostly useless for gems) so it may be a tall order to try on those. Maybe you can give RBS+Steep a shot on some small project?
RBS: https://github.com/ruby/rbs
RBS collection (for those gems that don't ship RBS signatures in `sig`, integrates with bundler): https://github.com/ruby/gem_rbs_collection
Steep: https://github.com/soutaro/steep
VS Code: https://github.com/soutaro/steep-vscode
Sublime Text: https://github.com/sublimelsp/LSP
Vim (I'm working on it): https://github.com/dense-analysis/ale/pull/4671
For Xcode-based projects https://github.com/SolaWing/xcode-build-server is a minimal but effective Build Server Protocol implementation. I have been using it for the past few weeks with Eglot and it is working beautifully. Much better than the gnarly fake Package.swift method I have used in the past. /cc u/konrad1977
Project mention: Show HN: Multilspy – A library to easily use language servers to analyze code | news.ycombinator.com | 2023-11-28
pylsp-rope is actually an external plugin project, it implements advanced refactoring functionalities using code action (extract method/variable, function inlining, converting local variables to instance variables, organise import, etc). Unless you have explicitly installed pylsp-rope at some point, it's unlikely you already have it in your system. I'm the author of pylsp-rope, btw.
Python language-server-protocol related posts
- Open source versus Microsoft: The new rebellion begins
- An Experimental Cloudformation language server
- Help! Connection to server got closed error
- Pylance is not working on my vscode
- VSCode adding exactly one space to all my new lines??
- Pylance: String literal is unterminated
- What do you expect when renaming an import?
-
A note from our sponsor - SaaSHub
www.saashub.com | 25 Apr 2024
Index
What are some of the best open-source language-server-protocol projects in Python? This list will help you:
Project | Stars | |
---|---|---|
1 | Spyder | 8,039 |
2 | pylance-release | 1,652 |
3 | LSP | 1,590 |
4 | xcode-build-server | 268 |
5 | fortls | 215 |
6 | monitors4codegen | 105 |
7 | pylsp-rope | 101 |
8 | cfn-lsp-extra | 17 |
Sponsored