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


Download files

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

Source Distribution

maniera-1.0.2.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distribution

maniera-1.0.2-py3-none-any.whl (16.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page