jsrv8
基于 never-jscore 的 Python 内嵌 V8 运行时,发行名称和导入名称均为 jsrv8。
import jsrv8
ctx = jsrv8.Context(enable_extensions=True)
print(ctx.eval("Promise.resolve(42)", return_value=True))
del ctx
安装:pip install jsrv8。平台支持以 PyPI 实际 wheel 列表为准。
本项目保留上游 Context 和 JSEngine 接口。编译包含 Web API 必需的内部
Node 模块,默认不开启用户可见的 Node 兼容环境。Canvas 可使用外接 CanvasKit。
这不是浏览器安全沙箱,不应执行不可信代码。
源码来源及修改说明见 UPSTREAM.md,许可证见 LICENSE。
Metadata
Release files for jsrv8 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jsrv8-0.1.0-cp38-abi3-win_arm64.whl | CPython 3.8 | abi3 | Windows ARM64 | Details for jsrv8-0.1.0-cp38-abi3-win_arm64.whl |
| jsrv8-0.1.0-cp38-abi3-win_amd64.whl | CPython 3.8 | abi3 | Windows x86-64 | Details for jsrv8-0.1.0-cp38-abi3-win_amd64.whl |
Total release size: 51.3 MB
Release files / jsrv8-0.1.0-cp38-abi3-win_arm64.whl
| Download URL | jsrv8-0.1.0-cp38-abi3-win_arm64.whl |
|---|---|
| Size | 25.0 MB |
| Tags | CPython 3.8 Windows ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
86790dac34793755465f1db26b877ec7860f8fa80ea5ef156753e2019cd49203
|
|
BLAKE2b-256 checksum How to use checksums |
4dc7ee4d674807646a13ab5731470c893d18c203554e181691824071671387d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / jsrv8-0.1.0-cp38-abi3-win_amd64.whl
| Download URL | jsrv8-0.1.0-cp38-abi3-win_amd64.whl |
|---|---|
| Size | 26.2 MB |
| Tags | CPython 3.8 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
bda30d787a6983fdeb000f8cf28dc1c616ee9aee126be00b13ed0d87d4628137
|
|
BLAKE2b-256 checksum How to use checksums |
44dd15d6b617c9ce6bbe551165f75a82b84c4dce05a9010aff3fadfc14b6050c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for jsrv8 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.