{"_id":"@background404/node-red-contrib-pyodide","_rev":"5-9ca46d49bf2579e7756c3ee0a0a382dc","name":"@background404/node-red-contrib-pyodide","dist-tags":{"latest":"0.1.0"},"versions":{"0.0.1":{"name":"@background404/node-red-contrib-pyodide","version":"0.0.1","keywords":["node-red","pyodide","python","WebAssembly"],"author":{"name":"background404"},"license":"MPL-2.0","_id":"@background404/node-red-contrib-pyodide@0.0.1","maintainers":[{"name":"background404","email":"404background@gmail.com"}],"homepage":"https://github.com/404background/node-red-contrib-pyodide#readme","bugs":{"url":"https://github.com/404background/node-red-contrib-pyodide/issues"},"dist":{"shasum":"3067c7a95e2375ad24b5c2758813f09869ba7937","tarball":"https://registry.npmjs.org/@background404/node-red-contrib-pyodide/-/node-red-contrib-pyodide-0.0.1.tgz","fileCount":34,"integrity":"sha512-tLIBJIF4qHWi91HlzRN4CxPZ5b5ze/kQWiLItJM00gFvnJd98q+L4r8XMua54xyzGLGba5BpSJHfbdrW+eVdjQ==","signatures":[{"sig":"MEYCIQDw5FcJkwqKhGlV5oP5+bWDI76S7KPfKJx6582UfgaP0QIhAIJccM6JJYipyarCb8Mbjp2HUKTjjjgZlhTDD3BidfuO","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":89705},"main":"node/index.js","gitHead":"e7febe681034d1bb8524a27c55f28496a2802331","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"background404","actor":{"name":"background404","type":"user","email":"404background@gmail.com"},"email":"404background@gmail.com"},"node-red":{"nodes":{"pyodide":"node/pyodide/pyodide.js"}},"repository":{"url":"git+https://github.com/404background/node-red-contrib-pyodide.git","type":"git"},"_npmVersion":"10.9.0","description":"Node to execute Python code with Pyodide in Node-RED","directories":{},"_nodeVersion":"22.11.0","dependencies":{"pyodide":"^0.27.7"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/node-red-contrib-pyodide_0.0.1_1750231566245_0.5081176089624573","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@background404/node-red-contrib-pyodide","version":"0.0.2","keywords":["node-red","pyodide","python","WebAssembly"],"author":{"name":"background404"},"license":"MPL-2.0","_id":"@background404/node-red-contrib-pyodide@0.0.2","maintainers":[{"name":"background404","email":"404background@gmail.com"}],"homepage":"https://github.com/404background/node-red-contrib-pyodide#readme","bugs":{"url":"https://github.com/404background/node-red-contrib-pyodide/issues"},"dist":{"shasum":"16dd05fbdb3040679b429ba6691aa1b61563e8ca","tarball":"https://registry.npmjs.org/@background404/node-red-contrib-pyodide/-/node-red-contrib-pyodide-0.0.2.tgz","fileCount":34,"integrity":"sha512-YgVNLvbuynNhjZKiIGaZdhMH6tnBo8Q9HQuY57oAcnsnmB42ZI6VIeZgyX1kzWLqevqqCEvDxM2LMSrOTRuXLg==","signatures":[{"sig":"MEUCIQCAX0bAIClPwfugbGk8PZDG9bvYGvuPiEfgH9WoNkHFQwIgc6S2wmumVNJ6OiKLZylmxBmVDqO9bVB0oSLspXoQ7TI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":89536},"main":"node/index.js","gitHead":"cb298a5c43480128867e2f8d6d1b3c4c4a94c9c1","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"background404","actor":{"name":"background404","type":"user","email":"404background@gmail.com"},"email":"404background@gmail.com"},"node-red":{"nodes":{"pyodide":"node/pyodide/pyodide.js"}},"repository":{"url":"git+https://github.com/404background/node-red-contrib-pyodide.git","type":"git"},"_npmVersion":"10.9.0","description":"Node to execute Python code with Pyodide in Node-RED","directories":{},"_nodeVersion":"22.11.0","dependencies":{"pyodide":"^0.27.7"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/node-red-contrib-pyodide_0.0.2_1750231752827_0.46403262510407206","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@background404/node-red-contrib-pyodide","version":"0.0.3","keywords":["node-red","pyodide","python","WebAssembly"],"author":{"name":"background404"},"license":"MPL-2.0","_id":"@background404/node-red-contrib-pyodide@0.0.3","maintainers":[{"name":"background404","email":"404background@gmail.com"}],"homepage":"https://github.com/404background/node-red-contrib-pyodide#readme","bugs":{"url":"https://github.com/404background/node-red-contrib-pyodide/issues"},"dist":{"shasum":"98ed788ee3d2db1c54ef90d222dd90b790f9d004","tarball":"https://registry.npmjs.org/@background404/node-red-contrib-pyodide/-/node-red-contrib-pyodide-0.0.3.tgz","fileCount":34,"integrity":"sha512-Rivc9QMlU5DPl7DV1B8nuqxkRv2oi2OOsUIZfmEqbNTAnRDqNNcbus8cN5YTkafd5n5AmBVo7JnW1asSa3CAxg==","signatures":[{"sig":"MEUCIQCBKuoIeFQfESuwgd6Pfvu8A7+vObXq5c5hvi1OtJebjgIgGLyYR9snulQCnlIKK2ywGrBKET4eQYsUeoCpiEnHhm0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":89605},"main":"node/index.js","engines":{"node":">=14.0.0"},"gitHead":"e5f2a281b32a76f8282633f4c6a87e1b9f5cc5af","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"background404","actor":{"name":"background404","type":"user","email":"404background@gmail.com"},"email":"404background@gmail.com"},"node-red":{"nodes":{"pyodide":"node/pyodide/pyodide.js"},"version":">=1.3.7"},"repository":{"url":"git+https://github.com/404background/node-red-contrib-pyodide.git","type":"git"},"_npmVersion":"10.9.0","description":"Node to execute Python code with Pyodide in Node-RED","directories":{},"_nodeVersion":"22.11.0","dependencies":{"pyodide":"^0.27.7"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/node-red-contrib-pyodide_0.0.3_1750231926101_0.12303707522926044","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@background404/node-red-contrib-pyodide","version":"0.0.4","keywords":["node-red","pyodide","python","WebAssembly"],"author":{"name":"background404"},"license":"MPL-2.0","_id":"@background404/node-red-contrib-pyodide@0.0.4","maintainers":[{"name":"background404","email":"404background@gmail.com"}],"homepage":"https://github.com/404background/node-red-contrib-pyodide#readme","bugs":{"url":"https://github.com/404background/node-red-contrib-pyodide/issues"},"dist":{"shasum":"8b8a9bbebefe664753fd9925b03e9bbc5cf55469","tarball":"https://registry.npmjs.org/@background404/node-red-contrib-pyodide/-/node-red-contrib-pyodide-0.0.4.tgz","fileCount":44,"integrity":"sha512-s746JHEgXnceKqeRuKYYBvV2RsKvtWKSrDM7mToOboSqwfY/5qzhKs/YzAserYhgwRTY7vTjc3TAHwgqpzAX0w==","signatures":[{"sig":"MEUCIE5Pg9G2jdSqA7DduSWZMshMtZqXAPo9ZLqYVG9DCK+tAiEAxFJpcj8Q2W5WnSc/Ws7P8p7dR75jZzRV2SAzGTXFHUA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":199293},"main":"node/index.js","engines":{"node":">=14.0.0"},"gitHead":"e52042438308e808fb74b6c6a5340f6d19d7b577","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"background404","actor":{"name":"background404","type":"user","email":"404background@gmail.com"},"email":"404background@gmail.com"},"node-red":{"nodes":{"pyodide":"node/pyodide/pyodide.js","pyodide-config":"node/pyodide-config/pyodide-config.js"},"version":">=1.3.7"},"repository":{"url":"git+https://github.com/404background/node-red-contrib-pyodide.git","type":"git"},"_npmVersion":"10.9.0","description":"Node to execute Python code with Pyodide in Node-RED","directories":{},"_nodeVersion":"22.11.0","dependencies":{"pyodide":"^0.27.7"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/node-red-contrib-pyodide_0.0.4_1750333572713_0.8400122112991568","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@background404/node-red-contrib-pyodide","version":"0.1.0","description":"Node to execute Python code with Pyodide in Node-RED","main":"node/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"engines":{"node":">=14.0.0"},"repository":{"type":"git","url":"git+https://github.com/404background/node-red-contrib-pyodide.git"},"keywords":["node-red","pyodide","python","WebAssembly"],"author":{"name":"background404"},"license":"MPL-2.0","bugs":{"url":"https://github.com/404background/node-red-contrib-pyodide/issues"},"homepage":"https://github.com/404background/node-red-contrib-pyodide#readme","dependencies":{"pyodide":"^0.27.7"},"node-red":{"version":">=1.3.7","nodes":{"pyodide":"node/pyodide/pyodide.js","pyodide-config":"node/pyodide-config/pyodide-config.js"}},"_id":"@background404/node-red-contrib-pyodide@0.1.0","gitHead":"ec3c14cceade0c70026fcda478a9ac04f6ed56d5","_nodeVersion":"22.11.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-CFWmFPpK+RB7K495hwhkg/0jfboVCZ+c0mnb1rJkdFvjinoxw3JpB3oBsxuobtRzHe3aAqhUjL7aTbwe/fWyeg==","shasum":"8cb5e63c3321f86591cbb2971200d5ac7bf07180","tarball":"https://registry.npmjs.org/@background404/node-red-contrib-pyodide/-/node-red-contrib-pyodide-0.1.0.tgz","fileCount":44,"unpackedSize":199606,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGrefPhgmu/Cx/qqbnOeR9/qh8b5YUmigmTec+fSZ0k7AiEAmC3+sQcbJdxwbt1YA6o11yzxkt3u3rg6JE6Zfajicqk="}]},"_npmUser":{"name":"background404","email":"404background@gmail.com","actor":{"name":"background404","email":"404background@gmail.com","type":"user"}},"directories":{},"maintainers":[{"name":"background404","email":"404background@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/node-red-contrib-pyodide_0.1.0_1750335374515_0.4265609215448716"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-18T07:26:06.113Z","modified":"2025-06-19T12:16:14.951Z","0.0.1":"2025-06-18T07:26:06.426Z","0.0.2":"2025-06-18T07:29:13.018Z","0.0.3":"2025-06-18T07:32:06.262Z","0.0.4":"2025-06-19T11:46:12.902Z","0.1.0":"2025-06-19T12:16:14.764Z"},"bugs":{"url":"https://github.com/404background/node-red-contrib-pyodide/issues"},"author":{"name":"background404"},"license":"MPL-2.0","homepage":"https://github.com/404background/node-red-contrib-pyodide#readme","keywords":["node-red","pyodide","python","WebAssembly"],"repository":{"type":"git","url":"git+https://github.com/404background/node-red-contrib-pyodide.git"},"description":"Node to execute Python code with Pyodide in Node-RED","maintainers":[{"name":"background404","email":"404background@gmail.com"}],"readme":"# node-red-contrib-pyodide\r\n\r\nA Node-RED node that allows you to execute Python code using Pyodide.\r\n\r\n## Overview\r\n\r\nThis node brings the power of Python to Node-RED without requiring a separate Python installation. It uses Pyodide to run Python code directly in the Node.js environment.\r\n\r\n## Features\r\n\r\n- ✨ Execute Python code directly in Node-RED\r\n- 🔧 No Python installation required\r\n- 🌐 Web-based Python using WebAssembly (Pyodide)\r\n- � Automatic Python package loading (numpy, matplotlib, pandas, etc.)\r\n- �🔄 Seamless integration with Node-RED message flow\r\n\r\n## Usage\r\nYou can execute Python code with Pyodide.  \r\nThe sample flow demonstrates basic usage of the pyodide node with an inject node and debug node.\r\n\r\n![Sample Flow](images/flows.png)\r\n\r\n![Pyodide Node](images/pyodide.png)\r\n\r\nFor example, You can use matplotlib in the pyodide node to generate graphs and pass them to the next node for display. The pyodide-config node loads the matplotlib package automatically.\r\n\r\n![Matplotlib Node](images/matplotlib-node.png)\r\n\r\n![Pyodide Config Node](images/pyodide-config.png)\r\n\r\n![Matplotlib Flow](images/matplotlib.png)\r\n\r\n# Others\r\n\r\nUsing Pyodide Part 1 (Execute in Browser)  \r\n<https://404background.com/program/pyodide/>\r\n\r\nUsing Pyodide Part 2 (Execute with Node.js)  \r\n<https://404background.com/program/pyodide-2/>\r\n\r\nMy Node: python-venv node  \r\n<https://flows.nodered.org/node/@background404/node-red-contrib-python-venv>\r\n\r\n","readmeFilename":"README.md"}