Skip to content

User plugins

Joseph Martinot-Lagarde edited this page Jun 20, 2016 · 9 revisions

User Plugins

NOTE: These informations apply to Spyder V3.0 onwards (starting from 3.0.0b3 exactly) !

Spyder capabilities can be enhanced by installing plugins. There are currently two plugin types:

  • UI plugins: These plugins add a new pane or a new menu action. Examples are the Pylint, Profiler and Breakpoint plugins, which are shippêd with spyder by default.
  • IO plugins: With these plugins Spyder can learn to load and save different file formats from the variable explorer

Some plugins are developed by core developers and can be found on github:

We hope to see more plugins written by users in the future !

Install

Plugins are python packages with a name starting with spyder_. They are loaded from anywhere in sys.path or in ${HOME}/.spyder/userplugins/. There are multiple ways to install a plugin:

  • with pip and PyPi: pip install <PLUGINNAME> (note that pypi versions of core plugins are not up-to-date as of today)
  • with pip without PyPi: Download and unzip (or clone) a plugin and run pip install . or python setup.py install from inside the plugin directory
  • copy-paste: Download and unzip (or clone) a plugin and copy the directory starting with spyder_ in ${HOME}/.spyder/userplugins

You have to restart spyder for the modifications to be taken into account (Menu File > Restart).

Uninstall

If the plugin waas installed with pip, run pip uninstall <PLUGINNAME>. If the plugin was copy-pasted in ${HOME}/.spyder/userplugins, just remove its directory.

Clone this wiki locally