Show HN: Belgie – Run TypeScript from Python in an Embedded Deno Sandbox

A minimal, secure javascript runtime for python. Contribute to mplemay/belgie development by creating an account on GitHub.
5 points by mplemay97 108 days ago github.com 0 comments
Summary not yet generated for this article.

Original Text

Hi HN! I built Belgie, a Python library that embeds Deno, allowing Python applications to run JavaScript and TypeScript without requiring Node.js or Deno to be installed on the host system. It supports the features you’d expect from Deno (npm, JSR, and URL imports, isolated package environments, etc.), plus:

- Pass JSON-safe values seamlessly between Python and JavaScript.

- Agentic code generation with typed interfaces, similar to Pydantic’s Monty.

- Manage dependencies programmatically or from the CLI.

Comments (0 of ) ⌛

Loading more comments... ⌛
Scroll down to load more comments
No comments available.
Type to search HN and engineering blog articles
Press Escape to close  |  ↑↓ to navigate  |  Enter to open