euporie.core.kernel

Concerns the interaction with kernels.

Modules

base

Base class for euporie kernels.

jupyter

Contain the main class for a notebook file.

jupyter_manager

Contain classes relating to kernel management.

local

Local Python interpreter kernel implementation.

Functions

create_kernel(type_name, kernel_tab[, ...])

Create and return appropriate kernel instance.

find_spec(name[, package])

Return the spec for the specified module.

list_kernels()

Get specifications for all available kernel types.

resolve_name(name)

Resolve a name to an object.

euporie.core.kernel.create_kernel(type_name: Literal['jupyter', 'local'], kernel_tab: KernelTab, default_callbacks: MsgCallbacks | None = None, allow_stdin: bool = False, **kwargs: Any) BaseKernel

Create and return appropriate kernel instance.

euporie.core.kernel.list_kernels() Generator[KernelInfo]

Get specifications for all available kernel types.

Returns:

A dictionary mapping kernel type names to their specifications.