'visual studio code - language server extension that written in python

I would like to write a visual studio code extension that parse and analyse large log files.

I thought to start with language server extension.

I would like the server to be written in python.

Below, there is an example to server that is written in TypeScript https://code.visualstudio.com/docs/extensions/example-language-server it uses the library "vscode-languageserver".

Is there any module in python equivalent to "vscode-languageserver"?

Do you know any example language server extension that is written in python?



Solution 1:[1]

It looks like there are at least two to take a look at:

Unfortunately, I’m not familiar enough with Python to know which of these are the better choice.

Solution 2:[2]

I realize this is an old question but in case someone else is looking for this information:

I'm working on a project that implements an LSP server in Python. To accomplish writing the language server in Python we are using a library called pygls.

As with anything, it has its good and bad points but I can say that it has gotten the job done for the aforementioned project, so far.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Eric McCarthy
Solution 2 Cameron