PetterS/quickjs
View on GitHub ↗ ★ 205 Python archived
Thin Python wrapper of https://bellard.org/quickjs/
5 mentions on Hacker News by 3 people: 0 stories, 5 comments · first 2021-10-19 · latest 2024-03-23
20082026
-
…code can do, and a robust time limit. (The one thing it's missing is good documentation, but the https://github.com/PetterS/quickjs/blob/master/test_quickjs.... test suite covers all of those features and is quite readable.) Can…
comment by simonw · 2024-03-23 · in Reviving PyMiniRacer: A Python <> JavaScript Bridge -
I noticed that you can use QuickJS as en embedded scripting language within Python. [1] https://github.com/PetterS/quickjs
comment by tony-allan · 2024-03-20 · in AWS Introduces a New JavaScript Runtime for Lambda -
Fwiw there are python bindings for QuickJS and Duktape: https://github.com/PetterS/quickjs https://github.com/stefano/pyduktape https://github.com/amol-/dukpy I can't speak to the quality of those bindings, but they do seem maintained.
comment by esprehn · 2022-09-10 · in YouTube-dl has an interpreter for a subset of JavaScript in 870 lines of Python -
…JS engine, but Duktape, JerryScript and QuickJS are all C APIs. They probably could have used ex. https://github.com/PetterS/quickjs instead of the hacks in the OP linked file.
comment by esprehn · 2022-09-10 · in YouTube-dl has an interpreter for a subset of JavaScript in 870 lines of Python -
…https://github.com/amol-/dukpy There's a QuickJS Python wrapper here which offers those limits: https://github.com/PetterS/quickjs I'm pretty paranoid though any time it comes to security and dependencies written in C, so I'd love to see a…
comment by simonw · 2021-10-19 · in Web Browser Engineering