🐍Python Bridge - Plugin Under Development - Forum

Forum Navigation
You need to log in to create posts and topics.

🐍Python Bridge - Plugin Under Development

It’s been a long-time goal of mine to fully embed Python into VisualNeoWin, and it’s finally becoming real. Calling this a plugin almost feels misleading. It’s closer to a serious upgrade that fundamentally changes what VisualNEOWin can do. In my opinion, this ends up being one of those “holy grail moments! Game changing!” additions.

VisualNEOWin has always been great at building polished, interactive Windows applications quickly, but it was never designed for heavy computation, REST APIs, sensor data, image processing, or anything that lives in the modern Python ecosystem. Until now, doing those things meant stepping completely outside VisualNEOWin, writing separate programs, juggling runtimes, and hoping everything talks to each other without exploding.

This project bridges that gap. PythonBridge allows Python code to be called directly from VisualNEOWin scripts as naturally as any built-in action, effectively marrying VisualNEOWin’s UI and workflow strengths with Python’s massive ecosystem in robotics, data science, computer vision, and IoT. Best of both worlds, finally in the same place.

I’m looking for beta testers and community input, especially from Python users, to help shape this properly. A lot of time goes into these plugins, and while some of my older ones are admittedly rough around the edges, I’m actively polishing things for proper distribution. If this is something you want or would use, I’d genuinely love to hear your thoughts. I have a road map already I will share my progress as I got here! but let's get this right so we can all have a powerful tool.

luishp, alangonzalez91 and 2 other users have reacted to this post.
luishpalangonzalez91raslemo

@kriscall what you are doing is really, really impressive!
Can't wait to see it working.

Kriscall has reacted to this post.
Kriscall

Below is the concept almost ready for BETA testers and a preview of the plugin.

The .nbp plugin packages its own self-contained Python 3.11 environment. On first install, the plugin automatically extracts and configures everything for you no previous install of a system Python installation is required. It prepares a dedicated workspace where Python can run independently and reliably for Visualneowin ONLY.

Once installed, you gain access to several actions, but the most important one is PythonExec.

Whenever you need to integrate a Python script or program, you simply call PythonExec. This opens a built-in Python IDE directly inside Visual Neo Win a full mini-IDE complete with:

  • Library and dependency management

  • A dedicated environment shell

  • A built-in library manager for installing PIP packages

  • Integrated debugging tools

You can install all required Python libraries either manually through the environment shell or automatically via the library manager. After pulling in your dependencies, you write your code and execute it directly inside the IDE to test and debug it.

Once you’re finished, just click OK and your Python code is now embedded in your Visual Neo application. When Visual Neo reaches the PythonExec action at runtime, it executes the Python code and seamlessly returns control back to Visual Neo.

Here’s the really powerful part:
Python is fully aware that it’s running inside Visual Neo Win.
It can access Visual Neo variables and functions and Visual Neo can access Python variables and results. The plugin merges both environments so they work together as a single system.

Finally, everything is compiled into your EXE, including a portable Python runtime and all required dependencies. End users don’t need to install anything at all they just run the Visual Neo application like normal, and the plugin handles everything behind the scenes automatically.


Uploaded files:
  • You need to login to have access to uploads.

End User Experience PREVIEW

The window shown below appears only once, during the first execution of the application.

On this initial run, the application prepares its required Python components by extracting and setting them up in the app’s directory. This process happens automatically and is similar to a one-time installation or setup step.

After this first execution is complete, the window will never appear again.
On all subsequent launches, the application starts normally without any setup delay.

Also on the last image you can see how the APP opens up a new directory structure from inside it with all the phyton payloads all automatically done for you and the user.

Uploaded files:
  • You need to login to have access to uploads.
dglojnar and rasl have reacted to this post.
dglojnarrasl

As I have mentioned in other posts, I recently started programming in Python, and I generate much of my code with Claude.

I am just getting started, but if you need help with some testing, I am available.

Best regards

Kriscall has reacted to this post.
Kriscall

Will be dropping it soon @naglieri still working on it, once I get my FREEBIE store setup in here then I can file all the builds there, stay tuned.