from osuRepy.frame import ReplayFrame # ReplayFrame from osuRepy.replay import Replay # Replay instance from osuRepy.helpers import osuButtons, osuMods # Enum helpers replay = Replay() # Create replay instance replay.load("replay.osr") replay.save("test.osr")