Hi Doris, porting Sage to pyodide is in progress, see https://github.com/sagemath/sage/issues/34539, but it's not ready to be used for what you have in mind. I second Oscar's suggestion to look into using *sympy* and/or *python-flint* .
The current status of the Sage pyodide port: - Some key dependencies of Sage will be shipped with the next pyodide release (0.26): *ipython*, *cysignals*, *ppl*/*pplpy*, *flint*, *memory_allocator* - https://github.com/pyodide/pyodide/pull/4438 provides the fundamental modularized distribution packages *sagemath-objects*, *sagemath-categories*, *sagemath-environment*, *sagemath-repl* The current bottlenecks / next steps: - *pari*, *cypari2* (https://github.com/pyodide/pyodide/pull/4430; help wanted) - Adding the modularized distribution packages that provide more parts of Sage, in particular *sagemath-pari* and *sagemath-flint*: https://github.com/sagemath/sage/pull/37900, https://github.com/sagemath/sage/pull/37901 (needs review) Matthias On Tuesday, April 30, 2024 at 12:29:35 AM UTC-7 Doris Behrendt wrote: > Hi all, > > My team is about to develop a webapp where we want to factor polynomials > with coefficients in ZZ. > We want to offer a dropdown menu where the user can select the base ring > and then the factorisation changes interactively. We use React and > JavaScript and also Web Assembly, e.g. for our Web-OpenSSL here: > https://www.cryptool.org/en/cto/openssl/ > > Sage offers the command change_ring, we did not find a JavaScript Library > that has this functionality. So I thought, perhaps we could look for > solutions where Sage is used together with web assembly. > > After some research I have the impression that there are some proofs of > concept, but there is nothing actively developed? > > Since I am not a programmer and nobody in my team is a mathematician (so > my developers don't know Sage), I kindly ask on this list for any hints how > we could proceed? > > Thanks in advance > Doris -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/91eec8d3-9173-46f7-9d64-4362598ee8f8n%40googlegroups.com.