No project description provided
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 Distribution
denopy-0.1.0.tar.gz
(13.2 kB
view details)
Built Distributions
File details
Details for the file denopy-0.1.0.tar.gz
.
File metadata
- Download URL: denopy-0.1.0.tar.gz
- Upload date:
- Size: 13.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9738659ce1a44da0a42b2bdec2e1c69e204de0649f4cf80255da6eaf6bf460e |
|
MD5 | e0c90c9e3a95482c79bbe128b1272cd4 |
|
BLAKE2b-256 | ef8db6db893c6c3f252be543e09d6b177934e9c36926bcd9e00bb3057987ffaf |
File details
Details for the file denopy-0.1.0-cp38-abi3-win_amd64.whl
.
File metadata
- Download URL: denopy-0.1.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.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6863017f6498772eb06205014d16dbb0096e78034ea43864f50ecd7f92d758e4 |
|
MD5 | 46a6583aa5d631beefe614917e3a4d0b |
|
BLAKE2b-256 | 53e1df21e187e81e40a8d8157b81f2d2df39ffbf4d256a27e3a0d958da9771c2 |
File details
Details for the file denopy-0.1.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: denopy-0.1.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 21.0 MB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2260a2939998ac7bba80bec3cb93ccf828b612bbdc16dc7b8aeae553b43e37b3 |
|
MD5 | 06e6baa60f8a2de5ec8c0c73a144d60a |
|
BLAKE2b-256 | e1696e99ebd5457f9891ce6be102481a795f9dd4445619add670e8bdcd572afe |
File details
Details for the file denopy-0.1.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: denopy-0.1.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 20.5 MB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ff086b68de0b13fb40c682801612b021d82faf278d11e78cdb64afe5496eab2 |
|
MD5 | 70f94970262f24bae3a72de12fc59adc |
|
BLAKE2b-256 | d92cd398907ba274d2dbd58cbbb03b0169b9bc84375834d48aab1c50ac18c90f |
File details
Details for the file denopy-0.1.0-cp38-abi3-macosx_11_0_arm64.whl
.
File metadata
- Download URL: denopy-0.1.0-cp38-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 15.8 MB
- Tags: CPython 3.8+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9b9140f475af859733a9122a8bb78c3581249f4eefd09c366f4e6e87c2f49c1 |
|
MD5 | 0e9f77d3eda1dc0b8719674e8da1da68 |
|
BLAKE2b-256 | 6c26057b0e16fd56f1da8e05d4667a8d71faba90c150fbdf67ea9222f6004dc0 |
File details
Details for the file denopy-0.1.0-cp38-abi3-macosx_10_12_x86_64.whl
.
File metadata
- Download URL: denopy-0.1.0-cp38-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 16.4 MB
- Tags: CPython 3.8+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8f2c1089902e873c5f5a5cec2d8eb821dc9fa213b984fa6f865c4df51e43e6f |
|
MD5 | d8622bbbe2c7a0d3daf8360afb6bde0e |
|
BLAKE2b-256 | 0fe686817e64c42821e1c70654a381b04d0412e1f03039e73ba3d30ddc652d15 |