Skip to main content

A tool to run Node code from Python

Project description

node-edge

This tool allows you to run Node code from Python, including dependency management:

from node_edge import NodeEngine

package = {
    "dependencies": {
        "axios": "^1.2.0",
    },
}


with NodeEngine(package) as ne:
    axios = ne.import_from("axios")
    print(axios.get("https://httpbin.org/robots.txt").data)

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

node_edge-0.1.0b1.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

node_edge-0.1.0b1-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

Details for the file node_edge-0.1.0b1.tar.gz.

File metadata

  • Download URL: node_edge-0.1.0b1.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.5 Linux/5.15.0-53-generic

File hashes

Hashes for node_edge-0.1.0b1.tar.gz
Algorithm Hash digest
SHA256 5a690a535de35085921afad13b720f63eec0c7cd2ae87307b1bd99fc70f65c86
MD5 4b8781f3030cb046d163eb7835b3b851
BLAKE2b-256 eeac42fd5efe4fc72943bdef1d8f5284e8d57559427ce6969bde6fc7c9378980

See more details on using hashes here.

Provenance

File details

Details for the file node_edge-0.1.0b1-py3-none-any.whl.

File metadata

  • Download URL: node_edge-0.1.0b1-py3-none-any.whl
  • Upload date:
  • Size: 13.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.5 Linux/5.15.0-53-generic

File hashes

Hashes for node_edge-0.1.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 65a8a0dbfdb92771d2dd99399247e37a7ef8e7ee8a6f070dcca9fc27e2cc2c26
MD5 fe2272d81bb4ee97c0c81a1415d95ffa
BLAKE2b-256 fe569e465268483a220b1610c683d5cb25101a42fc04045b887fa70fe9540caa

See more details on using hashes here.

Provenance

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