Skip to main content

Goja ECMAScript 5.1 runtime for Python

Project description

Build status

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


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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page