ipython / ipython/ipynb

Make IPython Magics work

オープン
#6 コメント 5 件 リアクション 3 件 担当者 0 名 GitHub で見る
主要言語
Jupyter Notebook
スター
258
フォーク
71
PR マージ指標
30日以内にマージされた PR はありません

説明

Currently, we don't support IPython Magics at all from noteboks. We initially supported them, but removed them because importing IPython was causing a massive startup time lag (>1s) that seemed pretty bad.

Ideally, I'd like to be able to do the following:
1. If IPython is already loaded (you are already in a notebook), support magics by default
2. If IPython is *not* loaded, and there are no magics in the imported notebooks, do not load it
3. Load IPython only if there are magics in the notebook

I'd also like to possibly consider implementing the `!` action (which runs things in a shell) natively, so we don't have to import all of IPython to get just that behavior. Also investigate *why* startup takes so long!

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。