Python Forum
Nodezator (free Python node editor) released to the public domain!
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Nodezator (free Python node editor) released to the public domain!
#1
Star 
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 the node layouts to be exported to Python code.

Download/install instructions on the app's github repo.

Here's a screenshot:
[Image: screenshot.png]

Defining nodes is super easy too. For instance, Nodezator turns the function below into the following node automatically.

def get_circle_area(radius:float=0.0):
    return math.pi * (radius ** 2)
[Image: get_circle_area_node.png]

For those who didn't watch it yet, here's the presentation video from a couple of months ago:


The project is 100% free of charge, but if you can, consider donating to help the project.

Regardless of donating or not you are welcome in our free discord server.

By the way, I'm Kennedy Richard Silva Guerra, 31, creator and maintainer of Nodezator (as part of a personal project called Indie Python). Feel free to ask anything.
DeaD_EyE, Larz60+, snippsat like this post
Reply
#2
It certainly looks like an impressive piece of software. Does nodezator also handle classes and methods, and are there any perspectives in this direction?
KennedyRichard likes this post
Reply
#3
It does. It can turn any callable into a node. There are actually different ways to define nodes. You can write your own callable or you can use an existing one. I describe everything in the official manual.

This means any existing Python callable can be turned into a node. That is, all Python callables defined in the hundreds of thousands of pypi.org packages can be turned into a node. I just usually mention functions because they are often more useful for this kind of workflow, but yes, you can use any callable, functions, classes, bound or unbound methods, lambdas, etc.

Here's for instance, how you would turn numpy.save() into a node:

### turning callable from third-party library into a node

### import callable
from numpy import save

### alias it as the main callable
main_callable = save

### define the third-party library import statement
third_party_import_text = 'from numpy import save'
If the callable is not compatible with inspect.signature() (which Nodezator uses internally to grab information about the callable), all you need to do is write a dummy "def statement" that will be used to create a node, but the original callable will still be used in the actual node layout and when exporting the layout to a python script. Here's an example of how to turn pygame.image.save() (which is incompatible with inspect.signature()) into a node.

### providing a signature for an incompatible callable

### import the callable
from pygame.image import save

### define it as the main callable
main_callable = save

### third-party library import statement
third_party_import_text = 'from pygame.image import save'

### write the dummy function and alias it as the
### signature_callable; this is the only additional step
### to turn an incompatible callable into a node

def _save(surface, filename_or_fileobj, namehint=''):
    pass

signature_callable = _save
As you can see, not much more has to be done. I tried to make the api as simple and straightforward as possible.
Reply
#4
Look impressive,and like the outside of box 📮 usage with Pygame.
KennedyRichard likes this post
Reply
#5
Excellent, impressive work.
KennedyRichard likes this post
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  PAGE 8.0 RELEASED rob101 4 791 Jan-06-2024, 02:07 PM
Last Post: rob101
Star Nodezator v1.4 released! (Python node editor in the public domain) KennedyRichard 0 926 Sep-04-2023, 01:42 PM
Last Post: KennedyRichard
  Lightweight Python editor for beginners Gribouillis 0 766 Dec-23-2022, 06:07 AM
Last Post: Gribouillis
  Python 3.10 is Released snippsat 1 1,907 Oct-07-2021, 10:47 PM
Last Post: Yoriz
  Python GUI for Android - ebook for free OlafArtAnanda 2 3,783 Jul-20-2021, 11:07 PM
Last Post: phoenix
  [Expired] Free Course: Automate the Boring Stuff with Python Programming Yoriz 0 2,767 Jun-06-2021, 01:18 PM
Last Post: Yoriz
  [Expired] Complete Python 3 course, FREE for the next 2 days Yoriz 2 2,792 May-17-2021, 05:28 PM
Last Post: Yoriz
  Get Python 101 2nd Edition FREE for 72 Hours! snippsat 1 2,619 Jan-11-2021, 06:35 PM
Last Post: Larz60+
  Domain Name Including Word Python Rajbir 2 1,801 Jan-08-2021, 01:26 AM
Last Post: Skaperen
  Kivy 2.0.0 released buran 1 2,776 Dec-10-2020, 01:51 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020