Socket
Socket
Sign inDemoInstall

maniera

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

maniera

An osu! Mania PP and star rating calculator.


Maintainers
1

🎹 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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc