in the jam rules it’s stated that you can use any “game engine,framework,library,or even making your own game engine”. i am also gonna make a game with pygame but to upload it as a python code idk about that ,personally i’m gonna make the game then convert it to exe.(i recommend to convet it to exe because it’s the traditional way :)