Registry / devops / python-language-server

python-language-server

JSON →
library0.36.2pypypi✓ verified 34d ago

An implementation of the Language Server Protocol (LSP) for Python. Version 0.36.2 is the final release; the project is deprecated in favor of python-lsp-server (a community fork) and pyright/pylance. It provides IDE features like autocompletion, linting, code navigation, and refactoring.

devops
Install & Compatibility
Where this runs
tested against v0.36.2 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.048s · 33.1MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 2.5s · import 0.042s · 30MB
29MB installed
● package 29MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

The main entry point is the `pyls` module; direct imports of internal submodules are unsupported.

import pyls

Basic usage: the server is typically started by an editor plugin. The `pyls` module provides a `ProcessServer` class for programmatic launching.

# Start the language server (usually launched by an editor plugin) # For manual testing, run: # pyls # In code, you can invoke the server programmatically: import pyls server = pyls.ProcessServer() print("Python Language Server started. Use an LSP client to connect.")
pyls --version
Debug
Known footguns
deprecatedpython-language-server is deprecated. The Palantir project has been archived and no longer maintained. Users should migrate to python-lsp-server (community fork) or pyright/pylance.
breakingIn version 0.36.0, the configuration format changed. Options that were previously under 'pyls' section are now under the tool's name (e.g., 'pyls.plugins' moved to 'pyls.plugins.jedi' etc.).
gotchaThe package name on PyPI is python-language-server, but the import module is 'pyls'. Many users mistakenly try `import python_language_server` or `import pyls` with wrong casing.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
11 hits · last 30 days
gptbot
4
ahrefsbot
3
claudebot
2
script
1
mj12bot
1
Resources