NiceAesth / maniera

osu! Mania PP calculator written in Python.

Home Page:https://pypi.org/project/maniera/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

osu! Mania PP calculator written in Python.

https://pypi.org/project/maniera/

License:GNU General Public License v3.0


Languages

Language:Python 100.0%