pyodidesafe
v0.4.2
Published
A Pyodide that restricts access to browser details.
Readme
Pyodidesafe
PyodideSafe is a package that builds on Pyodide while enforcing restrictions on inputs to limit access to Web API properties.
Examples:
// Initializes the pyodide instance
saferpyodide.initialize()
// Executes successfully and returns 2
saferpyodide.runPython(`1+1`);
// Throws an error due to restricted access to JavaScript properties
saferpyodide.runPython(`import js`);