jupyter_client icon indicating copy to clipboard operation
jupyter_client copied to clipboard

Jupyter protocol client APIs

Results 154 jupyter_client issues
Sort by recently updated
recently updated
newest added

Now that we're using pytest, we can let it handle capturing kernel output. If we run kernels for tests with `extra_arguments=['--log-level=10'], stdout=sys.stdout, stderr=sys.stdterr`, when a test fails, it will report...

Hi, im trying to get the id/name of the kernel that the code is executed on. Is it possible without spawning a new kernel?

https://github.com/jupyterlab/debugger/pull/457 changed JupyterLab to depend on the `debugger` key being set to `true` in kernelspec metadata in order for debugging to be available when connected to the kernel. This should...

![image](https://user-images.githubusercontent.com/39434627/148746064-dd5de594-8989-4d2f-8e1c-a2f04d68021f.png) kernel is restarting ![image](https://user-images.githubusercontent.com/39434627/148746113-67288466-f6dc-4a96-896a-cf7da6d746ee.png) ```bash [E 2022-01-10 17:45:38.522 MtSingleUserLabApp handlers:82] Exception restarting kernel Traceback (most recent call last): File "/conda/envs/notebook/lib/python3.6/site-packages/jupyter_server/services/kernels/handlers.py", line 80, in post await km.restart_kernel(kernel_id) File "/conda/envs/notebook/lib/python3.6/site-packages/mtjupyter_singleuser/kernelmanager.py", line...

I get the following error: ``` In [1]: from jupyter_client.manager import start_new_kernel In [2]: manager, client = start_new_kernel(kernel_name='python3') In [3]: msg_id = client.execute("1+1") In [4]: client.get_shell_msg(msg_id) --------------------------------------------------------------------------- TypeError Traceback (most...

This is a cutout of running the profiler on voila, where it handles a single comm msg: ![image](https://user-images.githubusercontent.com/1765949/99387956-1e835280-28d5-11eb-83cb-ec3fa322ee92.png) As can be seen, the green 'parse_date' is a significant part of...

enhancement

Feature needed for referenced PR to ipykernel + test script

This is really old, see https://github.com/jupyter/jupyter/issues/264 - but we're starting to pick it up again. @mpacer

The proposal defines the logic in `restarter.py` for setting `_initial_startup` value to `False` only when the kernel sends kernel_info reply. Introduced changes solve issues described in https://github.com/jupyter/jupyter_client/issues/347. The introduced changes...