yaylib 1.5.2__tar.gz → 1.5.3.dev1__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 (26) hide show
  1. {yaylib-1.5.2 → yaylib-1.5.3.dev1}/PKG-INFO +9 -8
  2. {yaylib-1.5.2 → yaylib-1.5.3.dev1}/pyproject.toml +9 -10
  3. {yaylib-1.5.2 → yaylib-1.5.3.dev1}/yaylib/__init__.py +1 -1
  4. {yaylib-1.5.2 → yaylib-1.5.3.dev1}/yaylib/errors.py +2 -0
  5. {yaylib-1.5.2 → yaylib-1.5.3.dev1}/LICENSE +0 -0
  6. {yaylib-1.5.2 → yaylib-1.5.3.dev1}/README.md +0 -0
  7. {yaylib-1.5.2 → yaylib-1.5.3.dev1}/yaylib/api/__init__.py +0 -0
  8. {yaylib-1.5.2 → yaylib-1.5.3.dev1}/yaylib/api/auth.py +0 -0
  9. {yaylib-1.5.2 → yaylib-1.5.3.dev1}/yaylib/api/call.py +0 -0
  10. {yaylib-1.5.2 → yaylib-1.5.3.dev1}/yaylib/api/chat.py +0 -0
  11. {yaylib-1.5.2 → yaylib-1.5.3.dev1}/yaylib/api/group.py +0 -0
  12. {yaylib-1.5.2 → yaylib-1.5.3.dev1}/yaylib/api/misc.py +0 -0
  13. {yaylib-1.5.2 → yaylib-1.5.3.dev1}/yaylib/api/notification.py +0 -0
  14. {yaylib-1.5.2 → yaylib-1.5.3.dev1}/yaylib/api/post.py +0 -0
  15. {yaylib-1.5.2 → yaylib-1.5.3.dev1}/yaylib/api/review.py +0 -0
  16. {yaylib-1.5.2 → yaylib-1.5.3.dev1}/yaylib/api/thread.py +0 -0
  17. {yaylib-1.5.2 → yaylib-1.5.3.dev1}/yaylib/api/user.py +0 -0
  18. {yaylib-1.5.2 → yaylib-1.5.3.dev1}/yaylib/client.py +0 -0
  19. {yaylib-1.5.2 → yaylib-1.5.3.dev1}/yaylib/config.py +0 -0
  20. {yaylib-1.5.2 → yaylib-1.5.3.dev1}/yaylib/constants.py +0 -0
  21. {yaylib-1.5.2 → yaylib-1.5.3.dev1}/yaylib/device.py +0 -0
  22. {yaylib-1.5.2 → yaylib-1.5.3.dev1}/yaylib/models.py +0 -0
  23. {yaylib-1.5.2 → yaylib-1.5.3.dev1}/yaylib/responses.py +0 -0
  24. {yaylib-1.5.2 → yaylib-1.5.3.dev1}/yaylib/state.py +0 -0
  25. {yaylib-1.5.2 → yaylib-1.5.3.dev1}/yaylib/utils.py +0 -0
  26. {yaylib-1.5.2 → yaylib-1.5.3.dev1}/yaylib/ws.py +0 -0
@@ -1,21 +1,22 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.3
2
2
  Name: yaylib
3
- Version: 1.5.2
3
+ Version: 1.5.3.dev1
4
4
  Summary: 同世代と趣味の通話コミュニティ - Yay! (イェイ) で投稿やタイムラインの取得、リツイートやいいねの実行、フォローや投稿の検索など様々な機能をPythonプログラムから利用可能なAPIクライアントツールです。
5
- Home-page: https://github.com/ekkx/yaylib
6
5
  License: MIT
7
6
  Keywords: yay,yaylib,api,bot,tool,client,library,wrapper,ボット,ライブラリ,ツール
8
7
  Author: ekkx
9
8
  Author-email: nikola.desuga@gmail.com
10
- Requires-Python: >=3.10,<3.12
9
+ Requires-Python: >=3.10,<3.14
11
10
  Classifier: License :: OSI Approved :: MIT License
12
11
  Classifier: Programming Language :: Python :: 3
13
12
  Classifier: Programming Language :: Python :: 3.10
14
13
  Classifier: Programming Language :: Python :: 3.11
15
- Requires-Dist: aiohttp (==3.9.5)
16
- Requires-Dist: cryptography (==41.0.1)
17
- Requires-Dist: pillow (==9.3.0)
18
- Requires-Dist: poetry-version-plugin (>=0.2.0,<0.3.0)
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Requires-Dist: aiohttp (>=3.11.0,<4.0.0)
17
+ Requires-Dist: cryptography (>=44.0.0,<45.0.0)
18
+ Requires-Dist: pillow (>=11.2.0,<12.0.0)
19
+ Project-URL: Homepage, https://github.com/ekkx/yaylib
19
20
  Project-URL: Repository, https://github.com/ekkx/yaylib
20
21
  Description-Content-Type: text/markdown
21
22
 
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "yaylib"
3
- version = "0.0.0"
3
+ version = "1.5.3.dev1"
4
4
  description = "同世代と趣味の通話コミュニティ - Yay! (イェイ) で投稿やタイムラインの取得、リツイートやいいねの実行、フォローや投稿の検索など様々な機能をPythonプログラムから利用可能なAPIクライアントツールです。"
5
5
  authors = ["ekkx <nikola.desuga@gmail.com>"]
6
6
  license = "MIT"
@@ -22,17 +22,16 @@ keywords = [
22
22
  ]
23
23
 
24
24
  [tool.poetry.dependencies]
25
- python = ">=3.10,<3.12"
26
- aiohttp = "3.9.5"
27
- pillow = "9.3.0"
28
- cryptography = "41.0.1"
29
- poetry-version-plugin = "^0.2.0"
25
+ python = ">=3.10,<3.14"
26
+ aiohttp = "^3.11.0"
27
+ pillow = "^11.2.0"
28
+ cryptography = "^44.0.0"
30
29
 
31
30
  [tool.poetry.group.dev.dependencies]
32
- sphinx = "*"
33
- shibuya = "*"
34
- sphinx_copybutton = "*"
35
- sphinx-design = "*"
31
+ sphinx = "8.0.2"
32
+ shibuya = "2024.8.21"
33
+ sphinx_copybutton = "0.5.2"
34
+ sphinx-design = "0.6.1"
36
35
 
37
36
  [tool.poetry-version-plugin]
38
37
  source = "init"
@@ -23,7 +23,7 @@ __copyright__ = "Copyright (c) 2023 ekkx"
23
23
  # 1.0.0rc1 Release Candidate
24
24
  # 1.0.0 Final Release
25
25
  # 1.0.0.post1 Post Release
26
- __version__ = "1.5.2"
26
+ __version__ = "1.5.3.dev1"
27
27
 
28
28
  from .client import Client
29
29
  from .constants import *
@@ -863,6 +863,8 @@ async def raise_for_status(response: aiohttp.ClientResponse):
863
863
  raise HTTPForbiddenError(response)
864
864
  case 404:
865
865
  raise HTTPNotFoundError(response)
866
+ case 429:
867
+ raise HTTPRateLimitError(response)
866
868
  case status if status >= 500:
867
869
  raise HTTPInternalServerError(response)
868
870
  case status if status and not 200 <= status < 300:
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