When comparing pyglet vs raylib, the Slant community recommends raylib for most people. In the question“What are the best 2D game engines?” raylib is ranked 36th while pyglet is ranked 43rd. The most important reason people chose raylib is:
Very good for begginers who are looking for game FRAMEWORKS.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro 3D support
Since pyglet is so tightly woven with OpenGL it allows the support of drawing in 3D.
Pro Cross-platform
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.
Pro Simple
Very good for begginers who are looking for game FRAMEWORKS.
Pro Support forum
Though it's a small project, it has a forum on the webpage with helpful content available.
Cons
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.
Con Just coding
Lack of an interface, visual help or auto-debugging could make it difficult to use for a complete beginner.