# node-edge
![Unit Tests](https://github.com/ModelW/py-node-edge/actions/workflows/tests.yml/badge.svg)
![Documentation](https://readthedocs.org/projects/node-edge/badge/?version=latest)
This tool allows you to run Node code from Python, including dependency
management:
```python
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** ✨](https://node-edge.rtfd.io)
Raw data
{
"_id": null,
"home_page": "https://github.com/ModelW/py-node-edge",
"name": "node-edge",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.10",
"maintainer_email": null,
"keywords": "node, javascript, binding",
"author": "R\u00e9my Sanchez",
"author_email": "remy.sanchez@hyperthese.net",
"download_url": "https://files.pythonhosted.org/packages/32/a5/15982c5eba0f8b1e4979bc4a5ffc0abbcfc585e78996e135165b49cc770a/node_edge-0.1.0.tar.gz",
"platform": null,
"description": "# node-edge\n\n![Unit Tests](https://github.com/ModelW/py-node-edge/actions/workflows/tests.yml/badge.svg)\n![Documentation](https://readthedocs.org/projects/node-edge/badge/?version=latest)\n\nThis tool allows you to run Node code from Python, including dependency\nmanagement:\n\n```python\nfrom node_edge import NodeEngine\n\npackage = {\n \"dependencies\": {\n \"axios\": \"^1.2.0\",\n },\n}\n\n\nwith NodeEngine(package) as ne:\n axios = ne.import_from(\"axios\")\n print(axios.get(\"https://httpbin.org/robots.txt\").data)\n```\n\n## Documentation\n\n[\u2728 **Documentation is there** \u2728](https://node-edge.rtfd.io)\n",
"bugtrack_url": null,
"license": "WTFPL",
"summary": "A tool to run Node code from Python",
"version": "0.1.0",
"project_urls": {
"Documentation": "https://node-edge.rtfd.io",
"Homepage": "https://github.com/ModelW/py-node-edge",
"Repository": "https://github.com/ModelW/py-node-edge"
},
"split_keywords": [
"node",
" javascript",
" binding"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "225d0488a948aa98acf79dee4816c6d7c7ccec0d4163452382439a1c5de808bc",
"md5": "84cdccc64b157164b6e8f6b1169d26ee",
"sha256": "c9cf05fca7cce7b7e0cbf366e747cc1f7f19170a1426fcf481c33196bee1b84f"
},
"downloads": -1,
"filename": "node_edge-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "84cdccc64b157164b6e8f6b1169d26ee",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.10",
"size": 15029,
"upload_time": "2024-08-10T09:00:16",
"upload_time_iso_8601": "2024-08-10T09:00:16.271159Z",
"url": "https://files.pythonhosted.org/packages/22/5d/0488a948aa98acf79dee4816c6d7c7ccec0d4163452382439a1c5de808bc/node_edge-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "32a515982c5eba0f8b1e4979bc4a5ffc0abbcfc585e78996e135165b49cc770a",
"md5": "ae62148091c62f70cf7d9db3b9f25627",
"sha256": "06055a29f8b00b18a434ba7bddc659d1e4e002ff69fb10ddab478d6894e11093"
},
"downloads": -1,
"filename": "node_edge-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "ae62148091c62f70cf7d9db3b9f25627",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.10",
"size": 14090,
"upload_time": "2024-08-10T09:00:18",
"upload_time_iso_8601": "2024-08-10T09:00:18.010712Z",
"url": "https://files.pythonhosted.org/packages/32/a5/15982c5eba0f8b1e4979bc4a5ffc0abbcfc585e78996e135165b49cc770a/node_edge-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-10 09:00:18",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ModelW",
"github_project": "py-node-edge",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "node-edge"
}