Skip to main content

An osu! Mania PP and star rating calculator.

Project description

🎹 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

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for maniera, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size maniera-1.0.0-py3-none-any.whl (16.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size maniera-1.0.0.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page