py-mini-racer
Minimal, modern embedded V8 for Python.
Decision gist · record as of 2026-08-14
Yes, if you need embedded JavaScript execution and can accept dormant maintenance. The package is stable (Production/Stable status), has no known vulnerabilities, and prebuilt wheels make installation straightforward on common platforms. However, the 1940-day gap since the last release and dormant repository status mean you should verify compatibility with your target Python and V8 versions before committing to production use, and be prepared to maintain a fork if critical issues arise.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires prebuilt binary wheel for your platform (macOS ≥10.13, Ubuntu ≥16.04, Windows 10, or compatible Linux with libc ≥2.12); Alpine Linux may require manual installation of libgcc and libstdc++.
- Medium install friction due to binary wheel dependencies; prebuilt wheels available for macOS, Linux, and Windows x86_64, but source builds require several GB of disk space and ~60 minutes.
- Last release was 1940 days ago; repository is dormant but not archived, with no recent commits since 2024-06-15.
License · maintenance · safety
ISCL (permissive) — ISC License (permissive) imposes minimal restrictions; you may use, modify, and distribute the package freely with minimal attribution requirements.
last release 2021-04-22 (1940 days) · last repo commit 2024-06-15 · 768 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,269,718 downloads/mo, #4,130 on PyPI
Alternatives
Verify before relying
pip install py-mini-racer
from py_mini_racer import MiniRacer
ctx = MiniRacer()
result = ctx.eval("1+1")
print(result) # 2- Whether the dormant maintenance status (last release April 2021, last commit June 2024) poses a risk for future Python or V8 compatibility.
- Performance characteristics and memory overhead compared to other embedded JavaScript solutions.
- Whether the strict mode default (introduced in 0.6.0) affects compatibility with existing JavaScript code.
What it is and what it does
py-mini-racer wraps the V8 JavaScript engine in a Python-accessible interface, letting you execute JavaScript code and WebAssembly modules directly from Python. It maintains isolated execution contexts where variables persist across calls, supports both simple eval operations (returning primitives) and function calls (returning JSON-serializable objects), and provides heap statistics for memory monitoring.
The package is commonly used in web frameworks like Django and Flask for asset minification, transpilation (e.g., running Babel), and executing WASM modules. It handles Unicode correctly, is thread-safe, and supports modern JavaScript (ES6+). Installation is straightforward via prebuilt wheels for common platforms, though building from source is resource-intensive.
Use it for
- Minify or transpile JavaScript assets in Django or Flask projects without spawning external Node.js processes.
- Execute WebAssembly modules from Python with full V8 support.
- Run JavaScript unit tests or code snippets as part of a Python test suite.
- Evaluate dynamic JavaScript expressions with persistent state across multiple calls.
- Serialize complex JavaScript objects back to Python as JSON-compatible dictionaries.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need embedded JavaScript execution and can accept dormant maintenance.
The package is stable (Production/Stable status), has no known vulnerabilities, and prebuilt wheels make installation straightforward on common platforms. However, the 1940-day gap since the last release and dormant repository status mean you should verify compatibility with your target Python and V8 versions before committing to production use, and be prepared to maintain a fork if critical issues arise.
Install
py-mini-racer on PyPI
Before you install
Medium install friction due to binary wheel dependencies; prebuilt wheels available for macOS, Linux, and Windows x86_64, but source builds require several GB of disk space and ~60 minutes. Last release was 1940 days ago; repository is dormant but not archived, with no recent commits since 2024-06-15.
Requires prebuilt binary wheel for your platform (macOS ≥10.13, Ubuntu ≥16.04, Windows 10, or compatible Linux with libc ≥2.12); Alpine Linux may require manual installation of libgcc and libstdc++.
License in practice
ISC License (permissive) imposes minimal restrictions; you may use, modify, and distribute the package freely with minimal attribution requirements.
Quickstart
pip install py-mini-racer
from py_mini_racer import MiniRacer
ctx = MiniRacer()
result = ctx.eval("1+1")
print(result) # 2
Verify before relying
- Whether the dormant maintenance status (last release April 2021, last commit June 2024) poses a risk for future Python or V8 compatibility.
- Performance characteristics and memory overhead compared to other embedded JavaScript solutions.
- Whether the strict mode default (introduced in 0.6.0) affects compatibility with existing JavaScript code.
Package facts
| License | ISCL permissive |
| Python support | Not specified |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | None |
| Maintenance | Dormant 1,940 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,269,718 / month, #4,130 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: ISC License (ISCL)Natural Language :: EnglishProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3 |
Evidence: py_mini_racer-0.6.0-py2.py3-none-macosx_10_10_x86_64.whl; py_mini_racer-0.6.0-py2.py3-none-manylinux1_x86_64.whl; py_mini_racer-0.6.0-py2.py3-none-win_amd64.whl
Tags
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 › “wasm support python”
- py-mini-racerEmbeds a modern V8 JavaScript engine in Python, allowing you to…
- hyperlight-sandboxHyperlight-sandbox provides a Python API for executing code inside…
- hyperlight-sandbox-backend-wasmProvides a WebAssembly backend implementation for the…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also mini-racer · stpyv8 · akracer · PyExecJS · Js2Py · Js2Py-3.13 · quickjs-ng · quickjs-rs · deno · jsmin