When comparing Dear PyGui vs pyglet, the Slant community recommends Dear PyGui for most people. In the question“What are the best Python GUI frameworks/toolkits?” Dear PyGui is ranked 5th while pyglet is ranked 8th.
Ranked in these QuestionsQuestion Ranking
Pro Easy to use
Even while it's in beta, there's a ton of stuff that can be done with this framework.
Pro Helpful and responsive community
Pro Great performance
It's fast and responsive due to being written in C++, using the GPU and it is asynchronous by default.
Pro Smooth and easy to scale with a project
Pro Permissive MIT license
Pro Pythonic API
Despite originating from C/C++, DPG is the most Pythonic framework out there.
Pro Open source
Pro No GUI lag
GUI and Python API run at separate thread automatically!
Pro 3D support
Since pyglet is so tightly woven with OpenGL it allows the support of drawing in 3D.
Works with Windows, Linux, and OS X.
Pro Written in pure Python
A small advantage, but being a core Python developer, it may be the best to stick to the roots and develop with pyglet as it is able to compile using other Python interpreters.
Con Community is still very small
Con Small community/popularity
There is a decent amount of documentation and API to go along with pyglet, but in terms of community support there seems to be very little.