TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

9 点作者 willquack将近 2 年前

2 条评论

willquack将近 2 年前
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.
byusuf将近 2 年前
Amazing Project Will! Keep it up!