TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Run JavaScript/WASM in Python: High-Level SpiderMonkey Bindings to Python

9 pointsby willquackalmost 2 years ago

2 comments

willquackalmost 2 years ago
Hey, I&#x27;m the author of this article. I&#x27;m really interested in people&#x27;s thoughts and happy to answer any questions.<p>PythonMonkey is a Python library for executing JavaScript in Python. In Python you can use it to import JavaScript CommonJS modules with just: `pythonmonkey.require(&#x27;my-js-lib&#x27;)`.<p>We&#x27;re making PythonMonkey so we can port our complicated JavaScript NPM package to to Python without re-writing it entirely.<p>We&#x27;re also building a new JavaScript runtime in Python called PMJS using PythonMonkey that allows developers to use Python libraries in their serverside JavaScript projects.
byusufalmost 2 years ago
Amazing Project Will! Keep it up!