sqreen/PyMiniRacer
View on GitHub ↗ ★ 768 Python
PyMiniRacer is a V8 bridge in Python.
9 mentions on Hacker News by 5 people: 1 story, 8 comments · first 2016-08-02 · latest 2022-09-11
20082026
-
Embedding V8 can work quite well: https://github.com/sqreen/PyMiniRacer You probably have to emulate some of the DOM, but you can interact directly with whatever obfuscated/packed scripts in a more lightweight and secure way than driving…
comment by Scaevolus · 2022-09-11 · in YouTube-dl has an interpreter for a subset of JavaScript in 870 lines of Python -
…on) Disclaimer: worked at Sqreen, now maintainer of libv8-node and collaborator of mini_racer https://github.com/sqreen/PyMiniRacer https://github.com/rubyjs/mini_racer https://github.com/rubyjs/libv8-node
comment by lloeki · 2022-09-10 · in YouTube-dl has an interpreter for a subset of JavaScript in 870 lines of Python -
….sqreen.com/embedding-javascript-into-python/ The time limit and memory limit support looks good too: https://github.com/sqreen/PyMiniRacer/blob/f7b9da0d4987ca7d1...
comment by simonw · 2021-10-19 · in Web Browser Engineering -
…that I've poked at a bit (it's not quite 100% feature-complete but it seems to essentially work): https://github.com/sqreen/PyMiniRacer
comment by ameliaquining · 2021-10-19 · in Web Browser Engineering -
…code efficiently within multiple host languages. To that end we ported Ruby’s mini_racer to Python. https://github.com/sqreen/PyMiniRacer We also maintain a mini_racer fork and regularly try to backport performance improvements upstream.…
comment by lloeki · 2020-01-01 · in STPyV8 – Python3 and JavaScript Interop with V8 -
I'm the author of https://github.com/sqreen/PyMiniRacer , used as example in this deck. I introduce how I leveraged ctypes + Python manylinux wheels (PEP513 / PEP571) in order to allow loading V8 easily into Python, without requiring local…
comment by jbaviat · 2018-05-16 · in Writing a Python C extension in 2018 -
…https://facebook.github.io/react/docs/environments.html 2. The BabelJS example from PyMiniRacer: https://github.com/sqreen/PyMiniRacer/blob/master/helpers/ba... I would be glad to hear more about that :)
comment by jbaviat · 2016-08-03 · in Show HN: Minimal, modern embedded V8 for Python -
The PyMiniRacer repository is also bundled with a BabelJS ( https://babeljs.io/ ) example: https://github.com/sqreen/PyMiniRacer/blob/master/helpers/ba... You can easily try it once PyMiniRacer is installed to transpile JavaScript files:…
comment by jbaviat · 2016-08-02 · in Show HN: Minimal, modern embedded V8 for Python -
▲ 30
Show HN: Minimal, modern embedded V8 for Pythonstory by jbaviat · 2016-08-02 · 8 comments