Spyder

Spyder的官方存储库 -- 科学Python开发环境。(Official repository for Spyder - The Scientific Python Development Environment)

Github stars Tracking Chart

Spyder是一个用Python编写的强大的科学环境,用于Python, 由科学家,工程师和数据分析师设计。它提供了一个高级编辑、分析、调试和分析的独特组合数据探索的综合开发工具的功能, 交互式执行,深度检查和美观的可视化,科学一揽子计划的能力。

除了众多内置功能外,其功能还可以通过其插件系统和API进一步扩展。此外,Spyder也可以用作PyQt5 扩展库,允许您构建其功能和嵌入 其组件,例如交互式控制台,在您自己的软件中。

有关Spyder的更多一般信息,并保持软件最新; 以及最新的Spyder新闻和信息,请查看 我们的新网站

核心组件

  • 编辑器。使用功能/类浏览器在多语言编辑器中高效工作, 实时代码分析工具( pyflakes, pylint 和 pycodestyle), 自动代码完成( jedi 和 rope), 水平/垂直分割,以及定义。
  • 交互式控制台。充分利用尽可能多的IPython游戏机的强大功能 工作空间和调试支持,都在一个完整的灵活性 GUI界面。按行、单元格或文件即时运行代码, 并使用输出或交互式窗口内联绘制绘图。
  • 文档查看器。使用Sphinx为任何类或函数实时渲染文档, 无论是外部用户还是用户创建的,无论是编辑器还是控制台。
  • 变量资源管理器。检查会话期间创建的任何变量,函数或对象。 许多常见类型支持编辑和交互,包括 numeric / strings / bools,Python list / tuples / dictionaries,dates / timedeltas, Numpy数组,Pandas索引/系列/数据帧,PIL / Pillow图像等。
  • 开发工具。使用静态分析器检查代码,使用静态分析器跟踪其执行情况 交互式调试器,并使用分析器释放其性能。 通过项目支持和内置文件资源管理器来整理事物 使用文件中的find来搜索整个项目并获得完整的正则表达式支持。

文档

您可以在 Spyder Docs网站上在线阅读Spyder文档。

安装

有关安装Spyder的详细指南,请参阅我们的 安装说明

在我们支持的任何平台上安装Spyder的最简单方法 是作为 Anaconda 的一部分下载它、分发,并使用 conda包和环境管理器来保存它,并和您的其他已安装的软件包保持最新。

如果有疑问,您应该始终通过此方法安装Spyder以避免 我们无法帮助您的意外问题;它一般都有 非专家潜在陷阱的可能性最小,我们可能会这样,如果你遇到麻烦,能够提供有限的帮助。

Overview

Name With Ownerspyder-ide/spyder
Primary LanguagePython
Program languagePython (Language Count: 16)
PlatformLinux, Mac, Windows
License:MIT License
Release Count200
Last Release Namev6.0.0a5 (Posted on 2024-04-23 18:41:58)
First Release Namev1.0.0beta1 (Posted on )
Created At2015-02-16 22:49:48
Pushed At2024-04-28 17:31:09
Last Commit At2024-04-26 12:31:51
Stargazers Count8k
Watchers Count299
Fork Count1.6k
Commits Count28.9k
Has Issues Enabled
Issues Count17797
Issue Open Count1097
Pull Requests Count3551
Pull Requests Open Count54
Pull Requests Close Count463
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private

Spyder — The Scientific Python Development Environment

Copyright © 2009–2019 Spyder Project Contributors

Some source files and icons may be under other authorship/licenses; see
NOTICE.txt.

Project status

Binder
license
pypi version
conda version
download count
OpenCollective Backers
OpenCollective Sponsors
Join the chat at https://gitter.im/spyder-ide/public
PyPI status

Build status

Travis status
CircleCI
Azure
Coverage Status
codecov
Crowdin

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 and Credits

Spyder was originally created by Pierre Raybaut, and is currently maintained by
Carlos Córdoba and an international
community of volunteers.

You can join us—everyone is welcome to help with Spyder!
Please read our contributing instructions
to get started!

Certain source files are distributed under other compatible permissive licenses
and/or originally by other authors.
The icons for the Spyder 3 theme are derived from Font Awesome 4.7 (© 2016 David Gandy; SIL OFL 1.1).
Most Spyder 2 theme icons are sourced from the Crystal Project icon set (© 2006-2007 Everaldo Coelho; LGPL 2.1+).
Other Spyder 2 icons are from Yusuke Kamiyamane (© 2013 Yusuke Kamiyamane; CC-BY 3.0),
the FamFamFam Silk icon set
(© 2006 Mark James; CC-BY 2.5), and the KDE Oxygen icons (© 2007 KDE Artists; LGPL 3.0+).

See NOTICE.txt
for full legal information.

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
spyder-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 -c spyder-ide spyder-kernels=1.*

Alternatively, you can use pip to install PyQt5 and 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 equal or greater than 3.5 or 2.7.

Runtime dependencies

The basic dependencies to run Spyder are:

  • Python 3.5+ or 2.7: The core language Spyder is written in and for.
  • PyQt5 5.6+: Python bindings for Qt, used for Spyder's GUI.

The rest our dependencies (both required and optional) are declared in
this file.

Sponsors

Spyder is funded thanks to the generous support of

QuansightNumfocus

and the donations we have received from our users around the world through Open Collective:

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

To the top