ipython / ipython/ipynb

Make IPython Magics work

Đang mở
#6 5 bình luận 3 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Jupyter Notebook
Star
258
Fork
71
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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!

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

No files or tests are named. Start by locating the notebook importer and its IPython loading path, then compare behavior when IPython is already loaded versus absent. Done requires the three conditional-loading cases to work and the startup-time cause to be understood.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
jupyter, jupyter-notebook, python
Lĩnh vực
tooling
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.