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.

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

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page