Interface: IOptions#

@jupyterlite/pyolite-kernel.PyoliteKernel.IOptions

The instantiation options for a Pyodide kernel

Hierarchy#

  • IOptions

    IOptions

Properties#

disablePyPIFallback#

disablePyPIFallback: boolean

Do not try pypi.org if piplite.install fails against local URLs

Defined in#

packages/pyolite-kernel/src/kernel.ts:318

id#

id: string

The kernel id.

Inherited from#

IKernel.IOptions.id

Defined in#

packages/kernel/lib/tokens.d.ts:80

location#

location: string

The location in the virtual filesystem from which the kernel was started.

Inherited from#

IKernel.IOptions.location

Defined in#

packages/kernel/lib/tokens.d.ts:88

mountDrive#

mountDrive: boolean

Whether or not to mount the Emscripten drive

Defined in#

packages/pyolite-kernel/src/kernel.ts:323

name#

name: string

The name of the kernel.

Inherited from#

IKernel.IOptions.name

Defined in#

packages/kernel/lib/tokens.d.ts:84

pipliteUrls#

pipliteUrls: string[]

The URLs from which to attempt PyPI API requests

Defined in#

packages/pyolite-kernel/src/kernel.ts:313

pyodideUrl#

pyodideUrl: string

The URL to fetch Pyodide.

Defined in#

packages/pyolite-kernel/src/kernel.ts:308

sendMessage#

sendMessage: SendMessage

The method to send messages back to the server.

Inherited from#

IKernel.IOptions.sendMessage

Defined in#

packages/kernel/lib/tokens.d.ts:92