New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pyls-spyder

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pyls-spyder

Spyder extensions for the python-lsp-server

  • 0.4.0
  • PyPI
  • Socket score

Maintainers
2

pyls-spyder

Project License - MIT pypi version conda version download count Downloads PyPI status PyLS-Spyder tests

Copyright © 2020– Spyder Project Contributors

Overview

Spyder extensions for the python-lsp-server (pylsp). This package provides Spyder-specific extras for the Language Server Protocol (LSP) on Python, such as document symbol searching and others.

Installing

To install pyls-spyder, you can use both conda or pip package managers:

# Using conda (Recommended)
conda install pyls-spyder -c spyder-ide

# Using pip
pip install pyls-spyder

Dependencies

This package depends on the python-lsp-server to integrate the Spyder-specific extensions.

Installing locally

To install and develop spyder-pyls locally, you will need to install the python-lsp-server:

# Using conda
conda install python-lsp-server

# Using pip
pip install python-lsp-server

Then, you can install the package locally using pip:

pip install -U -e .

Running tests

We use pytest to run tests as it follows:

pytest -x -v pyls_spyder/tests

Extended LSP calls

LSP methodSpyder extensions
textDocument/documentSymbolFind code cells # %% and block comments # --
textDocument/foldingRangeReturn code cells # %% as code folding regions

Plugin configuration options

This plugin can be configured by using the key pyls_spyder when calling workspace/didChangeConfiguration on the pyls. Each configuration option is described below:

LSP methodConfiguration KeyTypeDescription
textDocument/documentSymbolgroup_cellsboolEnable/Disable code cell grouping according to the total number of leading percentages
enable_block_commentsboolEnable/disable block comment detection

Changelog

Please see our CHANGELOG file to learn more about our new features and improvements.

Contribution guidelines

We follow PEP8 and PEP257 for all Python modules. We use MyPy type annotations for all functions and classes declared on this package. Feel free to send a PR or create an issue if you have any problem/question.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc