Conversation
Package Build ResultsTotal packages built: 35 Package Build Times (click to expand)
Longest build: libopenssl (6m 48s) |
|
Could you add tests? |
Absolutely! The easiest way to test would likely be to use micropip to install (so importantly we wouldn't need to store the WASM file in this repo since it's hosted on PyPi) one of the actual codecs from PyPi and let that encode + decode some data, which exercises all code in numcodecs-wasm. Does that sound good? |
I would prefer making no network requests in our unittest, but if there are no small enough codecs you can use for testing, then yes, that approach would be fine. |
numcodecs-wasmis the root package for my https://numcodecs-wasm.readthedocs.io/en/latest/ project, which provides several compression algorithms compiled to WASM.numcodecs-wasmprovides the extension module to run the compressors, while all other packages, e.g.numcodecs-wasm-sz3, are pure-Python packages that can be installed on-demand withmicropipnumcodecs-combinatorsis a helper package for writing meta-compressors withnumcodecsnumcodecs-observersis a meta-compressor for recording performance stats during compression,numcodecs-wasmhooks into it to provide an additional performance stat (an instruction count measured inside WASM)varintis required bynumcodecs-combinators