When comparing pyglet vs Twine, the Slant community recommends Twine for most people. In the question“What are the best 2D game engines?” Twine is ranked 38th while pyglet is ranked 43rd. The most important reason people chose Twine is:
The basics are very easy to grasp, and you can have a basic story up in minutes.
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 Easy to understand
The basics are very easy to grasp, and you can have a basic story up in minutes.
Pro Free for commercial projects
Twine is based on a GPL licence. You are free to download, modify and publish derivatives - even commercially.
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 Limited to interactive fiction
Twine is specialized to decision-based interactive fiction. Under the hood, a Twine game is just a flowchart for page transitions; the only way to add more complex behavior is to code it from scratch in JavaScript.