Interface: IOptions#

pyolite-kernel.PyoliteKernel.IOptions

The instantiation options for a Pyodide kernel

Hierarchy#

Properties#

disablePyPIFallback#

disablePyPIFallback: boolean

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

Defined in#

packages/pyolite-kernel/lib/kernel.d.ts:126


id#

id: string

The kernel id.

Inherited from#

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#

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/lib/kernel.d.ts:130


name#

name: string

The name of the kernel.

Inherited from#

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/lib/kernel.d.ts:122


pyodideUrl#

pyodideUrl: string

The URL to fetch Pyodide.

Defined in#

packages/pyolite-kernel/lib/kernel.d.ts:118


sendMessage#

sendMessage: SendMessage

The method to send messages back to the server.

Inherited from#

IOptions.sendMessage

Defined in#

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