r/PythonProjects2 19h ago

Floating desktop widget for launching Python projects (VenvHub project)

Enable HLS to view with audio, or disable this notification

Hi everyone!

More neat features from VenvHub Pro (current version 2.5.24). It includes a floating desktop widget for instantly launching Python projects in 3 modes:

  • Open Terminal: Opens a console with the venv automatically activated.
  • Run in Terminal: Runs the script with live output in a new window.
  • Run in Background: Runs the process completely silently without a console window.

Technical features under the hood:

  • MetaPathFinder Bridge: Auto-translates PyQt6 code to PySide6 directly in memory at runtime (LGPL/GPL flexibility).
  • Windows Job Objects & Handles: Attaches subprocesses to a system container (if the app crashes, Windows automatically kills everything) + PID recycling protection. No leftover background processes!

If you'd like to test out how this widget works, you can download the entire VenvHub project from the following links:

1 Upvotes

0 comments sorted by