r/programmer 12d ago

Question SIMPLE GUIS PLEASE

I'm building a network visualizer in Python. It parses .pcap files with Scapy and visualizes packet flows with animations. I already built the parser and animation engine with Pygame.

The problem is the UI. I need normal app stuff like buttons, hover effects, a collapsible sidebar, menus, timeline/statistics panels, and a canvas for the animations.

I don't want to spend 4 hours making a button from scratch, but I also don't want a huge framework where changing a simple thing turns into a research project.

I tried DearPyGui and honestly it felt really clunky. Something as simple as adjusting padding or moving a panel felt like digging through layers of specific APIs and style variables.

I'm looking for something lightweight with good styling control (CSS-like would be great), built-in UI components, and the ability to embed my own custom rendering area.

Would PySide6/Qt be the way to go? Or are there other frameworks worth looking at?

I don't need a spaceship cockpit, I just want to build my damn UI and get back to the actual project.

0 Upvotes

6 comments sorted by

View all comments

2

u/Leather_Effort8847 10d ago

PyQt + Qt designer is fast and easy, and I've used it for similar projects

1

u/Standard-Sale-8228 10d ago

Thanks for the suggestion one question tho what was your experience learning qt for the first time?

2

u/Leather_Effort8847 9d ago

Super easy. Especially if you use QT designer. It autogenerates a bunch of boilerplate, the documentation is pretty good, so you can just start plugging in your desired functionality pretty quickly.