p115client 0.0.5.12.2__tar.gz → 0.0.5.12.2.1__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 (27) hide show
  1. {p115client-0.0.5.12.2 → p115client-0.0.5.12.2.1}/PKG-INFO +1 -1
  2. {p115client-0.0.5.12.2 → p115client-0.0.5.12.2.1}/p115client/tool/fs_files.py +6 -6
  3. {p115client-0.0.5.12.2 → p115client-0.0.5.12.2.1}/pyproject.toml +1 -1
  4. {p115client-0.0.5.12.2 → p115client-0.0.5.12.2.1}/LICENSE +0 -0
  5. {p115client-0.0.5.12.2 → p115client-0.0.5.12.2.1}/p115client/__init__.py +0 -0
  6. {p115client-0.0.5.12.2 → p115client-0.0.5.12.2.1}/p115client/_upload.py +0 -0
  7. {p115client-0.0.5.12.2 → p115client-0.0.5.12.2.1}/p115client/client.py +0 -0
  8. {p115client-0.0.5.12.2 → p115client-0.0.5.12.2.1}/p115client/const.py +0 -0
  9. {p115client-0.0.5.12.2 → p115client-0.0.5.12.2.1}/p115client/exception.py +0 -0
  10. {p115client-0.0.5.12.2 → p115client-0.0.5.12.2.1}/p115client/py.typed +0 -0
  11. {p115client-0.0.5.12.2 → p115client-0.0.5.12.2.1}/p115client/tool/__init__.py +0 -0
  12. {p115client-0.0.5.12.2 → p115client-0.0.5.12.2.1}/p115client/tool/attr.py +0 -0
  13. {p115client-0.0.5.12.2 → p115client-0.0.5.12.2.1}/p115client/tool/auth.py +0 -0
  14. {p115client-0.0.5.12.2 → p115client-0.0.5.12.2.1}/p115client/tool/download.py +0 -0
  15. {p115client-0.0.5.12.2 → p115client-0.0.5.12.2.1}/p115client/tool/edit.py +0 -0
  16. {p115client-0.0.5.12.2 → p115client-0.0.5.12.2.1}/p115client/tool/export_dir.py +0 -0
  17. {p115client-0.0.5.12.2 → p115client-0.0.5.12.2.1}/p115client/tool/history.py +0 -0
  18. {p115client-0.0.5.12.2 → p115client-0.0.5.12.2.1}/p115client/tool/iterdir.py +0 -0
  19. {p115client-0.0.5.12.2 → p115client-0.0.5.12.2.1}/p115client/tool/life.py +0 -0
  20. {p115client-0.0.5.12.2 → p115client-0.0.5.12.2.1}/p115client/tool/offline.py +0 -0
  21. {p115client-0.0.5.12.2 → p115client-0.0.5.12.2.1}/p115client/tool/pool.py +0 -0
  22. {p115client-0.0.5.12.2 → p115client-0.0.5.12.2.1}/p115client/tool/request.py +0 -0
  23. {p115client-0.0.5.12.2 → p115client-0.0.5.12.2.1}/p115client/tool/upload.py +0 -0
  24. {p115client-0.0.5.12.2 → p115client-0.0.5.12.2.1}/p115client/tool/util.py +0 -0
  25. {p115client-0.0.5.12.2 → p115client-0.0.5.12.2.1}/p115client/tool/xys.py +0 -0
  26. {p115client-0.0.5.12.2 → p115client-0.0.5.12.2.1}/p115client/type.py +0 -0
  27. {p115client-0.0.5.12.2 → p115client-0.0.5.12.2.1}/readme.md +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: p115client
3
- Version: 0.0.5.12.2
3
+ Version: 0.0.5.12.2.1
4
4
  Summary: Python 115 webdisk client.
5
5
  Home-page: https://github.com/ChenyangGao/p115client
6
6
  License: MIT
@@ -37,7 +37,7 @@ def iter_fs_files(
37
37
  payload: int | str | dict = 0,
38
38
  /,
39
39
  first_page_size: int = 0,
40
- page_size: int = 10_000,
40
+ page_size: int = 7_000,
41
41
  count: int = -1,
42
42
  callback: None | Callable[[dict], Any] = None,
43
43
  app: str = "web",
@@ -53,7 +53,7 @@ def iter_fs_files(
53
53
  payload: int | str | dict = 0,
54
54
  /,
55
55
  first_page_size: int = 0,
56
- page_size: int = 10_000,
56
+ page_size: int = 7_000,
57
57
  count: int = -1,
58
58
  callback: None | Callable[[dict], Any] = None,
59
59
  app: str = "web",
@@ -68,7 +68,7 @@ def iter_fs_files(
68
68
  payload: int | str | dict = 0,
69
69
  /,
70
70
  first_page_size: int = 0,
71
- page_size: int = 10_000,
71
+ page_size: int = 7_000,
72
72
  count: int = -1,
73
73
  callback: None | Callable[[dict], Any] = None,
74
74
  app: str = "web",
@@ -95,7 +95,7 @@ def iter_fs_files(
95
95
  if isinstance(client, str):
96
96
  client = P115Client(client, check_for_relogin=True)
97
97
  if page_size <= 0:
98
- page_size = 10_000
98
+ page_size = 7_000
99
99
  if not isinstance(client, P115Client) or app == "open":
100
100
  page_size = min(page_size, 1150)
101
101
  fs_files = partial(client.fs_files_open, **request_kwargs)
@@ -191,7 +191,7 @@ def iter_fs_files_threaded(
191
191
  if isinstance(client, str):
192
192
  client = P115Client(client, check_for_relogin=True)
193
193
  if page_size <= 0:
194
- page_size = 10_000
194
+ page_size = 7_000
195
195
  if not isinstance(client, P115Client) or app == "open":
196
196
  page_size = min(page_size, 1150)
197
197
  fs_files = partial(client.fs_files_open, **request_kwargs)
@@ -306,7 +306,7 @@ async def iter_fs_files_asynchronized(
306
306
  if isinstance(client, str):
307
307
  client = P115Client(client, check_for_relogin=True)
308
308
  if page_size <= 0:
309
- page_size = 10_000
309
+ page_size = 7_000
310
310
  fs_files: Callable[..., Awaitable[dict]]
311
311
  if not isinstance(client, P115Client) or app == "open":
312
312
  page_size = min(page_size, 1150)
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "p115client"
3
- version = "0.0.5.12.2"
3
+ version = "0.0.5.12.2.1"
4
4
  description = "Python 115 webdisk client."
5
5
  authors = ["ChenyangGao <wosiwujm@gmail.com>"]
6
6
  license = "MIT"