# A library for execing Python code safely using

> Inspired by Simon Willison's blog post that was catalyzed by this HN post: https://news.ycombinator.com/item?id=34598024 wasm\_exec is a Wasm-powered, sandboxed implementation of exec() for safely running dynamic Python code There are number of use-cases emerging that require arbitrary code executio…

Page: https://nowfound.app/launch/a-library-for-exec-ing-python-code-safely-using-wasm

- Launched: 2023-06-21
- Launch-day votes: 6; #1,679 of 4,127 launches that month (top 41%)
- Website: [github.com](https://github.com/Jflick58/wasm_exec), online when checked 2026-09-16
- Category: [Dev tools](https://nowfound.app/c/developer-tools.md)
- Pricing: Free. Free and open source (checked 2026-11-21 on its site)
- Forecast: 92% chance its website is still online in November 2031 (98% in November 2027, 96% in November 2029). Made 2026-11-29 and not revised. Typical launch of 2023: 87%. [Method](https://nowfound.app/forecast.md)
- Originality: 77/100 (original). More original than 77% of products launched in 2023. On its launch day the archive already held 2 similar products; 4 products like it have launched since.

## What it does, from its own words

WASM-powered sandbox implementation of exec() for safely running dynamic Python code - Jflick58/wasm\_exec

## Does a similar job

- [WASM runtime for sandboxing Python code](https://nowfound.app/launch/wasm-runtime-for-sandboxing-python-code): Experimental wasm32-unknown-wasi runtime for Python code execution (2024-11-19, 9 votes, free, forecast: 93% online in 2031, github.com)
- [Jaws](https://nowfound.app/launch/jaws-a-javascript-to-wasm-ahead-of-time-compiler): Jaws is an open-source ahead-of-time compiler that converts JavaScript code into WebAssembly. (2024-11-09, 290 votes, free, forecast: 95% online in 2031, github.com)
- [Sandboxing untrusted code using WebAssembly](https://nowfound.app/launch/sandboxing-untrusted-code-using-webassembly): This is a WebAssembly-based runtime that isolates untrusted code to protect host systems from potential damage. (2026-02-03, 76 votes, free, forecast: 89% online in 2031, github.com)
- [Magentic](https://nowfound.app/launch/magentic-use-llms-as-simple-python-functions): This is a Python package that allows you to write function signatures to define LLM queries. This makes it easy to mix regular code with calls to LLMs, which enables you to use the LLM for its creati… (2023-09-26, 283 votes, free, forecast: 96% online in 2031, github.com)
- [Obelisk](https://nowfound.app/launch/obelisk-a-wasm-based-deterministic-workflow-engine): Obelisk is a workflow engine built with Rust and WebAssembly that executes long-running tasks reliably. (2025-04-09, 103 votes, forecast: 92% online in 2031, obeli.sk)
- [CLI for executing code in many different](https://nowfound.app/launch/cli-for-executing-code-in-many-different-languages-with-dock): Docker Exec is a command-line tool that uses Docker images to run code in multiple programming languages without installing compilers or interpreters locally. (2015-04-08, 64 votes, forecast: 90% online in 2031, docker-exec.github.io)

All alternatives: https://nowfound.app/alternatives/a-library-for-exec-ing-python-code-safely-using-wasm.md

## For the maker of A library for execing Python code safely using

- Feature it at the top of the NowFound home page for $19 for 30 days, marked sponsored: https://nowfound.app/feature/a-library-for-exec-ing-python-code-safely-using-wasm
- Free: put the badge on the product's own site and it joins Featured products after the paid spots, and this page links to the site with a normal link search engines follow. HTML for the footer: `<a href="https://nowfound.app/launch/a-library-for-exec-ing-python-code-safely-using-wasm"><img src="https://nowfound.app/badge/a-library-for-exec-ing-python-code-safely-using-wasm.svg" alt="A library for execing Python code safely using on NowFound" height="32"></a>`

Source: [Show HN post](https://news.ycombinator.com/item?id=36412866)
