When comparing pyglet vs Phaser.io, the Slant community recommends Phaser.io for most people. In the question“What are the best 2D game engines?” Phaser.io is ranked 10th while pyglet is ranked 39th.
Ranked in these QuestionsQuestion Ranking
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 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 Support for Arcade Physics, Ninja Physics and p2.js
Pro Good tutorials, courses and books
There are plenty of great learning resources available for Phaser.io.
Pro Very fast to develop with
Pro Super-simple loading of assets
Pro Great community resources
Pro Easy to learn
Pro Animating is easy
Pro Excellent tools for sprites
Pro Built-in Arcade Particle system
Pro No install required
All you need to do is attach Phaser script to a HTML page even without installing any extensions.
Pro WebGL and Canvas rendering modes
You can choose WebGL or classic HTML canvas element for game rendering
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 Poor performance
As long as your map is not larger than 600*400px, everything is fine.