Goja ECMAScript 5.1 runtime for Python
Project description
goja-py a library that allows you to use the Goja ECMAScript 5.1 (JavaScript) runtime with Python.
from goja_py import execute
assert execute('1 + 1;') == 2
Module tested on Python versions from 3.10 to 3.12.
TODO
pass console.log() to logging.log()
convert native types from JavaScript to Python
error handling
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
goja_py-0.1.0.tar.gz
(4.6 kB
view hashes)