fuck computers all my boys hate computers
francesco149 / pyttanko Goto Github PK
View Code? Open in Web Editor NEWosu! pp and difficulty calculator, pure python implementation of https://github.com/Francesco149/oppai-ng
License: The Unlicense
osu! pp and difficulty calculator, pure python implementation of https://github.com/Francesco149/oppai-ng
License: The Unlicense
as like oppai-ng does?
remember to fix the TD/DT ambiguity issue in mods_from_str
Hey there, i may or may not remade your code in a more object oriented way.
Would be cool if you can include to the description as a alternative.. (if you like)
Also, another question, im not so active in osu anymore,
i heard there will be another pp rework?
if thats true, are you going to implement it as well into the code, so i may can add it to the python lib.
I've been trying to figure this out, but I can't seem to get it to work.
This returns the pp for score except with nomod but I'd assume it would be with the mods since I declare mods as the number provided by the osu api
stars = pyttanko.diff_calc().calc(bmap)
pp, _, _, _, _ = pyttanko.ppv2(stars.aim, stars.speed, bmap=bmap, mods=int(mods), n300=int(n300), n100=int(n100), n50=int(n50), nmiss=int(nmiss), combo=int(combo))
I thougt maybe doing something like this would work
speed_mul, _, _, _, _ = pyttanko.mods_apply(mods)
stars = pyttanko.diff_calc().calc(bmap, speed_mul)
pp, _, _, _, _ = pyttanko.ppv2(stars.aim, stars.speed, bmap=bmap, mods=int(mods), n300=int(n300), n100=int(n100), n50=int(n50), nmiss=int(nmiss), combo=int(combo))
but that just gives errors
am I missing something not there
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.