carta
pylsp(1)

pylsp1

Python language server

Usage

pylsp [OPTION] ...

Overview

Run a Python Language Server following the Language Server Protocol.

Options

--tcp

Use a TCP server instead of stdio.

--host HOST

Bind to this address.

--port PORT

Bind to this port.

--check-parent-process

Check whether parent process is still alive using os.kill(ppid, 0) and auto shut down language server process when parent process is not alive.

--log-config LOG_CONFIG

Path to a JSON file containing Python logging config.

--log-file LOG_FILE

Redirect logs to the given file instead of writing to stderr. Has no effect if used with --log-config.

-v, --verbose

Increase verbosity of log output, overrides log config file.

-h, --help

Show a help message and exit.

From python3-pylsp 1.12.0-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.