Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish to PyPi #34

Open
ribbanya opened this issue Aug 30, 2020 · 3 comments
Open

Publish to PyPi #34

ribbanya opened this issue Aug 30, 2020 · 3 comments

Comments

@ribbanya
Copy link

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.

@abraker95
Copy link
Owner

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?

@ribbanya
Copy link
Author

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.

@abraker95
Copy link
Owner

abraker95 commented Aug 31, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants