p123client 0.0.6.6__tar.gz → 0.0.6.7__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.
- {p123client-0.0.6.6 → p123client-0.0.6.7}/PKG-INFO +2 -2
- {p123client-0.0.6.6 → p123client-0.0.6.7}/p123client/client.py +9 -9
- {p123client-0.0.6.6 → p123client-0.0.6.7}/p123client/tool/__init__.py +3 -3
- {p123client-0.0.6.6 → p123client-0.0.6.7}/pyproject.toml +2 -2
- {p123client-0.0.6.6 → p123client-0.0.6.7}/LICENSE +0 -0
- {p123client-0.0.6.6 → p123client-0.0.6.7}/p123client/__init__.py +0 -0
- {p123client-0.0.6.6 → p123client-0.0.6.7}/p123client/const.py +0 -0
- {p123client-0.0.6.6 → p123client-0.0.6.7}/p123client/exception.py +0 -0
- {p123client-0.0.6.6 → p123client-0.0.6.7}/p123client/py.typed +0 -0
- {p123client-0.0.6.6 → p123client-0.0.6.7}/p123client/type.py +0 -0
- {p123client-0.0.6.6 → p123client-0.0.6.7}/readme.md +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: p123client
|
3
|
-
Version: 0.0.6.
|
3
|
+
Version: 0.0.6.7
|
4
4
|
Summary: Python 123 webdisk client.
|
5
5
|
Home-page: https://github.com/ChenyangGao/p123client
|
6
6
|
License: MIT
|
@@ -31,7 +31,7 @@ Requires-Dist: python-filewrap (>=0.2.6.1)
|
|
31
31
|
Requires-Dist: python-hashtools (>=0.0.3.3)
|
32
32
|
Requires-Dist: python-http_request (>=0.0.7)
|
33
33
|
Requires-Dist: python-httpfile (>=0.0.5)
|
34
|
-
Requires-Dist: python-iterutils (>=0.2)
|
34
|
+
Requires-Dist: python-iterutils (>=0.2.4.1)
|
35
35
|
Requires-Dist: python-property (>=0.0.3)
|
36
36
|
Requires-Dist: yarl
|
37
37
|
Project-URL: Repository, https://github.com/ChenyangGao/p123client
|
@@ -374,7 +374,7 @@ class P123OpenClient:
|
|
374
374
|
check_response(resp)
|
375
375
|
self.token = resp["data"]["accessToken"]
|
376
376
|
return resp
|
377
|
-
return run_gen_step(gen_step, async_
|
377
|
+
return run_gen_step(gen_step, async_)
|
378
378
|
|
379
379
|
@overload
|
380
380
|
@staticmethod
|
@@ -2860,7 +2860,7 @@ class P123OpenClient:
|
|
2860
2860
|
"duplicate": duplicate,
|
2861
2861
|
"slice_size": slice_size,
|
2862
2862
|
}) from e
|
2863
|
-
return run_gen_step(gen_step, async_
|
2863
|
+
return run_gen_step(gen_step, async_)
|
2864
2864
|
|
2865
2865
|
@overload
|
2866
2866
|
def share_create(
|
@@ -4216,7 +4216,7 @@ class P123OpenClient:
|
|
4216
4216
|
"duplicate": duplicate,
|
4217
4217
|
"slice_size": slice_size,
|
4218
4218
|
}) from e
|
4219
|
-
return run_gen_step(gen_step, async_
|
4219
|
+
return run_gen_step(gen_step, async_)
|
4220
4220
|
|
4221
4221
|
@overload
|
4222
4222
|
def user_info(
|
@@ -4418,7 +4418,7 @@ class P123Client(P123OpenClient):
|
|
4418
4418
|
check_response(resp)
|
4419
4419
|
self.token = resp["data"]["token"]
|
4420
4420
|
return resp
|
4421
|
-
return run_gen_step(gen_step, async_
|
4421
|
+
return run_gen_step(gen_step, async_)
|
4422
4422
|
|
4423
4423
|
@overload
|
4424
4424
|
@staticmethod
|
@@ -4551,7 +4551,7 @@ class P123Client(P123OpenClient):
|
|
4551
4551
|
async_=async_,
|
4552
4552
|
**request_kwargs,
|
4553
4553
|
)
|
4554
|
-
return run_gen_step(gen_step, async_
|
4554
|
+
return run_gen_step(gen_step, async_)
|
4555
4555
|
|
4556
4556
|
@overload
|
4557
4557
|
def download_info_batch(
|
@@ -4712,7 +4712,7 @@ class P123Client(P123OpenClient):
|
|
4712
4712
|
)
|
4713
4713
|
check_response(resp)
|
4714
4714
|
return resp["data"]["downloadUrl"]
|
4715
|
-
return run_gen_step(gen_step, async_
|
4715
|
+
return run_gen_step(gen_step, async_)
|
4716
4716
|
|
4717
4717
|
@overload
|
4718
4718
|
def fs_copy(
|
@@ -4788,7 +4788,7 @@ class P123Client(P123OpenClient):
|
|
4788
4788
|
async_=async_,
|
4789
4789
|
**request_kwargs,
|
4790
4790
|
)
|
4791
|
-
return run_gen_step(gen_step, async_
|
4791
|
+
return run_gen_step(gen_step, async_)
|
4792
4792
|
|
4793
4793
|
@overload
|
4794
4794
|
def fs_detail(
|
@@ -7102,7 +7102,7 @@ class P123Client(P123OpenClient):
|
|
7102
7102
|
async_=async_,
|
7103
7103
|
**request_kwargs,
|
7104
7104
|
)
|
7105
|
-
return run_gen_step(gen_step, async_
|
7105
|
+
return run_gen_step(gen_step, async_)
|
7106
7106
|
|
7107
7107
|
@overload
|
7108
7108
|
def upload_file_fast(
|
@@ -7263,7 +7263,7 @@ class P123Client(P123OpenClient):
|
|
7263
7263
|
async_=async_,
|
7264
7264
|
**request_kwargs,
|
7265
7265
|
)
|
7266
|
-
return run_gen_step(gen_step, async_
|
7266
|
+
return run_gen_step(gen_step, async_)
|
7267
7267
|
|
7268
7268
|
@overload
|
7269
7269
|
def user_info(
|
@@ -73,7 +73,7 @@ def make_uri(
|
|
73
73
|
size = info["Size"]
|
74
74
|
s3_key_flag = info["S3KeyFlag"]
|
75
75
|
return f"123://{name}|{size}|{md5}?{s3_key_flag}"
|
76
|
-
return run_gen_step(gen_step, async_
|
76
|
+
return run_gen_step(gen_step, async_)
|
77
77
|
|
78
78
|
|
79
79
|
@overload
|
@@ -213,7 +213,7 @@ def get_downurl(
|
|
213
213
|
resp = yield client.download_info(payload, async_=async_, **request_kwargs)
|
214
214
|
check_response(resp)
|
215
215
|
return resp["data"]["DownloadUrl"]
|
216
|
-
return run_gen_step(gen_step, async_
|
216
|
+
return run_gen_step(gen_step, async_)
|
217
217
|
|
218
218
|
|
219
219
|
@overload
|
@@ -333,7 +333,7 @@ def _iterdir(
|
|
333
333
|
break
|
334
334
|
if next_id := resp["data"]["Next"]:
|
335
335
|
payload["next"] = next_id
|
336
|
-
return run_gen_step_iter(gen_step, async_
|
336
|
+
return run_gen_step_iter(gen_step, async_)
|
337
337
|
|
338
338
|
|
339
339
|
@overload
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "p123client"
|
3
|
-
version = "0.0.6.
|
3
|
+
version = "0.0.6.7"
|
4
4
|
description = "Python 123 webdisk client."
|
5
5
|
authors = ["ChenyangGao <wosiwujm@gmail.com>"]
|
6
6
|
license = "MIT"
|
@@ -37,7 +37,7 @@ python-encode_uri = ">=0.0.3"
|
|
37
37
|
python-property = ">=0.0.3"
|
38
38
|
python-hashtools = ">=0.0.3.3"
|
39
39
|
python-httpfile = ">=0.0.5"
|
40
|
-
python-iterutils = ">=0.2"
|
40
|
+
python-iterutils = ">=0.2.4.1"
|
41
41
|
python-filewrap = ">=0.2.6.1"
|
42
42
|
python-http_request = ">=0.0.7"
|
43
43
|
yarl = "*"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|