PyGame is fine, similar to löve2D or other frameworks (Raylib wasn't mentioned), though think about the workflow of exporting to itch and web in advance. Though not using an engine is a significant cost, everything is generally slower.