python ide 最好_我在iPad上最好的Python IDE

python ide 最好

Having finished my first year at university, and being left with very little to do this summer, I eventually found myself diving back into the wonders of the programming world, teaching myself languages such as Python and JavaScript, and building fun little tools with them along the way.

大学一年级结束后,今年夏天几乎无所事事,我最终发现自己重回编程世界的奇迹,自学Python和JavaScript等语言,并与他们一起构建有趣的小工具方式。

Since I chose to study Mathematics at university, I ended up investing in Apple’s iPad Pro at the beginning of the year, so that combined with the Apple Pencil, I would be able to quickly make notes during lectures and then spend a few minutes effortlessly neatening them up in the library afterwards. It also meant that I could spend hours trying to figure out the solutions to each weeks problem set without having to waste a single sheet of paper!

自从我选择在大学学习数学以来,我于今年初投资了Apple的iPad Pro,因此与Apple Pencil结合使用后,我可以在演讲中快速记笔记,然后花几分钟轻松地整理然后把它们放进图书馆。 这也意味着我可以花费数小时尝试找出每个星期的问题的解决方案,而不必浪费一张纸!

As I became more and accustomed to using the iPad as a virtual notepad, I decided to put it to the test and use it as my go to software development tool at the beginning of the summer holiday, and I haven’t been able to stop using it since!

随着我越来越习惯于将iPad用作虚拟记事本,我决定将其进行测试,并在暑假开始时将其用作软件开发工具,但我一直无法停止自使用以来!

In this article I aim to highlight some of the most practical IDEs for python development on the iPad, and hopefully you’ll end up adding one of the programs in this list to your development tool belt.

在本文中,我旨在重点介绍一些在iPad上进行python开发的最实用的IDE,并且希望您最终可以将此列表中的一个程序添加到开发工具中。

数据科学用Python (Python for Data Science)

Part of the Mathematics syllabus at my university involves Statistics, a subject I was never particularly fond of until I discovered its true potential with Python’s data science and machine learning libraries. Being an aspiring mathematician, I knew that this area of statistics would satisfy my interest for both mathematics and programming, so what better a way to use my knowledge of Python than to use Jupyter Notebooks to start learning how to use it for data science. This leads us to our first iPad app: Juno.

我大学的数学课程中有一部分涉及统计学,直到我发现它在Python的数据科学和机器学习库中的真正潜力之前,我从未特别喜欢它。 作为一个有抱负的数学家,我知道统计学领域会满足我对数学和编程的兴趣,因此,使用Python知识比使用Jupyter Notebooks开始学习如何将其用于数据科学更好。 这使我们进入了我们的第一个iPad应用程序:Juno。

朱诺 (Juno)

Juno is a clean, powerful and fully supported iOS application for displaying and editing .ipynb files (Jupyter Notebooks) right from the comfort of your iPad. Currently, it has support for many popular data science libraries such as NumPy, MatPlotLib, Seaborn, and Pandas, as well as upcoming support for Scikit Learn and Tensorflow. It boasts a clean and easy to use UI with full keyboard shortcut support for the iPad Pro’s magic keyboard, as well as all the functionality that you would expect to receive from any ordinary Jupyter notebook platform.

Juno是一个干净,功能强大且受到完全支持的iOS应用程序,可从您的iPad舒适地显示和编辑.ipynb文件(Jupyter笔记本)。 目前,它支持许多流行的数据科学库,例如NumPy,MatPlotLib,Seaborn和Pandas,以及即将支持的Scikit Learn和Tensorflow。 它拥有一个干净且易于使用的UI,并具有对iPad Pro魔术键盘的完整键盘快捷键支持,以及您希望从任何普通Jupyter笔记本平台上获得的所有功能。

This is an exceptionally great tool not only for data science, but for python tasks in general, due to being fast and responsive, as well as being able to read notebook files from external file locations such as Dropbox, OneDrive, and even Adobe Creative Cloud!

这是一个非常出色的工具,不仅快速而且响应Swift,而且不仅可以用于数据科学,而且还可以用于一般的python任务,并且能够从Dropbox,OneDrive甚至Adobe Creative Cloud等外部文件位置读取笔记本文件!

Juno also has the ability to import external libraries for use within the IDE itself, and if no libraries can be installed, the extensions folder is accessible through the Files app on your iOS device. This means that libraries can be installed from the web straight into the Juno client, however not all libraries are fully supported in the Juno IDE, so take this information with a pinch of salt.

Juno还可以导入外部库以在IDE本身中使用,并且如果无法安装任何库,则可以通过iOS设备上的“文件”应用程序访问extensions文件夹。 这意味着可以从Web直接将库安装到Juno客户端中,但是Juno IDE并不完全支持所有库,因此请多加注意。

As great as all of this functionality is, it does however come at a hefty price of £14.99. I can say that it is worth every penny, but if you are not looking for a paid Jupyter Notebook IDE, do check out the popular alternative on the App Store: Carnets.

尽管所有这些功能都很棒,但是它的价格却高达14.99英镑。 我可以说这是物有所值的,但是,如果您不打算购买付费的Jupyter Notebook IDE,请在App Store上查看流行的替代品:Carnets。

证章 (Carnets)

Much like Juno, Carnets supports many of your favourite libraries, and supports external library extensions. It also sports a similar user interface style to the classic browser-based Jupyter, which may be more appealing to some users. Since this version is free however, it lacks some of the bells and whistles that Juno has to offer, for example:

与Juno一样,Carnets支持许多您喜欢的库,并支持外部库扩展。 它还具有与基于浏览器的经典Jupyter类似的用户界面样式,这可能对某些用户更具吸引力。 但是,由于此版本是免费的,因此它缺少Juno必须提供的一些功能,例如:

  • External keyboard shortcuts are severely limited, for example there are no shortcuts for deleting cells or undoing actions.

    外部键盘快捷键受到严格限制,例如,没有用于删除单元格或撤消操作的快捷键。
  • External package support for Carnets is much more limited than that of Juno – packages can be installed, but are not always guaranteed to work.

    对Carnets的外部软件包支持比对Juno的支持要受限制得多–可以安装软件包,但不能总是保证它们可以正常工作。
  • The user interface is not properly optimised for use on an iPad, and can be a pain to use.

    用户界面未针对iPad进行适当优化,使用起来很麻烦。

Whilst this does not put Carnets in a particularly good light, the application does have a couple of features up its sleeve that Juno does not have to offer, such as direct access to documentation through the task bar, widget support and finally the ability to save and revert to custom checkpoints. These are just the most important features, and there are likely to be more useful little quirks within the application, so I encourage you to try it out for yourself.

尽管这不能使Carnets表现得特别好,但是该应用程序确实具有Juno不需要提供的一些功能,例如通过任务栏直接访问文档,小部件支持以及最后的保存功能。并还原为自定义检查点。 这些只是最重要的功能,应用程序中可能会有一些更有用的小怪癖,因此,我鼓励您自己尝试一下。

适用于应用程序开发的Python (Python for Application Development)

Since Python is a very popular and powerful tool used worldwide by enthusiasts and professionals alike, it would not come as a surprise to find this functionality on the iOS platform. Indeed, there is an application that allows you to write applications, plot graphs, perform hefty computations, and even write your own games that can be launched from the home screen of your Apple device. Behold, Pythonista!

由于Python是发烧友和专业人士在全球范围内使用的非常流行且功能强大的工具,因此在iOS平台上找到此功能不足为奇。 确实,有一个应用程序允许您编写应用程序,绘制图形,执行大量计算,甚至编写可以在Apple设备主屏幕上启动的自己的游戏。 看哪,Pythonista!

Pythonista (Pythonista)

When I first started looking for an IDE to use on my iPad, I noticed that there were a lot of paid ones which were practically the same as the default Python IDE for desktop, so I thought to myself – “this isn’t worth it, it’ll only be more stressful”. But then I came across Pythonista, and it was anything but!

当我刚开始寻找要在iPad上使用的IDE时,我注意到有很多付费产品实际上与台式机的默认Python IDE相同,所以我心想:“这不值得,只会压力更大”。 但是后来我遇到了Pythonista,但是什么都没有!

Pythonista is a fantastic tool for writing and debugging Python code from the convenience of your iPad or iPhone. It includes a simple user interface with plenty of custom themes to choose from, access to python files from any location (including Dropbox), and the ability to have multiple python scripts open at once. Its automatic code completion paired with offline access to Python documentation makes writing within the IDE an absolute joy.

Pythonista是一款出色的工具,可通过iPad或iPhone方便地编写和调试Python代码。 它包括一个简单的用户界面,具有很多自定义主题可供选择,可以从任何位置(包括Dropbox)访问python文件,并且可以一次打开多个python脚本。 它的自动代码完成功能以及对Python文档的脱机访问使IDE内的编写绝对令人高兴。

But aside from the glamorous themes and pages of built in documentation, Pythonista comes with a plethora of other features to justify its £9.99 price tag. Some of these features include, but are not limited to:

但是,除了内置文档的迷人主题和页面外,Pythonista还提供了许多其他功能,以证明其9.99英镑的价格合理。 其中一些功能包括但不限于:

  • The ability to run your code using either Python 2.7 or 3.6.

    使用Python 2.7或3.6运行代码的能力。
  • The ability to run graphical programs inside the compiler using hardware accelerated rendering modules such as Python’s built in “scene” module.

    使用硬件加速渲染模块(例如Python的内置“场景”模块)在编译器内运行图形程序的能力。
  • The ability to plot graphs and save them as images using MatPlotLib.

    使用MatPlotLib绘制图形并将其保存为图像的功能。
  • Access to iOS’ built in “Shortcuts” app allowing users to place custom written programs on the users Home Screen.

    访问iOS内置的“快捷方式”应用程序,允许用户在用户主屏幕上放置自定义编写的程序。
  • Extensive keyboard support for the dedicated users like myself.

    对像我这样的专用用户的广泛键盘支持。
  • A unique UI editor for the aspirational designers looking to get started on iOS.

    独特的UI编辑器,适合希望在iOS上入门的有抱负的设计师。

for me it has been a reliable and sturdy tool in my development toolbox for a few months now, so if you are looking into an app which allows you to develop on the go, then I highly recommend this one!

对我来说,它已经成为我开发工具箱中可靠且坚固的工具已有几个月了,因此,如果您正在寻找一款可以随时随地进行开发的应用程序,那么我强烈建议您使用它!

But perhaps you’re not looking to shell out a tenner for a Python IDE. I completely sympathise. Don’t worry, I’ve done my research (scrolling through free IDEs to find the one with the best rating), and I came across this one.

但是也许您不打算为Python IDE掏腰包。 我完全同情。 不用担心,我已经完成了研究(通过免费的IDE滚动查找具有最高评价的IDE),而我碰到了这个。

毕托 (Pyto)

Perhaps it’s no coincidence that Pyto is the top rated free Python IDE on the App Store, as it is very close in comparison to Pythonista. Not only is it a fantastic free alternative to Pythonista, it also runs native Python 3.8, as opposed to the centuries old Python 3.7…

Pyto是App Store上评分最高的免费Python IDE,这并非偶然,因为与Pythonista相比,它非常接近。 它不仅是Pythonista的绝佳免费替代品,而且还运行着本机Python 3.8,与几个世纪前的Python 3.7相对……

Although it doesn’t include offline documentation, it does grant users access to multiple windows at once, which is a particularly compelling feature for users who have come from VS Code on the desktop. Not only that, it also features support for modules such as Sklearn, which none of the aforementioned IDEs support. If that’s not enough, you also have the ability to ‘pip install’ other Pypi modules.

尽管它不包含脱机文档,但它确实授予用户一次访问多个窗口的权限,对于来自桌面上VS Code的用户而言,这是一项特别引人注目的功能。 不仅如此,它还具有对Sklearn等模块的支持,上述IDE均不支持。 如果这还不够,您还可以“点安装”其他Pypi模块。

Next up, Pyto features its own host of modules from UI modules allowing users to plot graphs with data science libraries like Matplotlib, and even access to device settings such as the users location. Much like Pythonista, there is also iOS Shortcuts support.

下一步,Pyto拥有自己的UI模块模块,这些模块使用户可以使用Matplotlib等数据科学库绘制图形,甚至可以访问设备设置(例如用户位置)。 就像Pythonista一样,也有iOS快捷方式支持。

深度学习Python (Python for Deep Learning)

If Juno wasn’t enough for your data science needs – namely, you need something that gives you access to statistical modelling and machine learning libraries such as Sklearn or Google’s Tensorflow, then I’ve got you covered. You’ve reached the end of the line, and in return I present you with the most practical IDE of all.

如果Juno不足以满足您的数据科学需求–即,您需要使您能够访问统计建模和机器学习库(例如Sklearn或Google的Tensorflow)的东西,那么我就满足了。 您已经到达了行尾,作为回报,我为您提供了最实用的IDE。

Juno Connect (Juno Connect)

Before we go into the specifics, I should indeed confess that Juno Connect DOES NOT run natively on your iOS device. It is simply an IDE which allows you to connect to a service running Jupyter Notebooks. This could be your desktop computer at home, a Microsoft Azure server, or perhaps a private external server that you’re collaborating on.

在进行详细介绍之前,我确实应该承认Juno Connect不能在您的iOS设备上本地运行。 它只是一个IDE,使您可以连接到运行Jupyter Notebooks的服务。 这可能是您在家中的台式计算机,Microsoft Azure服务器,或者是您正在协作的私有外部服务器。

With all that being said, Juno Connect DOES however grant you access to a familiar Jupyter Notebook interface, allowing the user to have multiple notebooks running at once. This does come as a relief after using Juno for a prolonged amount of time, since that IDE completely shuts down the notebook that you’re working in every time you want to open another one, and there’s no option to have multiple windows open at once.

综上所述,Juno Connect DOES允许您访问熟悉的Jupyter Notebook界面,从而允许用户一次运​​行多个笔记本。 长时间使用Juno后,这确实是一种解脱,因为每次要打开另一个笔记本时,IDE都会完全关闭您正在使用的笔记本电脑,并且无法一次打开多个窗口。

Another huge relief is that since you are running your notebook from a server within this IDE, you have access to any Python library or extension (as long as your computer actually runs it). This means that you can use Scikit Learn or even Google’s Tensorflow right from the comfort of your iPad. Whilst the developers at Juno are working on bringing this to their native IDE, this is all we have to work with for the time being.

另一个巨大的好处是,由于您是从此IDE中的服务器运行笔记本电脑的,因此您可以访问任何Python库或扩展名(只要您的计算机实际运行它即可)。 这意味着您可以在iPad上舒适地使用Scikit Learn甚至Google的Tensorflow。 尽管Juno的开发人员正在努力将其引入其本机IDE,但这是我们目前要做的全部工作。

You can start a Jupyter notebook server on your desktop by using a client such as Anaconda, which is free to download and gives you access to Jupyter Notebooks, Jupyter Labs, and many more features. Simply run the Anaconda server, and type into the console:

您可以使用Anaconda等客户端在桌面上启动Jupyter笔记本服务器,该客户端可以免费下载,并可以访问Jupyter Notebook,Jupyter Labs和更多功能。 只需运行Anaconda服务器,然后在控制台中输入:

jupyter notebook —-no-browser —-port=####

This will run a jupyter notebook server without opening the browser from your device so that devices on the network can connect to it. Make sure that you actually type a port number rather than #### into the console. The default is usually 8888, so you can go ahead and leave this blank. To connect to this server, use the IPV4 address of your device on the network. There are a few more steps involving setup server side, so take a look at their official webpage:

这将运行jupyter笔记本服务器,而无需从设备打开浏览器,以便网络上的设备可以连接到它。 确保您实际上在控制台中键入端口号而不是####。 默认值通常是8888,因此您可以继续将其留空。 要连接到该服务器,请使用网络上设备的IPV4地址。 还有一些涉及设置服务器端的步骤,因此请查看其官方网页:

https://juno.sh/direct-connection-to-jupyter-server/

https://juno.sh/direct-connection-to-jupyter-server/

Now that you’re all set up, you can go and fulfil your deep learning needs from your sofa, or even on the go, should you decide to port-forward.

现在,您已经准备就绪,可以决定从沙发上满足您的深度学习需求,甚至在旅途中也可以满足您的深度学习需求。

Like all of the previously mentioned IDEs, I should mention the free alternative, but this time I did not have any luck other than finding a feature built into Carnets that allows the user to connect to a remote server, so if you are really interested, do check this out for yourself.

像前面提到的所有IDE一样,我应该提到免费的替代方案,但是这次除了找到Carnets内置的功能,该功能允许用户连接到远程服务器之外,我没有其他任何运气,因此,如果您真的感兴趣,自己检查一下。

翻译自: https://medium.com/dev-genius/my-top-python-ides-for-ipad-3f777023155c

python ide 最好

你可能感兴趣的:(python ide 最好_我在iPad上最好的Python IDE)