FuncNodes Worker
FuncNodes Worker (funcnodes_worker) is the execution engine for the FuncNodes ecosystem. It provides the runtime environment where nodes are executed, managed, and controlled.
[!NOTE] For the full application usage, please refer to the main FuncNodes repository.
Key Features
- Execution Runtime: Manages the
NodeSpaceand the main event loop, ensuring efficient asynchronous execution of nodes. - Remote Control:
- WebSocket Worker: Allows remote management and frontend interaction via
aiohttpWebSockets. - Message Queue Worker: Supports communication via multiprocessing queues for inter-process coordination.
- WebSocket Worker: Allows remote management and frontend interaction via
- Process Management: Handles state persistence, heartbeats, and safe shutdown procedures.
- Extensibility: Supports "External Workers" to offload tasks to auxiliary processes or environments.
Installation
pip install funcnodes-worker
Dependencies
- funcnodes-core: The core logic definitions.
- aiohttp: For WebSocket communication (optional but recommended).
- pydantic: For configuration and data validation.
Usage
In most cases, funcnodes-worker is used internally by the funcnodes main package. However, you can instantiate a worker programmatically if needed:
from funcnodes_worker import WSWorker
# Create a worker that listens on a specific host and port
worker = WSWorker(host="localhost", port=9382)
# Start the worker loop (usually handled by an async runner)
# await worker.run()
Documentation
For comprehensive documentation, visit the FuncNodes Documentation.
Metadata
Release files for funcnodes-worker 1.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| funcnodes_worker-1.6.0.tar.gz | 135.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| funcnodes_worker-1.6.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 189.5 kB
Release files / funcnodes_worker-1.6.0.tar.gz
| Download URL | funcnodes_worker-1.6.0.tar.gz |
|---|---|
| Size | 135.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
42c2be196f344942b576c3574c9badd04b513f679e2b8d02469a2900e548173d
|
|
BLAKE2b-256 checksum How to use checksums |
b07e06df79906535746906cd8ce1feafc591df8c9959d94b177c0bf989f4da1a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 6, 2026.
Transparency logRelease files / funcnodes_worker-1.6.0-py3-none-any.whl
| Download URL | funcnodes_worker-1.6.0-py3-none-any.whl |
|---|---|
| Size | 53.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5b515054df90d451e3dd8f2f55f9c64d70dc7c01eef6834e02c59daac7cbd16d
|
|
BLAKE2b-256 checksum How to use checksums |
7f762ffb3f9777f5ccfcb5c3158d83d2ac245785f47c3029cea1f1294ed85235
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 6, 2026.
Transparency log