Is it just me or are these things harder to write, read, understand and modify than plain old code?
PyFlow – Visual scripting framework for Python – NodeRED alternative?
11–20 of 54 posts
Re: PyFlow – Visual scripting framework for Python – NodeRED alternative?
#12Very cool. We're designing an open source automations engine for Kubernetes ("Zapier/IFTTT for devops") and have thought about adding a UI for automating stuff visually. So far, simple YAML configurations have won out and we're still debating the benefits of a UI. Does anyone have experience using tools like this at scale or for technical domains? (E.g. devops.) Would love to hear a convincing case why a UI is better…
Re: PyFlow – Visual scripting framework for Python – NodeRED alternative?
#13Interesting, came across https://ryven.org/ recently which looks in the same domain. Any practical use cases of either being used? Huge fan of NodeRED, always thought the paradigm could be leveraged for other heavy workflow applications
HomeAssistant is build in Python, so this could be more included part of HomeAssistant.
Re: PyFlow – Visual scripting framework for Python – NodeRED alternative?
#14Very cool. We're designing an open source automations engine for Kubernetes ("Zapier/IFTTT for devops") and have thought about adding a UI for automating stuff visually. So far, simple YAML configurations have won out and we're still debating the benefits of a UI. Does anyone have experience using tools like this at scale or for technical domains? (E.g. devops.) Would love to hear a convincing case why a UI is better…
Look to HomeAssistant, where there is a lot of both YAML and NodeRED. I am hoping there could be a Python alternative to NodeRED build into HomeAssistant, to make it easier for beginners.
Re: PyFlow – Visual scripting framework for Python – NodeRED alternative?
#15It also has to have a lot of buy-in and support. As everyone here is fully aware, a lot of problems get solved by Googling for a Stack Overflow answer. That's tough to do with a niche-y tool.
Not saying this isn't a good thing; it's just that it'll be difficult to be successful as a general purpose tool.
Re: PyFlow – Visual scripting framework for Python – NodeRED alternative?
#16Re: PyFlow – Visual scripting framework for Python – NodeRED alternative?
#17Is it just me or are these things harder to write, read, understand and modify than plain old code?
Like comparing Word to Latex. Latex is faster when you know it.
Latex is exceedingly expressive and lets you be very precise about exactly what you want on the page and how it is typeset - much more so than Word is capable of. This comes at the cost of learning the language, which isnt user friendly - e.g. I've never had a word document that didnt compile.
Turing complete code, by contrast, demands a high level of language expressivity to do everything beyond the most basic tasks.
Using a GUI to write code becomes like using Word to professionally typeset a an academic textbook very, very quickly.
So quickly I'd argue that there's almost no point even starting.
Re: PyFlow – Visual scripting framework for Python – NodeRED alternative?
#18Very cool. We're designing an open source automations engine for Kubernetes ("Zapier/IFTTT for devops") and have thought about adding a UI for automating stuff visually. So far, simple YAML configurations have won out and we're still debating the benefits of a UI. Does anyone have experience using tools like this at scale or for technical domains? (E.g. devops.) Would love to hear a convincing case why a UI is better…
Most GUI tools, presumably in speed to market, skip this. But as soon as you've created something that can only be viewed & modified in a visual editor... you've become part of the problem.
So I'd approach this from a "If my tool is successful, and users use all the editors we give them, what will their support story for a 10 year old codebase look like?" (If you care about the greater good)
Re: PyFlow – Visual scripting framework for Python – NodeRED alternative?
#19I ended up developing my own tool based on the flowchart editor in pyqtgraph. The GUI for that was quite intuitive and the code to modify it was also far simpler. That said there are a few features from pyflow that I wish the pyqtgraph editor had, like subgraphs.
Re: PyFlow – Visual scripting framework for Python – NodeRED alternative?
#20Very cool. We're designing an open source automations engine for Kubernetes ("Zapier/IFTTT for devops") and have thought about adding a UI for automating stuff visually. So far, simple YAML configurations have won out and we're still debating the benefits of a UI. Does anyone have experience using tools like this at scale or for technical domains? (E.g. devops.) Would love to hear a convincing case why a UI is better…
I think the key here, as a responsible developer, is ensuring isomorphism between the GUI representation and the generated code. To the extent that the development method could be swapped without repercussion. Most GUI tools, presumably in speed to market, skip this. But as soon as you've created something that can only be viewed & modified in a visual editor... you've become part of the problem. So I'd approach this…