Js2Py icon indicating copy to clipboard operation
Js2Py copied to clipboard

JavaScript to Python Translator & JavaScript interpreter written in 100% pure Python🚀 Try it online:

Results 140 Js2Py issues
Sort by recently updated
recently updated
newest added

`LOAD_ATTR` has been changed in Python 3.12 and it seems reusing the `LOAD_GLOBAL` logic makes the simple tests passing. I am not sure if this is correct since I'm pretty...

``` # python --version Python 3.12.0 # pipdeptree Js2Py==0.74 ├── pyjsparser [required: >=2.5.1, installed: 2.7.1] ├── six [required: >=1.10, installed: 1.16.0] └── tzlocal [required: >=1.2, installed: 5.1] └── tzdata [required:...

Hi @PiotrDabkowski I am currently revisiting the package for this project on Arch Linux and I noticed that there are no tags in this repository. I see that there are...

According to https://pypi.org/project/Js2Py/ latest version is 0.71 however there is no version git tag in the repo. Is it possiblet to tag exact hash?

When I click **Translate** in the [demo webpage](http://piter.io/projects/js2py), the server responded with 500 Server Error: ``` 500 Server Error Error: Server Error The server encountered an error and could not...

The error occurs below as follows - Traceback (most recent call last): File "C:\Users\chsubhed\Documents\Work\Tests\Python\test.py", line 1, in import time, js2py File "C:\Users\chsubhed\AppData\Local\Programs\Python\Python312\Lib\site-packages\js2py\__init__.py", line 72, in from .base import PyJsException File...

This Pull Request suggests the usage of PythonMonkey, a Python Library for executing JavaScript in Python. I'm happy to receive any feedback on this suggestion and modify it wherever appropriate....

numpy earlier versions did not have numpy.int8,The startup error is reported

Hello, Js2Py seems to be promising. Mermaid (https://mermaid.js.org/) is installed in my node environment I'm trying to use mermaid from python, starting with import js2py context = js2py.require('mermaid') I get...