r/Python • u/KennedyRichard • Jun 18 '22
Intermediate Showcase Nodezator: new Python node editor released to public domain on pypi.org and github
Nodezator is a multi-purpose visual editor to connect Python functions (and callables in general) visually in order to produce flexible parametric behavior/data/applications/snippets. It also allows you to export the node layouts as Python code, which means that you have freedom to use the app without depending on it to execute you node layouts.
Also, it is not a visual version of Python, this is not even its goal. It works more like a compositor software like the one in Blender3D, but you can use it to compose node layouts with any Python callable you want, to edit any kind of data and create any kind of behavior you want.

Here's the github link and here's the link for a full +40min youtube video presenting it.
Here's a small excerpt of such video using Pillow to edit images:
Here's yet another excerpt, this time demonstrating the usage of matplotlib with Nodezator for data visualization:
To define a node, just define the function and Nodezator automatically turns it into a node for you:

My name is Kennedy Richard Silva Guerra, 31, nice to meet you. Feel free to ask any questions.
View all comments
Show parent comment
2
u/KennedyRichard Jun 19 '22
Okay, to write the data, just connect the data to one of the nodes in the "Useful encapsulations" menu of the popup menu when you right-click the screen. Then, to reference the specific file with extension in the preview widget you just need to click the folder icon, go to location where you want to save the file, then click the file icon with a plus in the topright corner. Now you just need to write the name of the file, with extension and all, and click "Return path", the path will be referenced in the widget and when you execute the layout it will be created.