Skip to content(if available)orjump to list(if available)

Show HN: Online Python Compiler with Libraries

Show HN: Online Python Compiler with Libraries

5 comments

·March 11, 2025

Hey HN, I just launched this online Python compiler which lets you use popular Python libraries like requests, Matplotlib, Plotly, Pandas, NumPy etc. online.

It uses Pyodide to execute Python in the browser using WebAssembly.

sekizsonsuz

I don't understand. There is no compiling at all. It's interpereter and it's basically based on https://pyodide.org/

metadat

  import requests 
  
  r = requests.get('https://theonion.com')
  
  print(r.text)
Hmm, I wonder if you could use subprocess to fetch and run any binary. What kind of sandbox is this running in, and what are the limits?

Running arbitrary untrusted code seems like a potential security issue.

Edit: @porridgeraisin Got it, thanks! Does this mean outbound http requests only work with domains that support arbitrary requests via `Access-Control-Allow-Origin: *` ?

porridgeraisin

It runs on pyodide, i.e, a wasm interpreter that runs entirely in your browser.

null

[deleted]

gardnr

Great project! Nice work!

It reminds me a bit of marimo: https://docs.marimo.io/guides/publishing/