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 details)

Uploaded Source

File details

Details for the file goja_py-0.1.0.tar.gz.

File metadata

  • Download URL: goja_py-0.1.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for goja_py-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f94a6b50cfc75cf787aadc819295d9c478cde82be15fd1f16db05a53d2f78500
MD5 aaf2175b2ab2eb53f0757c247a9e1039
BLAKE2b-256 65ab7e406e79ff2303d84bf93724c629e68ca165f9e635774e4373f50e16fbed

See more details on using hashes here.

Supported by

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