Small python osu-tools version, for rapidly developing pp systems.
Using slider to parse osu files.
./setup
./setup
./venv/scripts/activate
python .\main.py --calculator bucket_v1 bancho --api-key <key> osu 1199528
To develop a new pp calculator, follow the steps below.
calculators
folder.__init__.py
file in the folder.MyCalc.py
. Make sure you inherit BaseCalculator
and only customize calculate_pp
. An example is in XexxarCalc.py
calculators/__init__.py
, add your calculator to the calculators
list by giving it a name and the class name.Thats it. You can now call your calculator by providing the --calculator
flag, e.g. python .\main.py --calculator MyCalc file --beatmap .\osu_files\2520047.osu
.
Xexxar's PP calc currently differentiates the following skills: