pygame is an engine
Typically the word “engine” is only used when the framework includes a scene graph and development tools. PyGame has neither, so it’s a library, which is what they call it on their website.