Bare-minimum binding of deno_core, for embedding JavaScript in Python.
Project description
DenoPy (WIP)
Bare-minimum binding of deno_core
, for embedding JavaScript in Python.
Example:
import denopy
r = denopy.Runtime()
r.eval("['1', '2', '3'].map(parseInt)")
Notes
- This supports only blocking JavaScript, not
async/await
.- Most JavaScript embedding use cases I've seen so far involve pure logic, not I/O.
- Juggling
async/await
across 3 languages is a lot of work.
- Deno has multiple layers, in decreasing order of functionalities:
cli
->deno_runtime
->deno_core
->v8
. The first 2 are not stable, so we bind the 3rd one. This means:- No TypeScript.
- No npm module import.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
File details
Details for the file denopy-0.5.0-cp38-abi3-win_amd64.whl
.
File metadata
- Download URL: denopy-0.5.0-cp38-abi3-win_amd64.whl
- Upload date:
- Size: 13.4 MB
- Tags: CPython 3.8+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d038ab3a18fb7b3b90d3dc845a5021906e280f0af12c45b2bbf1c97ba5f2afb5 |
|
MD5 | 5fa7d32c7f1c8e6da3eca97db97f5288 |
|
BLAKE2b-256 | 2d51250720337a93bb7b275c15afa51438ded1b0607519159a2c6fc8e91f1ba1 |
File details
Details for the file denopy-0.5.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: denopy-0.5.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 16.9 MB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33c322a7500c193875652729460e0f3ff89d8563e36d08b2113448b63a5aa2cc |
|
MD5 | 4b2e4b96913e29d8c7b1022cf0956fa2 |
|
BLAKE2b-256 | 867d61914c4c31ea09a129d96e33b0fc619d4a265baeac506cef443ea7157e81 |
File details
Details for the file denopy-0.5.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: denopy-0.5.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 16.7 MB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05409736e333d1ee8f9f7cc06121500a994cc0462e9f0fe9c1d8e71fa040b077 |
|
MD5 | ff5ae990a3ab4a122fd25923b98a7c42 |
|
BLAKE2b-256 | 41640c749e413886ea4b70b05daf5b3bc296f22142598d325596337477e40048 |
File details
Details for the file denopy-0.5.0-cp38-abi3-macosx_11_0_arm64.whl
.
File metadata
- Download URL: denopy-0.5.0-cp38-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 14.3 MB
- Tags: CPython 3.8+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 280687195f8d6c70368eaec4db0ac5e43479661e055990bf0a45f7ad3c064dbd |
|
MD5 | f21ef2bafd4c69666d28c86f732eb669 |
|
BLAKE2b-256 | 5809021aae4344582147715a90a70c116c0f3eded42863c80c93f073761eb7f5 |
File details
Details for the file denopy-0.5.0-cp38-abi3-macosx_10_12_x86_64.whl
.
File metadata
- Download URL: denopy-0.5.0-cp38-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 15.0 MB
- Tags: CPython 3.8+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98d660d2a5360d35dcea9c30ef7adc4a206c953a454c95f6df33731bda0b1052 |
|
MD5 | 0ef58f37d6aa2c3ac744bd2fa48dbaa8 |
|
BLAKE2b-256 | 5aee4a956ddf74c461ddf2e9b30c504fc88718c20d9ff15bc43dcd26c50db4a4 |