This release is a pre-release and may not be stable for production use.
Flowire Code Nodes
Code execution node package for Flowire workflow automation.
This package is intentionally separate from fw-nodes-core so servers can opt into code execution support by installing this package.
Installation
cd flowire-app/backend
uv pip install fw-nodes-code
Enable it in your .env file:
INSTALLED_NODE_PACKAGES=fw-nodes-core,fw-nodes-code
Included Node
| Node | Description |
|---|---|
Code |
Execute JavaScript or Python code in an isolated sandbox |
The node supports a runtime input (default latest) so you can route
different versions to different sandbox services (for example 3.13, 3.9, 20).
Sandbox Services
This package includes the sandbox runtimes used by the Code node:
js-sandbox/- JavaScript sandbox (isolated-vm + Fastify)py-sandbox/- Python sandbox (FastAPI + subprocess execution)
Local sandbox commands
cd fw-nodes-code
just js-sandbox-install
just py-sandbox-install
just js-sandbox
just py-sandbox
Environment Variables
CODE_NODE_SANDBOX_URL_MAP- JSON object mapping runtime keys to sandbox URLs.
Example:
CODE_NODE_SANDBOX_URL_MAP='{
"javascript@latest":"http://localhost:3100",
"javascript@20":"http://localhost:3110",
"python@latest":"http://localhost:3200",
"python@3.13":"http://localhost:3213",
"python@3.9":"http://localhost:3209"
}'
Runtime keys are resolved as:
{language}@{runtime}(for examplepython@3.13){language}@latest- (no fallback route; configuration must exist in the map)
If CODE_NODE_SANDBOX_URL_MAP is not set, defaults are used:
javascript@latest -> http://localhost:3100python@latest -> http://localhost:3200
Development
just install
just js-sandbox-install
just py-sandbox-install
just js-sandbox
just py-sandbox
just test
just lint
Metadata
Release files for fw-nodes-code 0.0.1a2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fw_nodes_code-0.0.1a2.tar.gz | 35.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fw_nodes_code-0.0.1a2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 42.4 kB
Release files / fw_nodes_code-0.0.1a2.tar.gz
| Download URL | fw_nodes_code-0.0.1a2.tar.gz |
|---|---|
| Size | 35.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
de25f80ecaa18314c5f2ebc8a4e69284dc6cdf7374e7ba0fde0e80032882cab0
|
|
BLAKE2b-256 checksum How to use checksums |
cc453904868d5bc265eb06bc2660ac4c96fb3808ea12f975433147146619e456
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / fw_nodes_code-0.0.1a2-py3-none-any.whl
| Download URL | fw_nodes_code-0.0.1a2-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
60a5531ed82e2318d8403167090c1ab8963e485385c2cfaee8e568f4cd78ba86
|
|
BLAKE2b-256 checksum How to use checksums |
e103307513915f3e3b628d31fad534264c28cd7641cee66bcb06555e1f5458ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|