top | item 46774787

Show HN: Compile Python libraries for TypeScript with type completion (umo)

1 points| ashiban | 1 month ago |github.com

I’ve always wanted a way to use Python’s `networkx` from other languages for years, but crossing languages/runtimes was too brittle and the editing/debugging experience were non-existent. The dream was like having fSharp alongside C#, or in GraalVM world having languages interop without significant overhead.

I wanted to explore what a minimal, pleasant developer experience could look like crossing ecosystems, and for portability WASM felt like a good intermediary but until Components there was straightforward way to handle cross-execution state.

I also wanted to see if Claude Code + Opus 4.5 can build something non-trivial (not another React app) that hadn’t really been done before

Umo is what came out - I recorded a short video that's on github.

It only bridges Python modules to Node, gets the libs, extracts types / docs, create wasm components and builds the typescript interfaces/bindings.

Had fun seeing this happen, sharing with folks to see

discuss

order

No comments yet.