Skip to main content

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

Metadata

Release files for Js2Py 0.57

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Js2Py 0.57
File Size Uploaded Provenance Actions
Js2Py-0.57.tar.gz 556.5 kB Without provenance Details for Js2Py-0.57.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for Js2Py 0.57
File Interpreter ABI Platform Actions
Js2Py-0.57-py2-none-any.whl Python 2 none any Details for Js2Py-0.57-py2-none-any.whl

Total release size: 1.2 MB

Release files / Js2Py-0.57.tar.gz

Download URL Js2Py-0.57.tar.gz
Size 556.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e8be94f4524567586ed2e4140c4fd35579b67647f227922b00c88ec108ff81f7
BLAKE2b-256 checksum
How to use checksums
f23b53731523c507686fc08db709ad04aadc82acad286249f1471d3c65399be6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / Js2Py-0.57-py2-none-any.whl

Download URL Js2Py-0.57-py2-none-any.whl
Size 601.2 kB
Tags Python 2
SHA-256 checksum
How to use checksums
3254d42ef3f19b9d5389ac43d686161ac9c4dca6f99e3502c255daa65e6b0baf
BLAKE2b-256 checksum
How to use checksums
682bbd2753e8a6fb6a130a687f20ef13b2f02ea74eab832e89166e017cf67e60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for Js2Py 0.57

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.57 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page