PiotrDabkowski/Js2Py
JavaScript to Python Translator & JavaScript interpreter written in 100% pure Python🚀 Try it online: observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4353
- days_rel: n/a
- days_push: 849
- n_releases_24m: 0
Adoption not part of the score
2570 stars · 281 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Js2Py is a pure Python JavaScript translator and interpreter that can evaluate JavaScript code from Python or translate JS files into Python modules. It fully supports ECMAScript 5.1 with experimental ES6 support via Babel translation.
Use cases
- run javascript code from python
- translate a js file to a python module
- execute node modules like crypto-js inside python
- evaluate javascript expressions without node installed
- embed a js interpreter in a python app
When to choose
- you need to run small-to-medium JavaScript snippets or libraries from Python with no external runtime
- you want a pure-Python, pip-installable JS engine
- you need to convert a JS library into importable Python code
When to avoid
- you need full, reliable ES6+ support or modern JS features
- performance matters - translated code is slow
- you need to run huge JS codebases with edge cases like very high argument counts
Facets
library · maturity maintenance
interpreter parser compiler programming-languages parsers developer-tools python cross-platform javascript transpiler ecmascript pure-python js-execution
1 source
- readme: https://github.com/PiotrDabkowski/Js2Py · fetched 2026-08-28 · d7a211374cb4
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| PiotrDabkowski/Js2Py | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="PiotrDabkowski/Js2Py")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem