pyls-pop
python-lsp-server plugin for pop namespace compatibility
About
python-lsp-server is a python implementation of Microsoft’s Language Server Protocol. This plugin is designed to give functionality to the LSP server for python pop projects.
What is POP?
This project is built for pop, a Python-based implementation of Plugin Oriented Programming (POP). POP seeks to bring together concepts and wisdom from the history of computing in new ways to solve modern computing problems.
For more information:
Getting Started
Prerequisites
Python 3.6+
git (if installing from source, or contributing to the project)
Installation
If wanting to use pyls-pop, you can do so by either installing from PyPI or from source.
Install from PyPI
pip install pyls-pop
Install from source
# clone repo
git clone git@gitlab.com:saltstack/pop/pyls-pop.git
cd pyls-pop
# Setup venv
python3 -m venv .venv
source .venv/bin/activate
pip install -e .
Usage
For your convenience, here is where you can find more information on running python-lsp-server in popular IDEs
CLI
After installing pyls-pop, the pylsp command will be available (from the python-lsp-server project). Run with “–help” to see other options available while running this command.
pylsp
vim
Follow the instructions for installing the vim-lsp plugin. Then register the “pylsp” command as a language server. vim-lsp-settings can be used to automate some parts of the process.
PyCharm
Install the Language Server Protocol plugin from the IntelliJ marketplace. Navigate to Pycharm Settings > Language Server Protocol > Server Definitions. Add a new server definition of type “Executable” (The first drop-down menu in the server definition). For the “Extension” use “py”. Add the full path to the “pylsp” command you want to use. Ideally, a version of the command that is in the same python environment as the your source project’s source code.
VSCode
You might have to run pylsp with the “–tcp” and port flags. This is all we have at the moment on implementing in VSCode
Roadmap
Reference the open issues for a list of proposed features (and known issues).
Acknowledgements
Img Shields for making repository badges easy.
Metadata
Release files for pyls-pop 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyls-pop-0.1.0.tar.gz | 14.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyls_pop-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.7 kB
Release files / pyls-pop-0.1.0.tar.gz
| Download URL | pyls-pop-0.1.0.tar.gz |
|---|---|
| Size | 14.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4d3784fb56f0f583233123b2fe9bf95fbcb4562ec9862e8ec2b2f7ed901c9772
|
|
BLAKE2b-256 checksum How to use checksums |
1ca4ac53a7ccd6a92a43826a9ba92738438d652dedb9306f448074d7fda14617
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
|
Release files / pyls_pop-0.1.0-py3-none-any.whl
| Download URL | pyls_pop-0.1.0-py3-none-any.whl |
|---|---|
| Size | 13.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
91b0619411ed8caa1515dc945a909779896b5b217a73dbcee610c1c852ffa5de
|
|
BLAKE2b-256 checksum How to use checksums |
4a5e2528c25a20d09c8a45f29eb842e48a8008bfc64d652d0c41bee14c0461e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
|