s
Aug. 12, 2023, 10:14 p.m. |

Simon Willison's Weblog simonwillison.net

deno_python


A wildly impressive hack: deno_python uses Deno's FFI interface to load your system's Python framework (.dll/.dylib/.so) and sets up JavaScript proxy objects for imported Python objects - so you can run JavaScript code that instantiates objects from Python libraries and uses them to process data in different ways.

The latest release added pip support, so things like 'const np = await pip.import("numpy")' now work.


Via Hacker News

code data deno framework hack javascript libraries objects pip process python release support them

Founding AI Engineer, Agents

@ Occam AI | New York

AI Engineer Intern, Agents

@ Occam AI | US

AI Research Scientist

@ Vara | Berlin, Germany and Remote

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Lead GNSS Data Scientist

@ Lurra Systems | Melbourne