osu.py 2.3.0__tar.gz → 2.3.2__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.
Files changed (50) hide show
  1. {osu_py-2.3.0 → osu_py-2.3.2}/LICENSE +2 -2
  2. {osu_py-2.3.0/osu.py.egg-info → osu_py-2.3.2}/PKG-INFO +1 -1
  3. {osu_py-2.3.0 → osu_py-2.3.2}/osu/__init__.py +1 -1
  4. {osu_py-2.3.0 → osu_py-2.3.2}/osu/asyncio/client.py +1 -1
  5. {osu_py-2.3.0 → osu_py-2.3.2}/osu/client.py +1 -1
  6. {osu_py-2.3.0 → osu_py-2.3.2}/osu/objects/beatmap.py +1 -0
  7. {osu_py-2.3.0 → osu_py-2.3.2}/osu/objects/beatmapset_event.py +1 -0
  8. {osu_py-2.3.0 → osu_py-2.3.2}/osu/objects/chat.py +0 -19
  9. {osu_py-2.3.0 → osu_py-2.3.2}/osu/objects/notification.py +1 -0
  10. {osu_py-2.3.0 → osu_py-2.3.2/osu.py.egg-info}/PKG-INFO +1 -1
  11. {osu_py-2.3.0 → osu_py-2.3.2}/MANIFEST.in +0 -0
  12. {osu_py-2.3.0 → osu_py-2.3.2}/README.rst +0 -0
  13. {osu_py-2.3.0 → osu_py-2.3.2}/osu/asyncio/__init__.py +0 -0
  14. {osu_py-2.3.0 → osu_py-2.3.2}/osu/asyncio/http.py +0 -0
  15. {osu_py-2.3.0 → osu_py-2.3.2}/osu/auth.py +0 -0
  16. {osu_py-2.3.0 → osu_py-2.3.2}/osu/constants.py +0 -0
  17. {osu_py-2.3.0 → osu_py-2.3.2}/osu/enums.py +0 -0
  18. {osu_py-2.3.0 → osu_py-2.3.2}/osu/exceptions.py +0 -0
  19. {osu_py-2.3.0 → osu_py-2.3.2}/osu/http.py +0 -0
  20. {osu_py-2.3.0 → osu_py-2.3.2}/osu/notification.py +0 -0
  21. {osu_py-2.3.0 → osu_py-2.3.2}/osu/objects/__init__.py +0 -0
  22. {osu_py-2.3.0 → osu_py-2.3.2}/osu/objects/achievement.py +0 -0
  23. {osu_py-2.3.0 → osu_py-2.3.2}/osu/objects/build.py +0 -0
  24. {osu_py-2.3.0 → osu_py-2.3.2}/osu/objects/comment.py +0 -0
  25. {osu_py-2.3.0 → osu_py-2.3.2}/osu/objects/current_user_attributes.py +0 -0
  26. {osu_py-2.3.0 → osu_py-2.3.2}/osu/objects/discussion.py +0 -0
  27. {osu_py-2.3.0 → osu_py-2.3.2}/osu/objects/event.py +0 -0
  28. {osu_py-2.3.0 → osu_py-2.3.2}/osu/objects/forum.py +0 -0
  29. {osu_py-2.3.0 → osu_py-2.3.2}/osu/objects/group.py +0 -0
  30. {osu_py-2.3.0 → osu_py-2.3.2}/osu/objects/kudosu.py +0 -0
  31. {osu_py-2.3.0 → osu_py-2.3.2}/osu/objects/match.py +0 -0
  32. {osu_py-2.3.0 → osu_py-2.3.2}/osu/objects/multiplayer.py +0 -0
  33. {osu_py-2.3.0 → osu_py-2.3.2}/osu/objects/news.py +0 -0
  34. {osu_py-2.3.0 → osu_py-2.3.2}/osu/objects/ranking.py +0 -0
  35. {osu_py-2.3.0 → osu_py-2.3.2}/osu/objects/scope.py +0 -0
  36. {osu_py-2.3.0 → osu_py-2.3.2}/osu/objects/score.py +0 -0
  37. {osu_py-2.3.0 → osu_py-2.3.2}/osu/objects/seasonal_background.py +0 -0
  38. {osu_py-2.3.0 → osu_py-2.3.2}/osu/objects/user.py +0 -0
  39. {osu_py-2.3.0 → osu_py-2.3.2}/osu/objects/wiki.py +0 -0
  40. {osu_py-2.3.0 → osu_py-2.3.2}/osu/path.py +0 -0
  41. {osu_py-2.3.0 → osu_py-2.3.2}/osu/results.py +0 -0
  42. {osu_py-2.3.0 → osu_py-2.3.2}/osu/util.py +0 -0
  43. {osu_py-2.3.0 → osu_py-2.3.2}/osu.py.egg-info/SOURCES.txt +0 -0
  44. {osu_py-2.3.0 → osu_py-2.3.2}/osu.py.egg-info/dependency_links.txt +0 -0
  45. {osu_py-2.3.0 → osu_py-2.3.2}/osu.py.egg-info/requires.txt +0 -0
  46. {osu_py-2.3.0 → osu_py-2.3.2}/osu.py.egg-info/top_level.txt +0 -0
  47. {osu_py-2.3.0 → osu_py-2.3.2}/pyproject.toml +0 -0
  48. {osu_py-2.3.0 → osu_py-2.3.2}/requirements.txt +0 -0
  49. {osu_py-2.3.0 → osu_py-2.3.2}/setup.cfg +0 -0
  50. {osu_py-2.3.0 → osu_py-2.3.2}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2021-present Sheepposu
3
+ Copyright (c) 2024 Sheppsu
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
21
+ SOFTWARE.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: osu.py
3
- Version: 2.3.0
3
+ Version: 2.3.2
4
4
  Summary: API Wrapper for osu!api v2 written in Python.
5
5
  Home-page: https://github.com/Sheepposu/osu.py
6
6
  Author: Sheepposu
@@ -14,4 +14,4 @@ from .util import (
14
14
  from .results import *
15
15
 
16
16
 
17
- __version__ = "2.3.0"
17
+ __version__ = "2.3.2"
@@ -1493,7 +1493,7 @@ class AsynchronousClient:
1493
1493
  res = await self.http.make_request(Path.get_users(), **{"ids[]": ids})
1494
1494
  return list(map(UserCompact, res["users"]))
1495
1495
 
1496
- async def lookup_users(self, users: list[int, str]):
1496
+ async def lookup_users(self, users: List[Union[int, str]]):
1497
1497
  """
1498
1498
  Lookup users by a mix of user ids and usernames.
1499
1499
  Can lookup maximum 50 at a time.
@@ -1468,7 +1468,7 @@ class Client:
1468
1468
  res = self.http.make_request(Path.get_users(), **{"ids[]": ids})
1469
1469
  return list(map(UserCompact, res["users"]))
1470
1470
 
1471
- def lookup_users(self, users: list[int, str]):
1471
+ def lookup_users(self, users: List[Union[int, str]]):
1472
1472
  """
1473
1473
  Lookup users by a mix of user ids and usernames.
1474
1474
  Can lookup maximum 50 at a time.
@@ -591,6 +591,7 @@ class BeatmapDifficultyAttributes:
591
591
 
592
592
  mode_attributes: Optional[Union[:class:`OsuBeatmapDifficultyAttributes`, :class:`TaikoBeatmapDifficultyAttributes`,
593
593
  :class:`FruitsBeatmapDifficultyAttributes`, :class:`ManiaBeatmapDifficultyAttributes`]]
594
+
594
595
  Can be none for some beatmaps that are bugged and have no difficulty attributes.
595
596
 
596
597
  type: Optional[:class:`GameModeStr`]
@@ -27,6 +27,7 @@ class BeatmapsetEventComment:
27
27
  :class:`BeatmapsetEventNominationReset`, :class:`BeatmapsetEventNominationResetReceived`,
28
28
  :class:`BeatmapsetEventGenreEdit`, :class:`BeatmapsetEventLanguageEdit`, :class:`BeatmapsetEventNsfwToggle`,
29
29
  :class:`BeatmapsetEventOffsetEdit`, :class:`BeatmapsetEventBeatmapOwnerChange`]
30
+
30
31
  The type of this attribute depends on the type of the BeatmapsetEvent object.
31
32
  """
32
33
 
@@ -27,25 +27,6 @@ class ChatChannel:
27
27
  display icon for the channel
28
28
 
29
29
  type: :class:`ChatChannelType`
30
- Below are the channel types and their permission checks for joining/messaging:
31
- PUBLIC
32
- None
33
- PRIVATE
34
- is player in the allowed groups? (channel.allowed_groups)
35
- MULTIPLAYER
36
- is player currently in the mp game?
37
- SPECTATOR
38
- None
39
- TEMPORARY
40
- deprecated
41
- PM
42
- For PMs, two factors are taken into account:
43
- Is either user blocking the other? If so, deny.
44
- Does the target only accept PMs from friends? Is the current user a friend? If not, deny.
45
- GROUP
46
- is player in channel? (user_channels)
47
- ANNOUNCE
48
- is user in the announce group?
49
30
 
50
31
  moderated: :class:`bool`
51
32
  user can't send message when the value is `True`
@@ -49,6 +49,7 @@ class Notification:
49
49
  :class:`ForumTopicReplyDetails`, :class:`UserAchievementUnlockDetails`,
50
50
  :class:`UserBeatmapsetNewDetails`, :class:`UserBeatmapsetReviveDetails`
51
51
  ]
52
+
52
53
  Details of the notification.
53
54
 
54
55
  **Documented event names and their attribute meanings**
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: osu.py
3
- Version: 2.3.0
3
+ Version: 2.3.2
4
4
  Summary: API Wrapper for osu!api v2 written in Python.
5
5
  Home-page: https://github.com/Sheepposu/osu.py
6
6
  Author: Sheepposu
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
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
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
File without changes
File without changes