Run-JS: A New Library for Running JavaScript Modules in Python [PyOhio 2022]

Опубликовано: 31 Октябрь 2024
на канале: PyOhio
332
12

Talk by Daniel Dufour at PyOhio 2022.
Description: [run-js](https://github.com/danieljdufour/run-js) is a new Python package that enables users to easily run JavaScript modules in Python without breaking from the familiar Pythonic syntax. With inspiration from [sh](https://github.com/amoffat/sh), it wraps the module instance intercepting requests. This talk will go over cool examples on how to use run-js and also dive into its internals, explain sys.modules, dunder methods, and how to pipe data between JS and Python processes.


PyOhio talk listing: https://www.pyohio.org/2022/program/t...