Js2Py 0.74
pip install Js2Py
Released:
JavaScript to Python Translator & JavaScript interpreter written in 100% pure Python.
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT
- Author: Piotr Dabkowski
Project description
Translates JavaScript to Python code. Js2Py is able to translate and execute virtually any JavaScript code.
Js2Py is written in pure python and does not have any dependencies. Basically an implementation of JavaScript core in pure python.
import js2py
f = js2py.eval_js( “function $(name) {return name.length}” )
f(“Hello world”)
# returns 11
Now also supports ECMA 6 through js2py.eval_js6(js6_code)!
More examples at: https://github.com/PiotrDabkowski/Js2Py
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT
- Author: Piotr Dabkowski
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
Built Distribution
File details
Details for the file Js2Py-0.74.tar.gz
.
File metadata
- Download URL: Js2Py-0.74.tar.gz
- Upload date:
- Size: 2.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.28.1 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.2 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39f3a6aa8469180efba3c8677271df27c31332fd1b471df1af2af58b87b8972f |
|
MD5 | 92828a45dd6a8a20843500305a57ec78 |
|
BLAKE2b-256 | cba53d8b3e4511cc21479f78f359b1b21f1fb7c640988765ffd09e55c6605e3b |
File details
Details for the file Js2Py-0.74-py3-none-any.whl
.
File metadata
- Download URL: Js2Py-0.74-py3-none-any.whl
- Upload date:
- Size: 1.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.28.1 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.2 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40a508a79e2f8d624e3f2e604f90a1e6f46ac75b416d7f4745939ff4a2e95e09 |
|
MD5 | 4f96bf01f4b86a3ba694cbf3937a40e8 |
|
BLAKE2b-256 | 88582feb430d47c9f18f331494b429697342722b51f28dad8ad92a511c0f6fc8 |