IPython Notebooks are awesome. Here's another, newer browser-based tool I've recently discovered: Rodeo. My impression is that it seems to better support an RStudio-like workflow.
If you are new to Python, you can install the free Anaconda distribution (http://continuum.io/downloads.html), which will install Spyder for you, as well as Python 2.7 and IPython. Spyder is very similar to RStudio.
docker run -it --rm -p 8888:8888 -v ~/code/jupyter:/home/jovyan/work jupyter/datascience-notebook
Jupyter Notebook (previously known as IPython notebook) is a really cool project for interactive data manipulation in Python (and other languages, including R). It basically allows you to interactively code and document what you're doing in one interface and later on save it as a:
notebook (.ipynb)
script (a .py file including only the source code)
static html (and therefore pdf as well)
You can even share your notebooks online with others using the nbviewer service, where people publish whole books. Furthermore, GitHub renders your .ipynb files. You can publish your Jupyter Notebooks as reproducible research articles on Authorea. For collaborative editing by multiple users, check out Google Colab built on top of Jupyter.
The default Jupyter Notebook version starts a web application locally (or you deploy it to a server) and you use it from your browser. As Ryan also mentioned in his answer, Rodeo is an interface more similar to RStudio built on top of the Jupyter kernel.
JupyterLab is a newer take on the UI allowing for more flexibility in how you edit your notebooks, control interactive widgets and even run commands in terminal emulators.
There's also a Qt console for IPython, a similar project with inline plots, which is a desktop application.
Jupyter is a normal Python package and can be installed using pip install jupyter. To get all the scientific libraries running on your computer, however, it might be easier to try the official Jupyter Docker containers. For example, assuming your notebooks are in ~/code/jupyter, you can run the container as:
docker run -it --rm -p 8888:8888 -v ~/code/jupyter:/home/jovyan/work jupyter/datascience-notebook
JupyterLab aims to create a more desktop-like experience on the Web.
Update:
As of March 2018 JupyterLab is in beta. "The beta releases are suitable for general usage. For JupyterLab extension developers, the extension APIs will continue to evolve until the 1.0 release. Eventually, JupyterLab will replace the classic Jupyter Notebook after JupyterLab reaches 1.0."
Pycharm is a really decent IDE. From what I have seen so far it is the most similar to Rstudio. Another nice piece is that it allows you to install new Python libraries in a fashion similar to Rstudio (which otherwise can be a nightmare). There is now a free 'community' edition.
spyder is you need! https://code.google.com/p/spyderlib/
Spyder (previously known as Pydee) is a powerful interactive development environment for the Python language with advanced editing, interactive testing, debugging and introspection features
Wing IDE 以及 PyCharm 和 PyDev 等其他 Python IDE 也可能具有此类功能。在 Wing 中,您可以在集成的 Python Shell 中选择并执行代码,或者如果您正在调试某些内容,则可以与 shell 中暂停的调试程序(称为调试探针)进行交互。如果您正在使用 matplotlib,还提供对 matplotlib 的特殊支持,以便您可以交互地处理绘图。
Wing IDE, and probably also other Python IDEs like PyCharm and PyDev have features like this. In Wing you can either select and execute code in the integrated Python Shell or if you're debugging something you can interact with the paused debug program in a shell (called the Debug Probe). There is also special support for matplotlib, in case you're using that, so that you can work with plots interactively.
发布评论
评论(10)
IPython 笔记本非常棒。这是我最近发现的另一个基于浏览器的较新工具:Rodeo。我的印象是,它似乎更好地支持类似 RStudio 的工作流程。
IPython Notebooks are awesome. Here's another, newer browser-based tool I've recently discovered: Rodeo. My impression is that it seems to better support an RStudio-like workflow.
spyder 或安装 python(x,y)。太棒了。
如果您是 Python 新手,可以安装免费的 Anaconda 发行版 (http://continuum.io/downloads.html< /a>),这将为您安装 Spyder,以及 Python 2.7 和 IPython。 Spyder 与 RStudio 非常相似。
spyder or install python(x,y). it is great.
If you are new to Python, you can install the free Anaconda distribution (http://continuum.io/downloads.html), which will install Spyder for you, as well as Python 2.7 and IPython. Spyder is very similar to RStudio.
Jupyter Notebook(以前称为 IPython Notebook)是一个非常酷的项目,用于 Python(以及其他语言,包括 R)中的交互式数据操作。它基本上允许您在一个界面中交互式地编码和记录您正在做的事情,然后将其保存为:
您甚至可以使用 nbviewer 与其他人在线共享您的笔记本服务,人们可以在其中发布整本书。此外,GitHub 渲染您的.ipynb文件。您可以在 Authorea 上将 Jupyter Notebook 发布为可重复的研究文章。如需多个用户进行协作编辑,请查看基于 Jupyter 构建的 Google Colab。
默认的 Jupyter Notebook 版本在本地启动 Web 应用程序(或者将其部署到服务器),然后从浏览器使用它。正如 Ryan 在他的回答中也提到的那样,Rodeo 是一个更类似于构建在 Jupyter 内核之上的 RStudio 的界面。
JupyterLab 是 UI 的更新版本,允许您更灵活地编辑笔记本,控制交互式小部件,甚至在终端模拟器中运行命令。
还有一个 IPython 的 Qt 控制台,一个带有内联图的类似项目,这是一个桌面应用程序。
Jupyter 是一个普通的 Python 包,可以使用
pip install jupyter
进行安装。然而,要让所有科学库在您的计算机上运行,尝试 官方 Jupyter Docker 容器。例如,假设您的笔记本位于 ~/code/jupyter 中,您可以按以下方式运行容器:Jupyter Notebook (previously known as IPython notebook) is a really cool project for interactive data manipulation in Python (and other languages, including R). It basically allows you to interactively code and document what you're doing in one interface and later on save it as a:
You can even share your notebooks online with others using the nbviewer service, where people publish whole books. Furthermore, GitHub renders your .ipynb files. You can publish your Jupyter Notebooks as reproducible research articles on Authorea. For collaborative editing by multiple users, check out Google Colab built on top of Jupyter.
The default Jupyter Notebook version starts a web application locally (or you deploy it to a server) and you use it from your browser. As Ryan also mentioned in his answer, Rodeo is an interface more similar to RStudio built on top of the Jupyter kernel.
JupyterLab is a newer take on the UI allowing for more flexibility in how you edit your notebooks, control interactive widgets and even run commands in terminal emulators.
There's also a Qt console for IPython, a similar project with inline plots, which is a desktop application.
Jupyter is a normal Python package and can be installed using
pip install jupyter
. To get all the scientific libraries running on your computer, however, it might be easier to try the official Jupyter Docker containers. For example, assuming your notebooks are in ~/code/jupyter, you can run the container as:如果您正在寻找 RStudio for Python 等工具,请查看 Yhat 的 Rodeo。
< /a>
Rodeo 具有:
Check out Rodeo from Yhat if you're looking for something like RStudio for Python.
Rodeo has:
您可能想了解一下 JupyterLab(下一代 Jupyter Notbook): https://github.com/jupyter/jupyterlab 。
JupyterLab 旨在在 Web 上创建更像桌面的体验。
更新:
截至 2018 年 3 月,JupyterLab 处于测试阶段。 “测试版适合一般用途。对于 JupyterLab 扩展开发人员来说,扩展 API 将继续发展,直到 1.0 版本。最终,JupyterLab 将在 JupyterLab 达到 1.0 版本后取代经典的 Jupyter Notebook。”
要将 Jupyter Lab 作为桌面应用程序运行,请参阅 christopherroach.com/articles/jupyterlab-desktop-app(感谢 PatrickT) 。
以下是快速预览:
您可以在监视系统的终端上的图形控制台旁边放置一个笔记本,同时将文件管理器保留在左侧:
有关更多详细信息,请参阅:https://blog.jupyter.org/2016/07/14/jupyter-lab-alpha/ 和此处:http://www.techatbloomberg.com/blog/inside-the-collaboration-that-built-the-open-source-jupyterlab-project/。
You might want to look into JupyterLab (the next generation of Jupyter Notbooks): https://github.com/jupyter/jupyterlab.
JupyterLab aims to create a more desktop-like experience on the Web.
Update:
As of March 2018 JupyterLab is in beta. "The beta releases are suitable for general usage. For JupyterLab extension developers, the extension APIs will continue to evolve until the 1.0 release. Eventually, JupyterLab will replace the classic Jupyter Notebook after JupyterLab reaches 1.0."
To run Jupyter Lab as a Desktop Application, see christopherroach.com/articles/jupyterlab-desktop-app (Thanks to PatrickT).
Here's a quick preview:
You can arrange a notebook next to a graphical console atop a terminal that is monitoring the system, while keeping the file manager on the left:
For more details see: https://blog.jupyter.org/2016/07/14/jupyter-lab-alpha/ and here: http://www.techatbloomberg.com/blog/inside-the-collaboration-that-built-the-open-source-jupyterlab-project/.
Pycharm 是一个非常不错的 IDE。就我目前所见,它与 Rstudio 最相似。另一个不错的地方是它允许您以类似于 Rstudio 的方式安装新的 Python 库(否则这可能是一场噩梦)。现在有免费的“社区”版本。
Pycharm is a really decent IDE. From what I have seen so far it is the most similar to Rstudio. Another nice piece is that it allows you to install new Python libraries in a fashion similar to Rstudio (which otherwise can be a nightmare). There is now a free 'community' edition.
我认为值得一提的是 RStudio v1.1.359 预览版已发布。它具有可用于 Python 的终端功能。
可以在此处下载
文档此处
I think it is worth while to mention that RStudio v1.1.359 Preview is released. It has terminal feature that can be used for Python.
Download is available here
Documentation is available here
间谍是你需要的!
https://code.google.com/p/spyderlib/
Spyder(以前称为 Pydee)是一个强大的 Python 语言交互式开发环境,具有高级编辑、交互式测试、调试和自省功能
spyder is you need!
https://code.google.com/p/spyderlib/
Spyder (previously known as Pydee) is a powerful interactive development environment for the Python language with advanced editing, interactive testing, debugging and introspection features
要获得更好的 Python 交互式 shell,请查看 DreamPie。不过,它并不是真正的 IDE(就像 RStudio 那样?)
For a nicer interactive shell for Python, have a look at DreamPie. It's not really an IDE though (as RStudio seems to be?)
Wing IDE 以及 PyCharm 和 PyDev 等其他 Python IDE 也可能具有此类功能。在 Wing 中,您可以在集成的 Python Shell 中选择并执行代码,或者如果您正在调试某些内容,则可以与 shell 中暂停的调试程序(称为调试探针)进行交互。如果您正在使用 matplotlib,还提供对 matplotlib 的特殊支持,以便您可以交互地处理绘图。
Wing IDE, and probably also other Python IDEs like PyCharm and PyDev have features like this. In Wing you can either select and execute code in the integrated Python Shell or if you're debugging something you can interact with the paused debug program in a shell (called the Debug Probe). There is also special support for matplotlib, in case you're using that, so that you can work with plots interactively.