Skip to content

Compatibility with Emscriptenforge, Pyodide, Pyscript? #44

Answered by williamstein
westurner asked this question in Q&A
Discussion options

You must be logged in to vote

Great questions. Thanks for taking an interest in CoWasm!

Does cowasm intend to invent a new WASM packaging format?

In cases that don't necessarily have much to do with Python, I'm probably just using npm. It's a relatively mature package format at this point. Example: https://www.npmjs.com/package/dash-wasm

For Python modules, I tried everything I could think of, and I'm currently happiest with "a .tar.xz file that when extracted can be imported by Python". It's a pretty simple format. I tried a dozen or so popular Python packages (e.g., pandas, sympy, numpy, etc.) and compressed it's usually about 5% the size of what pip install produces (uncompressed), so more suitable for the web. I…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by williamstein
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #43 on November 19, 2022 03:39.