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.55

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.55
File Size Uploaded Provenance Actions
Js2Py-0.55.tar.gz 556.5 kB Without provenance Details for Js2Py-0.55.tar.gz

Built distribution (wheel)

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

Total release size: 1.2 MB

Release files / Js2Py-0.55.tar.gz

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

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

Download URL Js2Py-0.55-py2-none-any.whl
Size 601.2 kB
Tags Python 2
SHA-256 checksum
How to use checksums
b85b994dba8515f8824b406d86baa60acd4e9800a303a86e02899bb90294c931
BLAKE2b-256 checksum
How to use checksums
693d6ab98378a63a75066401467e839ab6a399156e60b07a794088e8d4cf7a43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for Js2Py 0.55

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.55 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