ipython / ipython/ipython

Support embedding IPython kernel in async applications

Open
#12,550 0 comments 16 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
16.8k
Forks
4.5k
Avg merge
1d 2h
Merged PRs (30d)
6

Description

It seems like embedded IPython kernel is already running asynchronously with Tornado, so I am wondering if it would be possible to make embedded IPython support async natively. Currently, `IPython.embed_kernel()` also runs the loop itself (as well as closes it *after* exiting the kernel), which doesn't make it possible to embed in async applications and it would seem fitting considering that with asyncio's concurrency one could possibly run embedded IPython kernel without "hanging" the rest of application.
I have no idea how much work that would in reality require though, I just think that such functionality would be useful.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.