Datalayer VS Code Extension - v0.0.17
    Preparing search index...

    Manages Pyodide cache in local filesystem for native notebooks. Separate from browser IndexedDB cache used by webview notebooks.

    Index

    Constructors

    Methods

    • Ensures Pyodide core files are cached locally. Downloads from CDN if not present.

      Parameters

      • version: string

        Pyodide release number to download (e.g. "0.29.0").

      • Optionalprogress: Progress<{ increment?: number; message?: string }>

        Optional progress reporter.

      Returns Promise<string>

      Path to local Pyodide directory.

    • Preloads packages into local Pyodide cache. Must be called after ensurePyodideCore().

      Parameters

      • version: string

        Pyodide release number matching the core installation.

      • packages: string[]

        Package names to download.

      • Optionalprogress: Progress<{ increment?: number; message?: string }>

        Optional progress reporter.

      Returns Promise<{ failed: string[]; succeeded: string[] }>

      Lists of succeeded and failed package names.