Post
169
š§© Ever dreamed of parallel programming in a few clicks? Tolquane: draw a Python pipeline in your browser, run it on threads, processes or a cluster - and it never hangs
What if high-performance computing started with placing blocks - and the result stayed plain Python you can run anywhere?
Tolquane is a library of composable building blocks (nodes, pipelines, farms, all-to-all, feedback loops) with a web editor on top. One graph, four runtimes: threads, child processes, coroutines, TCP across machines. Every channel is bounded, every deadlock is reported by name, every error cancels the run.
What's inside
- Tolquane Web: a canvas that writes the Python file, and a code editor that redraws the canvas. Run a flow and watch items, queue depth and busy time on every stage; tap any edge to see what flows through it.
- AI builder: describe the flow in one sentence; it writes, checks, runs and improves it, you apply the diff.
- Schedules with cron presets, webhooks, mail and retries. Git history of every flow. Users and roles.
-
Numbers: 5.5Ć on 8 workers for CPU-bound Python (processes runtime), 5.6Ć on free-threaded 3.14t, 1M items over TCP in 3.5 s.
š Try it now, nothing to install (sign in as demo / tolquane): robtacconelli/tolquane
š» Code: https://github.com/robtacconelli/Tolquane
š¦ pip install "tolquane[web]" && tolquane web
š Docs: https://robtacconelli.github.io/Tolquane/
Apache-2.0, Python 3.11+, no dependencies for the library itself. Try it, break it, tell me what you'd build with it - ā appreciated!
What if high-performance computing started with placing blocks - and the result stayed plain Python you can run anywhere?
Tolquane is a library of composable building blocks (nodes, pipelines, farms, all-to-all, feedback loops) with a web editor on top. One graph, four runtimes: threads, child processes, coroutines, TCP across machines. Every channel is bounded, every deadlock is reported by name, every error cancels the run.
What's inside
- Tolquane Web: a canvas that writes the Python file, and a code editor that redraws the canvas. Run a flow and watch items, queue depth and busy time on every stage; tap any edge to see what flows through it.
- AI builder: describe the flow in one sentence; it writes, checks, runs and improves it, you apply the diff.
- Schedules with cron presets, webhooks, mail and retries. Git history of every flow. Users and roles.
-
tq.optimize fuses stages into farm ends and cuts threads; tolquane launch starts every host from one deploy file.Numbers: 5.5Ć on 8 workers for CPU-bound Python (processes runtime), 5.6Ć on free-threaded 3.14t, 1M items over TCP in 3.5 s.
š Try it now, nothing to install (sign in as demo / tolquane): robtacconelli/tolquane
š» Code: https://github.com/robtacconelli/Tolquane
š¦ pip install "tolquane[web]" && tolquane web
š Docs: https://robtacconelli.github.io/Tolquane/
Apache-2.0, Python 3.11+, no dependencies for the library itself. Try it, break it, tell me what you'd build with it - ā appreciated!