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.4.0.tar.gz
(16.9 kB
view details)
Built Distributions
File details
Details for the file denopy-0.4.0.tar.gz
.
File metadata
- Download URL: denopy-0.4.0.tar.gz
- Upload date:
- Size: 16.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c5d3a2952e86ef1efb044daa082cb18a53a8258871736f7fb6a8e2ecd7c4636 |
|
MD5 | fc554a07147d289d97ad3e598bf545a5 |
|
BLAKE2b-256 | 6f5787ebc2e70091ff8a5ba1849c09793d2491513bb2882156479971e5e5899f |
File details
Details for the file denopy-0.4.0-cp38-abi3-win_amd64.whl
.
File metadata
- Download URL: denopy-0.4.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 | 6a9a0b5ebf9273d58c791b24971ab4141721ea59c5df1adf967ee5c159fdc207 |
|
MD5 | a90dda6dc988dbf2c37f93dfea8450bb |
|
BLAKE2b-256 | fbb27b1de4bbad258807fa020e2364bb5c80364f8a35859711eb87a9564c57b1 |
File details
Details for the file denopy-0.4.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: denopy-0.4.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 | 3207f509bad6083267d4c404bb3a8df21f3b49d9a3da470ddb1d64805e2f95ce |
|
MD5 | 8143853d8f4ad641946e5d5f02124b62 |
|
BLAKE2b-256 | d249f61ea61410b57ed91af70970f2d08878e3d87b4617960ed730765172dda0 |
File details
Details for the file denopy-0.4.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: denopy-0.4.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 | 2a6a6420ce0d9fad6da6203d439d4aa14af6d45e5d27e979153476b34709ef47 |
|
MD5 | 3f8286335e679a361d7685ecedb6514c |
|
BLAKE2b-256 | e1ea1aab1a1632aefabf2323e0cf6ce299cd315571257c27edbd6db1b581f2c1 |
File details
Details for the file denopy-0.4.0-cp38-abi3-macosx_11_0_arm64.whl
.
File metadata
- Download URL: denopy-0.4.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 | 4616bb122e28ed65980a2af92b059d2e52c01e2779579b65f362242f5ccc181c |
|
MD5 | 42b849c4962d486d6bb4e35470abfb10 |
|
BLAKE2b-256 | 1d23aeb2a01481d5b9802249348f6d5ed2f6a81d796375500ef3672c8745db12 |
File details
Details for the file denopy-0.4.0-cp38-abi3-macosx_10_12_x86_64.whl
.
File metadata
- Download URL: denopy-0.4.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 | e2e29c34b9d5adcc419cb9103d33186959fe872a872a4d9786ad5331ff5a4481 |
|
MD5 | 469afed665c0e7719e188c65614d08b1 |
|
BLAKE2b-256 | 8f222400754871a3e45681d6522f924026a58f1736f5c8ac85b08bd4cf6a3dd0 |