Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 847f9c5175 | |||
| d6aaa9d5df | |||
| 5692dc1548 | |||
| 4b2f5f5ba7 | |||
| 068f538643 | |||
| b1b647d1ea | |||
| fdd668da2b | |||
| 618c33486d | |||
| cc222094b6 | |||
| c881e301a4 |
Generated
+3
-3
@@ -4,12 +4,12 @@ version = 3
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "akatsuki-pp"
|
name = "akatsuki-pp"
|
||||||
version = "0.9.4"
|
version = "0.9.6"
|
||||||
source = "git+https://github.com/osuAkatsuki/akatsuki-pp-rs?rev=764da0dbf42ed80441acf99d070aaedabaed4b75#764da0dbf42ed80441acf99d070aaedabaed4b75"
|
source = "git+https://github.com/osuAkatsuki/akatsuki-pp-rs?rev=5c97207f25cf9fd07252dca1ba68d785e2147ce1#5c97207f25cf9fd07252dca1ba68d785e2147ce1"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "akatsuki-pp-py"
|
name = "akatsuki-pp-py"
|
||||||
version = "0.9.4"
|
version = "1.0.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"akatsuki-pp",
|
"akatsuki-pp",
|
||||||
"pyo3",
|
"pyo3",
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "akatsuki-pp-py"
|
name = "akatsuki-pp-py"
|
||||||
version = "0.9.6"
|
version = "1.0.2"
|
||||||
description = "osu! difficulty and pp calculation for all modes"
|
description = "osu! difficulty and pp calculation for all modes"
|
||||||
authors = ["Max Ohn <ohn.m@hotmail.de>", "tsunyoku <tsunyoku@gmail.com>"]
|
authors = ["Max Ohn <ohn.m@hotmail.de>", "tsunyoku <tsunyoku@gmail.com>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
@@ -12,7 +12,7 @@ crate-type = ["cdylib"]
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
pyo3 = { version = "0.17", features = ["extension-module", "macros"] }
|
pyo3 = { version = "0.17", features = ["extension-module", "macros"] }
|
||||||
akatsuki-pp = { git = "https://github.com/osuAkatsuki/akatsuki-pp-rs", rev = "764da0dbf42ed80441acf99d070aaedabaed4b75" }
|
akatsuki-pp = { git = "https://github.com/osuAkatsuki/akatsuki-pp-rs", rev = "d6b4cbb90d12e06fa7b9405d87b9922e08522775" }
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
lto = "fat"
|
lto = "fat"
|
||||||
|
|||||||
+162
-54
@@ -233,19 +233,45 @@ class BeatmapAttributes:
|
|||||||
`'n_spinners': int`
|
`'n_spinners': int`
|
||||||
Amount of spinners
|
Amount of spinners
|
||||||
"""
|
"""
|
||||||
ar: float
|
|
||||||
cs: float
|
@property
|
||||||
hp: float
|
def ar(self) -> float: ...
|
||||||
od: float
|
|
||||||
ar_hit_window: float
|
@property
|
||||||
od_hit_window: float
|
def cs(self) -> float: ...
|
||||||
clock_rate: float
|
|
||||||
bpm: float
|
@property
|
||||||
mode: int
|
def hp(self) -> float: ...
|
||||||
version: int
|
|
||||||
n_circles: int
|
@property
|
||||||
n_sliders: int
|
def od(self) -> float: ...
|
||||||
n_spinners: int
|
|
||||||
|
@property
|
||||||
|
def ar_hit_window(self) -> float: ...
|
||||||
|
|
||||||
|
@property
|
||||||
|
def od_hit_window(self) -> float: ...
|
||||||
|
|
||||||
|
@property
|
||||||
|
def clock_rate(self) -> float: ...
|
||||||
|
|
||||||
|
@property
|
||||||
|
def bpm(self) -> float: ...
|
||||||
|
|
||||||
|
@property
|
||||||
|
def mode(self) -> int: ...
|
||||||
|
|
||||||
|
@property
|
||||||
|
def version(self) -> int: ...
|
||||||
|
|
||||||
|
@property
|
||||||
|
def n_circles(self) -> int: ...
|
||||||
|
|
||||||
|
@property
|
||||||
|
def n_sliders(self) -> int: ...
|
||||||
|
|
||||||
|
@property
|
||||||
|
def n_spinners(self) -> int: ...
|
||||||
|
|
||||||
|
|
||||||
class DifficultyAttributes:
|
class DifficultyAttributes:
|
||||||
@@ -299,27 +325,69 @@ class DifficultyAttributes:
|
|||||||
`'n_tiny_droplets': Optional[int]`
|
`'n_tiny_droplets': Optional[int]`
|
||||||
Amount of tiny droplets (C)
|
Amount of tiny droplets (C)
|
||||||
"""
|
"""
|
||||||
mode: int
|
|
||||||
stars: float
|
@property
|
||||||
max_combo: int
|
def mode(self) -> int: ...
|
||||||
aim: Optional[float]
|
|
||||||
speed: Optional[float]
|
@property
|
||||||
flashlight: Optional[float]
|
def stars(self) -> float: ...
|
||||||
slider_factor: Optional[float]
|
|
||||||
speed_note_count: Optional[float]
|
@property
|
||||||
ar: Optional[float]
|
def max_combo(self) -> int: ...
|
||||||
od: Optional[float]
|
|
||||||
n_circles: Optional[int]
|
@property
|
||||||
n_sliders: Optional[int]
|
def aim(self) -> Optional[float]: ...
|
||||||
n_spinners: Optional[int]
|
|
||||||
stamina: Optional[float]
|
@property
|
||||||
color: Optional[float]
|
def speed(self) -> Optional[float]: ...
|
||||||
rhythm: Optional[float]
|
|
||||||
peak: Optional[float]
|
@property
|
||||||
hit_window: Optional[float]
|
def flashlight(self) -> Optional[float]: ...
|
||||||
n_fruits: Optional[int]
|
|
||||||
n_droplets: Optional[int]
|
@property
|
||||||
n_tiny_droplets: Optional[int]
|
def slider_factor(self) -> Optional[float]: ...
|
||||||
|
|
||||||
|
@property
|
||||||
|
def speed_note_count(self) -> Optional[float]: ...
|
||||||
|
|
||||||
|
@property
|
||||||
|
def ar(self) -> Optional[float]: ...
|
||||||
|
|
||||||
|
@property
|
||||||
|
def od(self) -> Optional[float]: ...
|
||||||
|
|
||||||
|
@property
|
||||||
|
def n_circles(self) -> Optional[int]: ...
|
||||||
|
|
||||||
|
@property
|
||||||
|
def n_sliders(self) -> Optional[int]: ...
|
||||||
|
|
||||||
|
@property
|
||||||
|
def n_spinners(self) -> Optional[int]: ...
|
||||||
|
|
||||||
|
@property
|
||||||
|
def stamina(self) -> Optional[float]: ...
|
||||||
|
|
||||||
|
@property
|
||||||
|
def color(self) -> Optional[float]: ...
|
||||||
|
|
||||||
|
@property
|
||||||
|
def rhythm(self) -> Optional[float]: ...
|
||||||
|
|
||||||
|
@property
|
||||||
|
def peak(self) -> Optional[float]: ...
|
||||||
|
|
||||||
|
@property
|
||||||
|
def hit_window(self) -> Optional[float]: ...
|
||||||
|
|
||||||
|
@property
|
||||||
|
def n_fruits(self) -> Optional[int]: ...
|
||||||
|
|
||||||
|
@property
|
||||||
|
def n_droplets(self) -> Optional[int]: ...
|
||||||
|
|
||||||
|
@property
|
||||||
|
def n_tiny_droplets(self) -> Optional[int]: ...
|
||||||
|
|
||||||
|
|
||||||
class PerformanceAttributes:
|
class PerformanceAttributes:
|
||||||
@@ -349,15 +417,33 @@ class PerformanceAttributes:
|
|||||||
`'pp_difficulty': Optional[float]`
|
`'pp_difficulty': Optional[float]`
|
||||||
Difficulty based portion of the performance points (T, M)
|
Difficulty based portion of the performance points (T, M)
|
||||||
"""
|
"""
|
||||||
mode: int
|
|
||||||
pp: float
|
@property
|
||||||
difficulty: DifficultyAttributes
|
def mode(self) -> int: ...
|
||||||
pp_acc: Optional[float]
|
|
||||||
pp_aim: Optional[float]
|
@property
|
||||||
pp_speed: Optional[float]
|
def pp(self) -> float: ...
|
||||||
pp_flashlight: Optional[float]
|
|
||||||
effective_miss_count: Optional[float]
|
@property
|
||||||
pp_difficulty: Optional[float]
|
def difficulty(self) -> DifficultyAttributes: ...
|
||||||
|
|
||||||
|
@property
|
||||||
|
def pp_acc(self) -> Optional[float]: ...
|
||||||
|
|
||||||
|
@property
|
||||||
|
def pp_aim(self) -> Optional[float]: ...
|
||||||
|
|
||||||
|
@property
|
||||||
|
def pp_speed(self) -> Optional[float]: ...
|
||||||
|
|
||||||
|
@property
|
||||||
|
def pp_flashlight(self) -> Optional[float]: ...
|
||||||
|
|
||||||
|
@property
|
||||||
|
def effective_miss_count(self) -> Optional[float]: ...
|
||||||
|
|
||||||
|
@property
|
||||||
|
def pp_difficulty(self) -> Optional[float]: ...
|
||||||
|
|
||||||
|
|
||||||
class Strains:
|
class Strains:
|
||||||
@@ -391,14 +477,36 @@ class Strains:
|
|||||||
`'strains': Optional[List[float]]`
|
`'strains': Optional[List[float]]`
|
||||||
Strain values (M)
|
Strain values (M)
|
||||||
"""
|
"""
|
||||||
mode: int
|
|
||||||
section_len: float
|
@property
|
||||||
aim: Optional[List[float]]
|
def mode(self) -> int: ...
|
||||||
aim_no_sliders: Optional[List[float]]
|
|
||||||
speed: Optional[List[float]]
|
@property
|
||||||
flashlight: Optional[List[float]]
|
def section_len(self) -> float: ...
|
||||||
color: Optional[List[float]]
|
|
||||||
stamina: Optional[List[float]]
|
@property
|
||||||
rhythm: Optional[List[float]]
|
def aim(self) -> Optional[List[float]]: ...
|
||||||
movement: Optional[List[float]]
|
|
||||||
strains: Optional[List[float]]
|
@property
|
||||||
|
def aim_no_sliders(self) -> Optional[List[float]]: ...
|
||||||
|
|
||||||
|
@property
|
||||||
|
def speed(self) -> Optional[List[float]]: ...
|
||||||
|
|
||||||
|
@property
|
||||||
|
def flashlight(self) -> Optional[List[float]]: ...
|
||||||
|
|
||||||
|
@property
|
||||||
|
def color(self) -> Optional[List[float]]: ...
|
||||||
|
|
||||||
|
@property
|
||||||
|
def stamina(self) -> Optional[List[float]]: ...
|
||||||
|
|
||||||
|
@property
|
||||||
|
def rhythm(self) -> Optional[List[float]]: ...
|
||||||
|
|
||||||
|
@property
|
||||||
|
def movement(self) -> Optional[List[float]]: ...
|
||||||
|
|
||||||
|
@property
|
||||||
|
def strains(self) -> Optional[List[float]]: ...
|
||||||
|
|||||||
+5
-2
@@ -4,7 +4,7 @@ build-backend = "maturin"
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "akatsuki-pp-py"
|
name = "akatsuki-pp-py"
|
||||||
version = "0.9.6"
|
version = "1.0.2"
|
||||||
requires-python = ">=3.7"
|
requires-python = ">=3.7"
|
||||||
description = "osu! difficulty and pp calculation for all modes"
|
description = "osu! difficulty and pp calculation for all modes"
|
||||||
classifiers = [
|
classifiers = [
|
||||||
@@ -17,7 +17,10 @@ classifiers = [
|
|||||||
"Programming Language :: Python :: Implementation :: PyPy",
|
"Programming Language :: Python :: Implementation :: PyPy",
|
||||||
]
|
]
|
||||||
packages = [{ include = "akatsuki_pp_py" }]
|
packages = [{ include = "akatsuki_pp_py" }]
|
||||||
authors = [{ name = "Max Ohn", email = "ohn.m@hotmail.de" }, { name = "tsunyoku", email = "tsunyoku@gmail.com" }]
|
authors = [
|
||||||
|
{ name = "Max Ohn", email = "ohn.m@hotmail.de" },
|
||||||
|
{ name = "tsunyoku", email = "tsunyoku@gmail.com" },
|
||||||
|
]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
license = { file = "LICENSE" }
|
license = { file = "LICENSE" }
|
||||||
repository = "https://github.com/osuAkatsuki/akatsuki-pp-py"
|
repository = "https://github.com/osuAkatsuki/akatsuki-pp-py"
|
||||||
|
|||||||
Reference in New Issue
Block a user