Skip to content

[web] feature request / pull request: sqlglot / pyodide offline support #3148

@barakplasma

Description

@barakplasma

Discussed in #3142

Originally posted by barakplasma September 17, 2024
can we inline pyodide / sqlglot into the web/client/src/assets folder for offline support? For environments with a firewall for example? Feels weird to make requests to jsdelivr.net every time I want to format some sql

Toby said sure.

Design: use https://github.com/pyodide/pyodide-pack to make a bundle of all the pip libraries etc
See also https://pyodide-pack.pyodide.org/en/latest/module-elimination-at-runtime.html

I'll attempt to implement it and make a PR, but feel free to do it yourselves as well

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions