PyExecJS was ported from ExecJS, a similar project, but for running JS from inside Ruby.
PyExecJS automatically picks the best runtime available to evaluate a JavaScript program, then returns the result as a Python object.
Here are some key features of "PyExecJS":
Supported runtimes:
· PyV8 - A Python wrapper for Google V8 engine,
· Node.js
· Apple JavaScriptCore - Included with Mac OS X
· Mozilla SpiderMonkey
· Microsoft Windows Script Host (JScript)
What's New in This Release: [ read full changelog ]
· Removed "import execjs" (it prevent execution of setup.py by Python 2.6).