{"categories":[{"label":"Application Frameworks","url":"https://skillfed.io/packages/category/software-development-libraries-application-frameworks/2"}],"enrichment":{"capability":"pygls is a Python framework for building Language Servers that implement the Language Server Protocol, enabling editors and IDEs to provide code completion, diagnostics, and other language-aware features.","skillfed_tags":["language-server-protocol","editor-integration","lsp"],"use_cases":["Build a language server for a domain-specific language or custom syntax to integrate with VSCode, Neovim, or other LSP-compatible editors.","Add code completion and diagnostics to an existing language or tool by wrapping it in an LSP server.","Create editor-agnostic language support without writing separate plugins for each editor.","Prototype or experiment with language features and editor integrations quickly using Python.","Extend an existing Python project with IDE-like features (completion, linting, navigation) for users."],"what_it_does":"pygls is a Python framework that implements the Language Server Protocol (LSP), a standardized way for editors and IDEs to communicate with language-aware tools. It lets you build a language server\u2014a program that provides features like code completion, error diagnostics, and symbol navigation\u2014by decorating Python functions with feature handlers and starting the server with a single call.\n\nThe framework handles all the LSP protocol machinery, including message parsing, workspace management, and client communication. You define what your server does by writing handler functions for specific LSP features (like TEXT_DOCUMENT_COMPLETION or TEXT_DOCUMENT_HOVER), and pygls routes incoming requests to them. It depends on attrs for data classes, cattrs for serialization, and lsprotocol for LSP type definitions, keeping the dependency footprint small.","worth_installing":"Yes. pygls is actively maintained, has low install friction, carries no known vulnerabilities, and uses a permissive license. It is the right choice if you need to build a language server in Python and want to support multiple editors without vendor lock-in. Install it if you are building or extending a language server; skip it if you only need to use an existing language server."},"id":"pygls","links":{"html":"https://skillfed.io/packages/pygls","md":"https://skillfed.io/packages/pygls.md","pypi":"https://pypi.org/project/pygls/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-03-25","license_spdx":"Apache-2.0","license_treatment":"permissive","name":"pygls","python_support":"supports_current","summary":"A pythonic generic language server (pronounced like 'pie glass')"},"popularity":{"monthly_downloads":2110125,"position":3287,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.1.1"}
