Skip to main content

A tool to run Node code from Python

Project description

node-edge

Unit Tests Documentation

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)

Documentation

Documentation is there

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.0b4.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

node_edge-0.1.0b4-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for node_edge-0.1.0b4.tar.gz
Algorithm Hash digest
SHA256 9d200d6f77c4074dfef9846a15316cfdbe2c51c9dfbf6a8039dc9eaa0c8ab170
MD5 31ecf9bdddf62884ba73b54cc463d484
BLAKE2b-256 072408c5482d03c87747102cfaf6b0c58c0ebc6444508b6dcb87d4b53d11d7af

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for node_edge-0.1.0b4-py3-none-any.whl
Algorithm Hash digest
SHA256 3436ec110100ff3e18f5ea259a60166f0741e48b7c77586681dd8bece4d6a5f0
MD5 bea7fda11be0ce575366781c39d21429
BLAKE2b-256 fe505a63cef45011684a42c42788afe2a43f61827f6a44dd437fe82657e71ed9

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