{ } Raw JSON

bundles / jupyter_client latest / jupyter_client / kernelspec / _list_kernels_in

function

jupyter_client.kernelspec:_list_kernels_in

source: /jupyter_client/kernelspec.py:92

Signature

def _list_kernels_in(dir: str | None) → dict[str, str]

Summary

Return a mapping of kernel names to resource directories from dir.

Extended Summary

If dir is None or does not exist, returns an empty dict.

Aliases

  • jupyter_client.kernelspec._list_kernels_in