ultimate_osu_analyzer icon indicating copy to clipboard operation
ultimate_osu_analyzer copied to clipboard

Publish to PyPi

Open ribbanya opened this issue 5 years ago • 3 comments

Hi, I'd like to be able to use code from this repository in another project. For now, using a git submodule suits my needs, but it would be nice if I could just pip install it (or ideally, parts of it). I'm not quite familiar enough with Python or with your codebase to do it myself.

ribbanya avatar Aug 30 '20 14:08 ribbanya

It's going to be a while till any of the code is ready to be put in pip. I am currently rewriting the analysis portion, fixing misc bugs all around, and making unit tests, that being a multi month effort in of itself.

What portions are you looking to use?

abraker95 avatar Aug 30 '20 16:08 abraker95

It's going to be a while till any of the code is ready to be put in pip. I am currently rewriting the analysis portion, fixing misc bugs all around, and making unit tests, that being a multi month effort in of itself.

That's okay, no rush.

What portions are you looking to use?

The replay/beatmap I/O, StdScoreData, maybe some other stuff.

ribbanya avatar Aug 30 '20 16:08 ribbanya

replay/beatmap I/O is going to remain the same.

StdScoreData is going to change from what is now. It is going to be using pandas instead of numpy and format will look like:

      replay_t     map_t   replay_x  ...  type  action  map_idx
0       7570.0    7591.0  405.66670  ...   0.0     1.0      0.0
1       8346.0    8341.0  381.00000  ...   0.0     1.0      1.0
2       9076.0    9091.0  325.66670  ...   0.0     1.0      2.0
3       9836.0    9841.0  249.66670  ...   0.0     1.0      3.0
4      10575.0   10591.0   70.33334  ...   0.0     1.0      4.0
       ...       ...        ...  ...   ...     ...      ...
1567  217296.0  216841.0        NaN  ...   3.0     0.0   1447.0
1568  217678.0  217216.0        NaN  ...   3.0     0.0   1448.0
1569  218046.0  217591.0        NaN  ...   3.0     0.0   1449.0
1570  220407.0  220403.0  257.00000  ...   0.0     1.0   1450.0
1571  220945.0  220591.0  348.33330  ...   1.0     3.0   1450.0

abraker95 avatar Aug 31 '20 00:08 abraker95