osudroid-api-wrapper 0.0.2__tar.gz → 0.0.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {osudroid_api_wrapper-0.0.2 → osudroid_api_wrapper-0.0.3}/LICENSE +3 -1
- {osudroid_api_wrapper-0.0.2 → osudroid_api_wrapper-0.0.3}/PKG-INFO +4 -2
- {osudroid_api_wrapper-0.0.2 → osudroid_api_wrapper-0.0.3}/pyproject.toml +1 -1
- {osudroid_api_wrapper-0.0.2 → osudroid_api_wrapper-0.0.3}/src/osudroid_api_wrapper/classes/base/beatmap.py +2 -0
- {osudroid_api_wrapper-0.0.2 → osudroid_api_wrapper-0.0.3}/src/osudroid_api_wrapper/classes/replay.py +5 -3
- {osudroid_api_wrapper-0.0.2 → osudroid_api_wrapper-0.0.3}/src/osudroid_api_wrapper/classes/replay_data/replayobjectdata.py +8 -0
- {osudroid_api_wrapper-0.0.2 → osudroid_api_wrapper-0.0.3}/src/osudroid_api_wrapper/structs/profile.py +2 -2
- {osudroid_api_wrapper-0.0.2 → osudroid_api_wrapper-0.0.3}/src/osudroid_api_wrapper.egg-info/PKG-INFO +4 -2
- {osudroid_api_wrapper-0.0.2 → osudroid_api_wrapper-0.0.3}/setup.cfg +0 -0
- {osudroid_api_wrapper-0.0.2 → osudroid_api_wrapper-0.0.3}/src/osudroid_api_wrapper/__init__.py +0 -0
- {osudroid_api_wrapper-0.0.2 → osudroid_api_wrapper-0.0.3}/src/osudroid_api_wrapper/classes/__init__.py +0 -0
- {osudroid_api_wrapper-0.0.2 → osudroid_api_wrapper-0.0.3}/src/osudroid_api_wrapper/classes/base/__init__.py +0 -0
- {osudroid_api_wrapper-0.0.2 → osudroid_api_wrapper-0.0.3}/src/osudroid_api_wrapper/classes/base/mods.py +0 -0
- {osudroid_api_wrapper-0.0.2 → osudroid_api_wrapper-0.0.3}/src/osudroid_api_wrapper/classes/base/player.py +0 -0
- {osudroid_api_wrapper-0.0.2 → osudroid_api_wrapper-0.0.3}/src/osudroid_api_wrapper/classes/replay_data/cursordata.py +0 -0
- {osudroid_api_wrapper-0.0.2 → osudroid_api_wrapper-0.0.3}/src/osudroid_api_wrapper/classes/replay_data/cursoroccurrence.py +0 -0
- {osudroid_api_wrapper-0.0.2 → osudroid_api_wrapper-0.0.3}/src/osudroid_api_wrapper/classes/replay_data/cursoroccurrencegroup.py +0 -0
- {osudroid_api_wrapper-0.0.2 → osudroid_api_wrapper-0.0.3}/src/osudroid_api_wrapper/classes/replay_data/hitresult.py +0 -0
- {osudroid_api_wrapper-0.0.2 → osudroid_api_wrapper-0.0.3}/src/osudroid_api_wrapper/classes/replay_data/movementtype.py +0 -0
- {osudroid_api_wrapper-0.0.2 → osudroid_api_wrapper-0.0.3}/src/osudroid_api_wrapper/classes/score.py +0 -0
- {osudroid_api_wrapper-0.0.2 → osudroid_api_wrapper-0.0.3}/src/osudroid_api_wrapper/structs/__init__.py +0 -0
- {osudroid_api_wrapper-0.0.2 → osudroid_api_wrapper-0.0.3}/src/osudroid_api_wrapper.egg-info/SOURCES.txt +0 -0
- {osudroid_api_wrapper-0.0.2 → osudroid_api_wrapper-0.0.3}/src/osudroid_api_wrapper.egg-info/dependency_links.txt +0 -0
- {osudroid_api_wrapper-0.0.2 → osudroid_api_wrapper-0.0.3}/src/osudroid_api_wrapper.egg-info/requires.txt +0 -0
- {osudroid_api_wrapper-0.0.2 → osudroid_api_wrapper-0.0.3}/src/osudroid_api_wrapper.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
3
|
+
Copyright (c) 2021 FireRedz
|
|
4
|
+
Copyright (c) 2021 Rian8337
|
|
5
|
+
Copyright (c) 2025 unclem2
|
|
4
6
|
|
|
5
7
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
8
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: osudroid-api-wrapper
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.3
|
|
4
4
|
Summary: Python api wrapper for osu!droid
|
|
5
5
|
Author-email: unclem <mannringyt11@gmail.com>
|
|
6
6
|
License: MIT License
|
|
7
7
|
|
|
8
|
-
Copyright (c)
|
|
8
|
+
Copyright (c) 2021 FireRedz
|
|
9
|
+
Copyright (c) 2021 Rian8337
|
|
10
|
+
Copyright (c) 2025 unclem2
|
|
9
11
|
|
|
10
12
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
11
13
|
of this software and associated documentation files (the "Software"), to deal
|
{osudroid_api_wrapper-0.0.2 → osudroid_api_wrapper-0.0.3}/src/osudroid_api_wrapper/classes/replay.py
RENAMED
|
@@ -192,7 +192,7 @@ class Replay:
|
|
|
192
192
|
|
|
193
193
|
self.replay_obj = javaobj.v2.loads(data_buffer.getvalue())
|
|
194
194
|
|
|
195
|
-
for fields in self.replay_obj[0].
|
|
195
|
+
for fields in self.replay_obj[0].__dict__['field_data'].values():
|
|
196
196
|
for field, value in fields.items():
|
|
197
197
|
if field.name == 'version':
|
|
198
198
|
self.version = value
|
|
@@ -207,7 +207,7 @@ class Replay:
|
|
|
207
207
|
self.hit0, self.score, self.combo) = struct.unpack(">Qiiiiiiii", io.BytesIO(self.replay_obj[4].data).read(40))
|
|
208
208
|
self.username = self.replay_obj[5].value
|
|
209
209
|
|
|
210
|
-
for field in self.replay_obj[6].
|
|
210
|
+
for field in self.replay_obj[6].__dict__['field_data'].values():
|
|
211
211
|
for field, value in field.items():
|
|
212
212
|
if field.name == "elements":
|
|
213
213
|
for element in value:
|
|
@@ -248,10 +248,12 @@ class Replay:
|
|
|
248
248
|
self.__parse_movement_data(replay_data.getvalue())
|
|
249
249
|
print(self.__buffer_offset)
|
|
250
250
|
self.__parse_hitresult_data(replay_data.getvalue())
|
|
251
|
+
|
|
252
|
+
return self
|
|
251
253
|
|
|
252
254
|
def __str__(self):
|
|
253
255
|
string = ""
|
|
254
|
-
for key, value in self.
|
|
256
|
+
for key, value in self.__dict__.items():
|
|
255
257
|
if key == "replay_obj" or key == "replay_file" or key == "cursor_data":
|
|
256
258
|
continue
|
|
257
259
|
|
|
@@ -34,5 +34,13 @@ class ReplayObjectData:
|
|
|
34
34
|
self.tickset:List[bool] = tickset
|
|
35
35
|
self.result:hitresult.HitResult = result
|
|
36
36
|
|
|
37
|
+
@property
|
|
38
|
+
def to_dict(self):
|
|
39
|
+
return {
|
|
40
|
+
"accuracy": self.accuracy,
|
|
41
|
+
"tickset": self.tickset,
|
|
42
|
+
"result": self.result
|
|
43
|
+
}
|
|
44
|
+
|
|
37
45
|
|
|
38
46
|
|
{osudroid_api_wrapper-0.0.2 → osudroid_api_wrapper-0.0.3}/src/osudroid_api_wrapper.egg-info/PKG-INFO
RENAMED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: osudroid-api-wrapper
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.3
|
|
4
4
|
Summary: Python api wrapper for osu!droid
|
|
5
5
|
Author-email: unclem <mannringyt11@gmail.com>
|
|
6
6
|
License: MIT License
|
|
7
7
|
|
|
8
|
-
Copyright (c)
|
|
8
|
+
Copyright (c) 2021 FireRedz
|
|
9
|
+
Copyright (c) 2021 Rian8337
|
|
10
|
+
Copyright (c) 2025 unclem2
|
|
9
11
|
|
|
10
12
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
11
13
|
of this software and associated documentation files (the "Software"), to deal
|
|
File without changes
|
{osudroid_api_wrapper-0.0.2 → osudroid_api_wrapper-0.0.3}/src/osudroid_api_wrapper/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{osudroid_api_wrapper-0.0.2 → osudroid_api_wrapper-0.0.3}/src/osudroid_api_wrapper/classes/score.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|