Skip to content

NiceAesth/maniera

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I SUGGEST YOU TAKE A LOOK AT MY OTHER PROJECT aiosu WHICH NOW HAS ALL MODE PP CALCULATION

🎹 Maniera

osu! Mania PP calculator written in Python.

Written with ❤️ by Nice Aesthetics. Based on ompp-web

Installation:

pip install maniera

Maniera is supposed to work on Python 3+ versions

Example Usage:

from maniera.calculator import Maniera

# 64 = DT (https://github.com/ppy/osu-api/wiki#mods)
# Maniera(path, modnum, score)
calc = Maniera('beatmap.osu', 64, 800000)
calc.calculate()

print(f"{round(calc.pp, 2)} PP - {round(calc.sr, 2)} Stars")

Output:

564.36 PP - 8.16 Stars

Releases

No releases published

Packages

No packages published

Languages