- Calculation of the proportion of bursts and streams relative to the total number of notes
- Beatmap clustering
- Identification of frequently occurring patterns
from beatmapyzer import Beatmapyzer
mapper = Beatmapyzer() # Load from a directory containing .osz files
mapper = Beatmapyzer().loader('example/path/to/files', isOsz=True)
# Similarly for .osu files
mapper = Beatmapyzer().loader('example/path/to/files')
# If you need to overwrite existing data
mapper = Beatmapyzer().loader('example/path/to/files', clear=True)If the .osu file data is already loaded into memory as bytes or a list of bytes list[bytes]:
mapper = Beatmapyzer().parse(maps, clear=True)You can access beatmaps to get basic information for all maps:
print(new_map.beatmaps[0]['title']) # Prints the title of the first map in the list