Official repository for Spyder - The Scientific Python Development Environment
Python JavaScript CSS HTML Shell Batchfile Other
Clone or download
Latest commit ea9797e Jul 21, 2018
Permalink
Failed to load latest commit information.
.github Tweak report text for clarity and conciseness May 6, 2018
continuous_integration Merge from 3.x: PR #7463 Jul 16, 2018
img_src Add updated banner, website link and short blurb Apr 18, 2018
requirements Merge from 3.x: PR #7248 Jun 26, 2018
rope_profiling Move spyderlib/rope_patch.py to spyder Jul 4, 2016
scripts Merge from 3.x: PR #6409 Feb 7, 2018
spyder Merge from 3.x: PR #7515 Jul 21, 2018
spyder_breakpoints Merge from 3.x: Release 3.3.0 Jul 6, 2018
spyder_io_dcm Rename io plugins Jun 10, 2016
spyder_io_hdf5 Change copyright to the "Spyder Project Contributors" Aug 22, 2016
spyder_profiler Merge from 3.x: Release 3.3.0 Jul 6, 2018
spyder_pylint Merge from 3.x: Release 3.3.0 Jul 6, 2018
.checkignore Add quantifiedcode .checkignore for tests May 24, 2016
.ciocheck Style fixes reported by ciocheck Dec 17, 2016
.ciocopyright Add ciocheck config Oct 26, 2016
.codecov.yml Testing: Make codecov to report errors if coverage decreases in more … Jan 7, 2018
.coveragerc Testing: Omit other files from coverage Mar 13, 2017
.gitignore Add .pytest_cache/ to gitignore Mar 10, 2018
.pep8speaks.yml Add basic pep8speaks config file. Aug 12, 2017
.project Branch v2.1 is now the default repository Jun 22, 2011
.travis.yml Testing: Remove USE_PYQT env var because it's not needed anymore Jul 16, 2018
AUTHORS Change copyright to the "Spyder Project Contributors" Aug 22, 2016
Announcements.md Update announcements Jul 6, 2018
CHANGELOG.md Update Changelog Jul 6, 2018
CONTRIBUTING.md Convert all double to single backticks in readme and contributing Jul 14, 2018
LICENSE Change copyright to the "Spyder Project Contributors" Aug 22, 2016
MANIFEST.in Setup.py: Don't build our docs and add them as part of our package May 21, 2018
README.md Merge from 3.x: PR #7418 Jul 15, 2018
RELEASE.md Release: Mention that we need to use a venv with the latest setupotools Dec 29, 2017
TROUBLESHOOTING.md Update links in TROUBLESHOOTING and other minor updates Apr 23, 2018
appveyor.yml Merge from 3.x: PR #7497 Jul 18, 2018
bootstrap.py Merge from 3.x: PR #6961 May 21, 2018
circle.yml Testing: Remove USE_PYQT env var because it's not needed anymore Jul 16, 2018
conftest.py Testing: Set interface language by not relying in LANG Feb 12, 2018
create_app.py Change pep8 for pycodestyle in installation recipes. Mar 7, 2017
create_exe.py Changes sitecustomize. Jul 24, 2017
gettext_compile.py Change copyright to the "Spyder Project Contributors" Aug 22, 2016
gettext_helpers.py gettext_helpers: Fix compilation of po files Aug 22, 2016
gettext_scan.py Change copyright to the "Spyder Project Contributors" Aug 22, 2016
png-convert-and-optimize.sh Backport PR #2216: Make all our png's compatible with libpng 1.6.2+ Jun 15, 2015
runtests.py Testing: Detect --run-slow option when passed to runtests.py Feb 12, 2018
setup.py Merge from 3.x: PR #7248 Jun 26, 2018

README.md

Spyder — The Scientific Python Development Environment

Copyright © 2009–2018 Spyder Project Contributors

license pypi version conda version download count OpenCollective Backers OpenCollective Sponsors Join the chat at https://gitter.im/spyder-ide/public
PyPI status Travis status AppVeyor status CircleCI Coverage Status codecov

Screenshot of Spyder's main window


Help support Spyder, the community-developed scientific IDE!

Thanks to your continuing support, we are on track for a Spyder 4 release in early 2019 with all of your most-requested features (a new debugger and completion architecture, better Projects, new Editor functionality, full Variable Explorer object support, a built-in dark theme and much more)!

Spyder development is made possible by contributions from our global user community, along with organizations like NumFOCUS and Quansight. There are numerous ways you can help, many of which don't require any programming. If you'd like to make a donation to help fund further improvements, we're on OpenCollective.

Thanks for all you do to make the Spyder project thrive! More details


Overview

Spyder is a powerful scientific environment written in Python, for Python, and designed by and for scientists, engineers and data analysts. It offers a unique combination of the advanced editing, analysis, debugging, and profiling functionality of a comprehensive development tool with the data exploration, interactive execution, deep inspection, and beautiful visualization capabilities of a scientific package.

Beyond its many built-in features, its abilities can be extended even further via its plugin system and API. Furthermore, Spyder can also be used as a PyQt5 extension library, allowing you to build upon its functionality and embed its components, such as the interactive console, in your own software.

For more general information about Spyder and to stay up to date on the latest Spyder news and information, please check out our new website.

Core components

  • Editor

    Work efficiently in a multi-language editor with a function/class browser, real-time code analysis tools (pyflakes, pylint, and pycodestyle), automatic code completion (jedi and rope), horizontal/vertical splitting, and go-to-definition.

  • Interactive console

    Harness the power of as many IPython consoles as you like with full workspace and debugging support, all within the flexibility of a full GUI interface. Instantly run your code by line, cell, or file, and render plots right inline with the output or in interactive windows.

  • Documentation viewer

    Render documentation in real-time with Sphinx for any class or function, whether external or user-created, from either the Editor or a Console.

  • Variable explorer

    Inspect any variables, functions or objects created during your session. Editing and interaction is supported with many common types, including numeric/strings/bools, Python lists/tuples/dictionaries, dates/timedeltas, Numpy arrays, Pandas index/series/dataframes, PIL/Pillow images, and more.

  • Development tools

    Examine your code with the static analyzer, trace its execution with the interactive debugger, and unleash its performance with the profiler. Keep things organized with project support and a builtin file explorer, and use find in files to search across entire projects with full regex support.

Documentation

You can read the Spyder documentation online on the Spyder Docs website.

Installation

For a detailed guide to installing Spyder, please refer to our installation instructions.

The easiest way to install Spyder on any of our supported platforms is to download it as part of the Anaconda distribution, and use the conda package and environment manager to keep it and your other packages installed and up to date.

If in doubt, you should always install Spyder via this method to avoid unexpected issues we are unable to help you with; it generally has the least likelihood of potential pitfalls for non-experts, and we may be able to provide limited assistance if you do run into trouble.

Other install options exist, including:

  • The WinPython distribution for Windows
  • The MacPorts project for macOS
  • Your distribution's package manager (i.e. apt-get, yum, etc) on Linux
  • The pip package manager, included with most Python installations

However, we lack the resources to provide individual support for users who install via these methods, and they may be out of date or contain bugs outside our control, so we recommend the Anaconda version instead if you run into issues.

Troubleshooting

Before posting a report, please carefully read our Troubleshooting Guide and search the issue tracker for your error message and problem description, as the great majority of bugs are either duplicates, or can be fixed on the user side with a few easy steps. Thanks!

Contributing

Everyone is welcome to help with Spyder. Please read our contributing instructions to get started!

Running from a Github clone

Spyder can be run directly from the source code, hosted on the Spyder github repo. You may want to do this for fixing bugs in Spyder, adding new features, learning how Spyder works or to try out development versions before they are officially released.

If using conda (strongly recommended), this can be done by running the following from the command line (the Anaconda Prompt, if on Windows):

conda install spyder
conda remove spyder
git clone https://github.com/spyder-ide/spyder.git
cd spyder
python bootstrap.py

You also need to make sure the correct spyder-kernels version is installed for the version of Spyder you are testing. The above procedure will give you spyer-kernels 0.x for the 3.x branch (Spyder 3), so to run the master branch (Spyder 4) you need to additionally execute:

conda install spyder-kernels=1.*

Alternatively, you can use pip to install PyQt5 the other runtime dependencies listed below. However, beware: this method is recommended for experts only, and you'll need to solve any problems on your own.

See the installation instructions for more details on all of this.

Dependencies

Important Note: Most or all of the dependencies listed below come with Anaconda and other scientific Python distributions, so you don't need to install them separately in those cases.

Build dependencies

When installing Spyder from its source package, the only requirement is to have a Python version greater than 2.7 or 3.4 (Python <=3.3 is no longer supported).

Runtime dependencies

  • Python 2.7 or 3.4+: The core language Spyder is written in and for.
  • PyQt5 5.5+: Python bindings for Qt, used for Spyder's GUI.
  • qtconsole 4.2.0+: Enhanced Python interpreter.
  • Rope 0.9.4+ and Jedi 0.11.0+: Editor code completion, calltips and go-to-definition.
  • Pyflakes: Real-time code analysis.
  • Sphinx: Rich text mode for the Help pane.
  • Pygments 2.0+: Syntax highlighting for all file types it supports.
  • Pylint: Static code analysis.
  • Pycodestyle: Real-time code style analysis.
  • Psutil: CPU and memory usage on the status bar.
  • Nbconvert: Manipulation of notebooks in the Editor.
  • Qtawesome 0.4.1+: To have an icon theme based on FontAwesome.
  • Pickleshare: Show import completions on the Python consoles.
  • PyZMQ: Run introspection services asynchronously.
  • QtPy 1.2.0+: Abstraction layer for Python Qt bindings so that Spyder can run on multiple Qt bindings and versions.
  • Chardet: Character encoding auto-detection in Python.
  • Numpydoc: Used by Jedi to get function return types from Numpydocstrings.
  • Cloudpickle: Serialize variables in the IPython kernel to send to Spyder.
  • spyder-kernels 1.0+: Jupyter kernels for the Spyder console.
  • keyring: Save Github credentials to report errors securely.

Optional dependencies

  • Matplotlib: 2D/3D plotting in the Python and IPython consoles.
  • Pandas: View and edit DataFrames and Series in the Variable Explorer.
  • Numpy: View and edit 2- or 3-dimensional arrays in the Variable Explorer.
  • SymPy: Symbolic mathematics in the IPython console.
  • SciPy: Import Matlab workspace files in the Variable Explorer.
  • Cython: Run Cython files in the IPython console.

Backers

Support us with a monthly donation and help us continue our activities.

Backers

Sponsors

Become a sponsor to get your logo on our README on Github.

Sponsors

More information

Main Website

Download Spyder (with Anaconda)

Online Documentation

Spyder Github

Troubleshooting Guide and FAQ

Development Wiki

Gitter Chatroom

Google Group

@Spyder_IDE on Twitter

@SpyderIDE on Facebook

Support Spyder on OpenCollective