ipython / ipykernel

IPython Kernel for Jupyter
https://ipykernel.readthedocs.io/en/stable/
BSD 3-Clause "New" or "Revised" License
649 stars 367 forks source link

Directing output of out external threads/processes to specific cells #1199

Open krassowski opened 10 months ago

krassowski commented 10 months ago

https://github.com/ipython/ipykernel/pull/1186 made output of Python threads and asyncio tasks go to right cells. It would be interesting, although challenging to make it work for any thread/process (e.g. created from a C++ dependency).

Here are two possible options to consider:

Any thoughts on whether any of these would be in scope?

krassowski commented 10 months ago

@jasongrout (during server and kernels meeting): Sage used something like (b) but using folders rather than files; also a single cell can have outputs which are updated based on output ID rather than cell ID - something to consider.