IPython

IPython(アイパイソン)はPythonを対話的に実行するためのシェルである[3]。CPython内蔵の対話的に実行するためのシ…

IPython
IPython
作者 フェルナンド・ペレス (Fernando Perez)[1]
最新版
9.16.1[2] ウィキデータを編集 / 2026年8月3日 (16日前)
リポジトリ ウィキデータを編集
プログラミング
言語
Python
対応OS クロスプラットフォーム[3]
種別 シェル
ライセンス New BSD license[3]
公式サイト ipython.org
テンプレートを表示

IPython(アイパイソン)はPythonを対話的に実行するためのシェルである[3]CPython内蔵の対話的に実行するためのシェルと比べ、型イントロスペクション英語: Type introspection機能、対話的実行のための文法などが追加されてあり、コードのシンタックスハイライトおよびタブによる補完が行える。IPythonの開発はNumFOCUSによって財政的に支援されている。

その他の特徴

Python 標準のシェルでは Tkinter を使った対話的実行環境が利用できるが、IPython では Tkinter に加えて GTKQtWX が利用できる。また IPython ではMPI などを使ったコンピュータ・クラスター環境における並列コンピューティングが可能である。さらに、OS 標準搭載のコマンドライン・シェルとしても (bashcshなどと同様に) 使うことができ、特に Windows でコマンドライン・シェルとして利用できるのは大きな利点である。IPython のシェルとしての基本的な挙動は Unix の多くのシェルと同様だが、実行中の Python 環境によるカスタマイズや実行の柔軟性が活用できるという利点がある。

評価

米国内で広く読まれているIT系報道メディアで紹介されている[4]。また自然科学の学術会議でも議題に上っている[5]。科学技術計算の分野においては、Matplotlibとあわせて使う例が多く見られる[6]

解説図書

  • Cyrille Rossant,菊池 彰(訳):「IPythonデータサイエンスクックブック 第2版」,オライリージャパン,ISBN978-4-87311-854-3(2019年5月).
    • 原書は Cyrille Rossant: "IPython Interactive Computing and Visualization Cookbook, 2nd Edition", Packt Publishing,ISBN978-1785888632 (Jan 2018).

関連項目

出典

  1. ^ History”. The IPython Development Team. 2014年1月22日閲覧。
  2. ^ "ipython 9.16.1"
  3. ^ a b c Introduction”. The IPython Development Team. 2014年1月22日閲覧。
  4. ^ Conrad Koziol (September 12, 2005). “Introducing IPython”. NewsForge. 
  5. ^ About/Presentations - IPython
  6. ^ IPython: A System for Interactive Scientific Computing
  7. ^ https://github.com/gibiansky/ihaskell

外部リンク

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.