$npx skillfedfor your agent

quickjs-ng

Thin Python wrapper of quickjs-ng

With conditionsPyPI Python ModulesReleased Aug 2026128.7K downloads / moPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — quickjs_ng-0.16.0.1-cp310-abi3-macosx_11_0_arm64.whl · quickjs_ng-0.16.0.1-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl · quickjs_ng-0.16.0.1-cp310-abi3-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl
v0.16.0.1 · released 2026-08-01 · Python <4.0,>=3.10

Yes, with conditions. The package is actively maintained, has no known vulnerabilities, and offers a clean API for JavaScript embedding. However, verify the actual license text before use in proprietary projects, since metadata shows 'unclear' despite the description mentioning MIT. Install friction is medium due to the C extension, but pre-built wheels cover common platforms. Suitable for sandboxed script execution, prototyping, and projects that need lightweight JavaScript evaluation without a full Node.js runtime.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python ≥ 3.10.
  • A C compiler is needed only if building from source; pre-built wheels are available for common platforms.
  • Medium install friction due to compiled C extension wheels; however, pre-built wheels cover major platforms (Linux x86_64/i686/aarch64, Windows, macOS arm64) for CPython 3.10+ and PyPy 3.10/3.11, reducing build-from-source scenarios.

License · maintenance · safety

(unclear) — License treatment is unclear—no SPDX identifier or raw license text is declared in package metadata. Verify the actual license (the description mentions MIT) before use in proprietary or restricted-license projects.

last release 2026-08-01 (13 days) · last repo commit 2026-08-01 · 5 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 128,737 downloads/mo, #11,696 on PyPI

Verify before relying

pip install quickjs-ng

import quickjs

ctx = quickjs.Context()
result = ctx.eval("1 + 2")
print(result)  # 3

# Call JS function from Python
ctx.eval("function add(a, b) { return a + b; }")
add = ctx.get("add")
print(add(3, 4))  # 7
  • Actual license text and SPDX identifier (metadata shows 'unclear' despite description mentioning MIT)
  • Performance characteristics and memory overhead compared to other JavaScript embedding solutions
  • Stability and API surface coverage relative to the original quickjs package
Same gist for agents: .md · .json

What it is and what it does

quickjs-ng is a Python wrapper around the actively maintained quickjs-ng JavaScript engine, allowing you to evaluate JavaScript expressions and call JavaScript functions from Python, and vice versa. It is a drop-in replacement for the archived quickjs package, so existing code using `import quickjs` continues to work unchanged.

The package provides a Context object for isolated JavaScript execution, a Function helper for thread-safe calls from multiple threads, and resource controls (memory limits, CPU time limits, stack size). Each Context owns its own QuickJS runtime with no shared state; threading is handled either by creating one Context per thread or by using the Function wrapper, which manages a dedicated worker thread internally. Pre-built wheels are available for Linux, Windows, and macOS across CPython 3.10+ and PyPy 3.10/3.11.

Use it for

  • Execute untrusted or sandboxed JavaScript code with enforced memory and CPU time limits
  • Call JavaScript utility functions or libraries from a Python application without Node.js
  • Prototype or test JavaScript logic within a Python test suite or data pipeline
  • Embed a lightweight scripting layer in Python applications for user-provided expressions
  • Migrate from the archived quickjs package with minimal code changes

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, with conditions.

The package is actively maintained, has no known vulnerabilities, and offers a clean API for JavaScript embedding. However, verify the actual license text before use in proprietary projects, since metadata shows 'unclear' despite the description mentioning MIT. Install friction is medium due to the C extension, but pre-built wheels cover common platforms. Suitable for sandboxed script execution, prototyping, and projects that need lightweight JavaScript evaluation without a full Node.js runtime.

Install

quickjs-ng on PyPI

Before you install

Medium install friction due to compiled C extension wheels; however, pre-built wheels cover major platforms (Linux x86_64/i686/aarch64, Windows, macOS arm64) for CPython 3.10+ and PyPy 3.10/3.11, reducing build-from-source scenarios. Active maintenance with recent releases.

Requires Python ≥ 3.10. A C compiler is needed only if building from source; pre-built wheels are available for common platforms.

License in practice

License treatment is unclear—no SPDX identifier or raw license text is declared in package metadata. Verify the actual license (the description mentions MIT) before use in proprietary or restricted-license projects.

Quickstart

pip install quickjs-ng

import quickjs

ctx = quickjs.Context()
result = ctx.eval("1 + 2")
print(result)  # 3

# Call JS function from Python
ctx.eval("function add(a, b) { return a + b; }")
add = ctx.get("add")
print(add(3, 4))  # 7

Verify before relying

  • Actual license text and SPDX identifier (metadata shows 'unclear' despite description mentioning MIT)
  • Performance characteristics and memory overhead compared to other JavaScript embedding solutions
  • Stability and API surface coverage relative to the original quickjs package

Package facts

LicenseNot declared unclear
Python supportSupports the current Python release <4.0,>=3.10
Install frictionMedium. Platform-specific wheel
Runtime dependenciesNone
MaintenanceActively maintained 13 days since the last release
Last repo commit
First released
Downloads128,737 / month, #11,696 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Intended Audience :: DevelopersProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Libraries :: Python Modules

Evidence: quickjs_ng-0.16.0.1-cp310-abi3-macosx_11_0_arm64.whl; quickjs_ng-0.16.0.1-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; quickjs_ng-0.16.0.1-cp310-abi3-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl; quickjs_ng-0.16.0.1-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl; quickjs_ng-0.16.0.1-cp310-abi3-musllinux_1_2_aarch64.whl; quickjs_ng-0.16.0.1-cp310-abi3-musllinux_1_2_i686.whl; quickjs_ng-0.16.0.1-cp310-abi3-musllinux_1_2_x86_64.whl; quickjs_ng-0.16.0.1-cp310-abi3-win32.whl; quickjs_ng-0.16.0.1-cp310-abi3-win_amd64.whl; quickjs_ng-0.16.0.1-pp310-pypy310_pp73-macosx_11_0_arm64.whl; quickjs_ng-0.16.0.1-pp310-pypy310_pp73-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; quickjs_ng-0.16.0.1-pp310-pypy310_pp73-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl; quickjs_ng-0.16.0.1-pp310-pypy310_pp73-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl; quickjs_ng-0.16.0.1-pp310-pypy310_pp73-win_amd64.whl; quickjs_ng-0.16.0.1-pp311-pypy311_pp73-macosx_11_0_arm64.whl; quickjs_ng-0.16.0.1-pp311-pypy311_pp73-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; quickjs_ng-0.16.0.1-pp311-pypy311_pp73-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl; quickjs_ng-0.16.0.1-pp311-pypy311_pp73-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl; quickjs_ng-0.16.0.1-pp311-pypy311_pp73-win_amd64.whl

Tags

Capabilities
javascript engine pythonembed javascript in pythonquickjs python wrapperexecute js from pythonpython javascript interop
Topics
javascript-embeddingsandboxingscripting-engine
PyPI keywords
quickjsjavascriptembedding

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “embed javascript in python”

  • quickjs-ngEmbeds and executes JavaScript code within Python using the…
  • quickjsWraps the QuickJS C library to execute JavaScript code from Python,…
  • stpyv8STPyV8 embeds Google V8 JavaScript engine into Python, allowing you…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also quickjs · quickjs-rs · mini-racer · py-mini-racer · langchain-quickjs · Js2Py · Js2Py-3.13 · pscript · CoffeeScript · dukpy