# palantir/python-language-server

An implementation of the Language Server Protocol for Python

Repository: https://github.com/palantir/python-language-server
Canonical: https://ross.abutalabs.com/products/python-language-server
Language: Python
License: MIT
License Family: permissive
Topics: octo-correct-managed
Last push: 2026-07-06T15:08:23+00:00

## Health v2 (maintenance only)
Score: 64/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 91, release rhythm 8, longevity 100
- inputs: {"age_days": 3520, "days_push": 58, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2698, forks 294 (observed 2026-08-28T04:07:11.266748+00:00)

## What it is
An implementation of the Language Server Protocol (LSP) for Python, built on Jedi for completions, definitions, hover, references, and symbols. It supports optional linters and formatters (pycodestyle, pyflakes, autopep8, YAPF) and third-party plugins like pyls-mypy and pyls-black.

## Use cases
- add python autocomplete to my editor via lsp
- language server for python in vim or emacs
- get go-to-definition and references for python code
- run pycodestyle and pyflakes diagnostics inside my editor
- format python code with yapf or autopep8 through lsp
- extend a python language server with custom plugins

## When to choose
- you need an LSP server for Python 2.7 or older Python 3.5+ environments
- you want a plugin-based language server with optional linters and formatters
- your editor client supports pyls configuration sources like pycodestyle or flake8

## When to avoid
- you want the actively developed successor python-lsp-server (pylsp) instead of this fork
- you need Python 3.8+ only features or modern tooling integration
- you prefer a non-LSP static analysis tool

## Facets
- artifact type: library
- maturity: maintenance
- function: editor, linter, formatter, developer-tools, plugin-system
- domain: developer-tools, programming-languages, text-editors
- platform: python, cross-platform, cli
- tags: language-server-protocol, lsp, jedi, code-completion, editor-integration

## Member repositories
- palantir/python-language-server (main) score 64

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:11.266748+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:16:09.179964+00:00, confidence not recorded.
  - readme: https://github.com/palantir/python-language-server (fetched 2026-08-28T04:07:11.266748+00:00, sha 74faa1f25685)
  - registry_pypi: https://pypi.org/pypi/python-language-server/json (fetched 2026-08-29T09:59:14.724229+00:00, sha db644c41da0b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
