{"library":"multilspy","title":"multilspy","description":"multilspy is a language-agnostic LSP (Language Server Protocol) client library for Python, providing a high-level interface to interact with language servers. Current version is 0.1.0 (pre-release), with a stable v0.0.15. It supports Python, Rust, Java, Go, JavaScript, Ruby, C#, Dart, PHP, and Elixir. Development is active, with regular releases.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install multilspy"],"cli":null},"imports":["from multilspy import Multilspy","from multilspy import LanguageServer"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import os\nfrom multilspy import Multilspy\n\n# Initialize multilspy with a language server (Python in this case)\nlsp = Multilspy(os.environ.get('PYTHON_LSP', 'pylsp'))\n# Start the language server\nlsp.start()\n# Open a Python file\nwith open('example.py', 'w') as f:\n    f.write('import os\\n\\nprint(os.getcwd())')\nlsp.open_document('example.py')\n# Get completions\ncompletions = lsp.request_completions('example.py', line=1, character=0)\nprint(completions)\nlsp.close_document('example.py')\nlsp.stop()","lang":"python","description":"Basic usage: start a language server, open a file, request completions, then stop.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}