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.3.0.tar.gz
(16.3 kB
view details)
Built Distributions
File details
Details for the file denopy-0.3.0.tar.gz
.
File metadata
- Download URL: denopy-0.3.0.tar.gz
- Upload date:
- Size: 16.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7d027b1ac668b3517261bef9e0ab74b9415e30496d1bf9cfd09daa4b66a2d86 |
|
MD5 | c993a11a7eaeefbbb5d7de12908ce2be |
|
BLAKE2b-256 | e51bc118853f70e89301450b6d7b9da3470adf6d1556374aab649fcb49f6369c |
File details
Details for the file denopy-0.3.0-cp38-abi3-win_amd64.whl
.
File metadata
- Download URL: denopy-0.3.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 | ad60db6a0bbe975716e8a803c56a4eefb3db2b210970cdff28edaf00844586d2 |
|
MD5 | 370b7472a22822693d0bbfe151af9f3d |
|
BLAKE2b-256 | f0b04be6b1bd01713730ed683a7ce6a083c89679285738d57348b21ae4688269 |
File details
Details for the file denopy-0.3.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: denopy-0.3.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 | 0f5e85953f0a3e0bc0d698f7639e65b0830ea472c1f68640cefe9430fb5e47e7 |
|
MD5 | 69af5e01c6dd95a1ab011f65deda2837 |
|
BLAKE2b-256 | 1822365dd38f976bf925092ca04f6acb6b970f50d745757a846892ac2012fdde |
File details
Details for the file denopy-0.3.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: denopy-0.3.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 | 5bb73683d626457de278cfc60b59e7fd4d22bd9c26eee93bc855d62398cdc5b1 |
|
MD5 | eceaf3de97571acd4fbe20243edfe24d |
|
BLAKE2b-256 | b5023995ec8408bb645aab26685b6c60217755107b5faa70f877b5c06ab15340 |
File details
Details for the file denopy-0.3.0-cp38-abi3-macosx_11_0_arm64.whl
.
File metadata
- Download URL: denopy-0.3.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 | a78fc960b35975f44d4cf47ea760c8fb34d31496795a1290c223c2eb5242a92d |
|
MD5 | f8cb0d832b18e495ecb45968d98f661d |
|
BLAKE2b-256 | d6c918400d9c2640a4ccda627bd4aa9266cb396806490e17a64c402c95527886 |
File details
Details for the file denopy-0.3.0-cp38-abi3-macosx_10_12_x86_64.whl
.
File metadata
- Download URL: denopy-0.3.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 | 4417436e1ed17cd92db445521e9dffb8f22dec6d86e739b5ec1af2d7c66adcd9 |
|
MD5 | 041abc3739c109ee600c2ad2cbd1ad97 |
|
BLAKE2b-256 | dde4a089d0cbd82be778638c90c328ca9306a1d364f5602de0fa08c1f1132af8 |