Skip to main content

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:

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.2.0.tar.gz (14.4 kB view details)

Uploaded Source

Built Distributions

denopy-0.2.0-cp38-abi3-win_amd64.whl (13.4 MB view details)

Uploaded CPython 3.8+ Windows x86-64

denopy-0.2.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (21.0 MB view details)

Uploaded CPython 3.8+ manylinux: glibc 2.17+ x86-64

denopy-0.2.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (20.5 MB view details)

Uploaded CPython 3.8+ manylinux: glibc 2.17+ ARM64

denopy-0.2.0-cp38-abi3-macosx_11_0_arm64.whl (15.8 MB view details)

Uploaded CPython 3.8+ macOS 11.0+ ARM64

denopy-0.2.0-cp38-abi3-macosx_10_12_x86_64.whl (16.5 MB view details)

Uploaded CPython 3.8+ macOS 10.12+ x86-64

File details

Details for the file denopy-0.2.0.tar.gz.

File metadata

  • Download URL: denopy-0.2.0.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.4.0

File hashes

Hashes for denopy-0.2.0.tar.gz
Algorithm Hash digest
SHA256 1e0c8dae59a2f1359987c38ca620676d0a6318f60f79e7c21f78782ee2b7831b
MD5 6dc3672430a51dd77dc71f48f0c5155d
BLAKE2b-256 11b5a00868a16a7a9bd0b8b73d4369f8ce831dfabcaf99632bd1a607b657a39e

See more details on using hashes here.

File details

Details for the file denopy-0.2.0-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: denopy-0.2.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

Hashes for denopy-0.2.0-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 0311ec10425343840e03d8ab4884efc1deeede5730846747fc0f18a6613a1ecf
MD5 afeaaaa83e4659cae253edba6facf757
BLAKE2b-256 5b1c149388c7a5adbc255949810025c6f60b2ffd5f13dd83508b16bfe77398b6

See more details on using hashes here.

File details

Details for the file denopy-0.2.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for denopy-0.2.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 970d8ccd2f207fd9cedcf1be7f0c639a8ee8d9501715ef848ce70efe4603ce97
MD5 cb0d3c9f80ac33f8bad82d2dc8ea9be9
BLAKE2b-256 f2278e065bc527a3ca582ef74fe8d1597b5f747184368bb1c3352927fb1564e1

See more details on using hashes here.

File details

Details for the file denopy-0.2.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for denopy-0.2.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 886280924dad9f6aaa95837d7d817edb0655ad22dec86aef936e28d107d14faa
MD5 390e14cb38a660f5b6f8bfb57128aa07
BLAKE2b-256 ddf185880a5c4ac2b1c1310c712e13ad2cd878d171952b1d62a96ee75fca6c3d

See more details on using hashes here.

File details

Details for the file denopy-0.2.0-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for denopy-0.2.0-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bd831ace8340d7d4290337fbf4c4c8cd9055ecc6dd61bd3c77498dc01801ce7c
MD5 e76f452707e7355508aec778c723937b
BLAKE2b-256 3e83670b293c099afad7a7cfd6875ce10522bffa323a6a0125b0b2c7debbb046

See more details on using hashes here.

File details

Details for the file denopy-0.2.0-cp38-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for denopy-0.2.0-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 acbb15e26157f694e87b9015f8e3587c3e0632bfaf7c1a00fabb640e68adb4ea
MD5 d0dc8dc8ffc4000824dc0fae2a32b470
BLAKE2b-256 18f6756def4bab16c428517e8c027ef2e204cbbeddf7c9e2e5d916437b10c885

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page