DuckDB in Pyodide?
Hi,
May I ask please, if there has been an attempt to use the DuckDB Python package in Pyodide? Given that the native code is already ported, there shouldn't a lot if work remaining. No?
Many thanks Best
Hey, there is quite a bit of work remaining depending on the feature set that you're asking for.
If you'd be searching for a bare-bone duckdb instance without http filesystem, the missing pieces would be mostly porting over the python api to pyodide.
But DuckDB-Wasm ships with a few more components to integrate with the browser apis.
(E.g. something like SELECT * FROM 'http://foo' uses a browser-specific web filesystem and runs in a web worker for synchronous XHRs)
This is significant effort to port since we'd have to interface with the DuckDB-Wasm API from pyodide.
Very interested in this.
@ankoh Any work in progress I could check?
Is there a way I could contribute?
Hello! Have a look here! https://github.com/pyodide/pyodide/pull/2961
There was also some discussion about this in our Discord in the show and tell section!