Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Package to calculate star rating of any osu beatmap with any mod combination.
Updated on: 19.02.2021
calculated star ratings may be varying slightly from original values (margin of 0.01)
from osu_sr_calculator import calculateStarRating
starRating = calculateStarRating(returnAllDifficultyValues, filepath, map_id, mods, allCombinations)
calculateStarRating method accepts these parameters:
starRating = calculateStarRating(filepath='path/to/file.osu')
# Response: { 'nomod': x.xxxx }
starRating = calculateStarRating(map_id=123456, mods=['DT'])
# Response: { 'DT': x.xxxx }
starRatings = calculateStarRating(filepath='path/to/file.osu', allCombinations=True)
# Response:
# {
# nomod: x.xxxx,
# DT: x.xxxx,
# HT: x.xxxx,
# HR: x.xxxx,
# HRDT: x.xxxx,
# HRHT: x.xxxx,
# EZ: x.xxxx,
# EZDT: x.xxxx,
# EZHT: x.xxxx,
# }
starRatings = calculateStarRating(filepath='path/to/file.osu', returnAllDifficultyValues=True)
# Response:
# {
# nomod: {
# aim: x.xxxx,
# speed: x.xxxx,
# total: x.xxxx,
# }
# }
FAQs
MrHelix's osu! star rating calculator rewritten for your Python needs
We found that osu-sr-calculator demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.