p115client 0.0.5.12.2.1__tar.gz → 0.0.5.12.2.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 (28) hide show
  1. {p115client-0.0.5.12.2.1 → p115client-0.0.5.12.2.2}/PKG-INFO +1 -1
  2. p115client-0.0.5.12.2.2/p115/__init__.py +4 -0
  3. {p115client-0.0.5.12.2.1 → p115client-0.0.5.12.2.2}/p115client/client.py +1 -0
  4. {p115client-0.0.5.12.2.1 → p115client-0.0.5.12.2.2}/pyproject.toml +4 -1
  5. {p115client-0.0.5.12.2.1 → p115client-0.0.5.12.2.2}/LICENSE +0 -0
  6. {p115client-0.0.5.12.2.1 → p115client-0.0.5.12.2.2}/p115client/__init__.py +0 -0
  7. {p115client-0.0.5.12.2.1 → p115client-0.0.5.12.2.2}/p115client/_upload.py +0 -0
  8. {p115client-0.0.5.12.2.1 → p115client-0.0.5.12.2.2}/p115client/const.py +0 -0
  9. {p115client-0.0.5.12.2.1 → p115client-0.0.5.12.2.2}/p115client/exception.py +0 -0
  10. {p115client-0.0.5.12.2.1 → p115client-0.0.5.12.2.2}/p115client/py.typed +0 -0
  11. {p115client-0.0.5.12.2.1 → p115client-0.0.5.12.2.2}/p115client/tool/__init__.py +0 -0
  12. {p115client-0.0.5.12.2.1 → p115client-0.0.5.12.2.2}/p115client/tool/attr.py +0 -0
  13. {p115client-0.0.5.12.2.1 → p115client-0.0.5.12.2.2}/p115client/tool/auth.py +0 -0
  14. {p115client-0.0.5.12.2.1 → p115client-0.0.5.12.2.2}/p115client/tool/download.py +0 -0
  15. {p115client-0.0.5.12.2.1 → p115client-0.0.5.12.2.2}/p115client/tool/edit.py +0 -0
  16. {p115client-0.0.5.12.2.1 → p115client-0.0.5.12.2.2}/p115client/tool/export_dir.py +0 -0
  17. {p115client-0.0.5.12.2.1 → p115client-0.0.5.12.2.2}/p115client/tool/fs_files.py +0 -0
  18. {p115client-0.0.5.12.2.1 → p115client-0.0.5.12.2.2}/p115client/tool/history.py +0 -0
  19. {p115client-0.0.5.12.2.1 → p115client-0.0.5.12.2.2}/p115client/tool/iterdir.py +0 -0
  20. {p115client-0.0.5.12.2.1 → p115client-0.0.5.12.2.2}/p115client/tool/life.py +0 -0
  21. {p115client-0.0.5.12.2.1 → p115client-0.0.5.12.2.2}/p115client/tool/offline.py +0 -0
  22. {p115client-0.0.5.12.2.1 → p115client-0.0.5.12.2.2}/p115client/tool/pool.py +0 -0
  23. {p115client-0.0.5.12.2.1 → p115client-0.0.5.12.2.2}/p115client/tool/request.py +0 -0
  24. {p115client-0.0.5.12.2.1 → p115client-0.0.5.12.2.2}/p115client/tool/upload.py +0 -0
  25. {p115client-0.0.5.12.2.1 → p115client-0.0.5.12.2.2}/p115client/tool/util.py +0 -0
  26. {p115client-0.0.5.12.2.1 → p115client-0.0.5.12.2.2}/p115client/tool/xys.py +0 -0
  27. {p115client-0.0.5.12.2.1 → p115client-0.0.5.12.2.2}/p115client/type.py +0 -0
  28. {p115client-0.0.5.12.2.1 → p115client-0.0.5.12.2.2}/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.1
3
+ Version: 0.0.5.12.2.2
4
4
  Summary: Python 115 webdisk client.
5
5
  Home-page: https://github.com/ChenyangGao/p115client
6
6
  License: MIT
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env python3
2
+ # encoding: utf-8
3
+
4
+ __import__("sys").modules["p115"] = __import__("p115client")
@@ -23060,3 +23060,4 @@ with temp_globals():
23060
23060
 
23061
23061
  # TODO: 提供一个可随时终止和暂停的上传功能,并且可以输出进度条和获取进度
23062
23062
  # TODO: 更新一下,p115client._upload,做更多的封装,至少让断点续传更易于使用
23063
+ # TODO: 支持对接口调用进行频率统计,默认就会开启,配置项目:1. 允许记录多少条或者多大时间窗口,默认记录最近 10 条(无限时间窗口) 2. 可以设置一个 key 函数,默认用 (url, method) 为 key 3. 数据和统计由单独的对象来承载,就行 headers 和 cookies 属性那样,可以被随意查看,这个对象由各种配置项目,可以随意修改,client初始化时候支持传入此对象 4. 可以修改时间窗口和数量限制 5. 可以获取数据,就像字典一样使用 dict[key, list[timestamp]] 6. 有一些做好的统计方法,你也可以自己来执行统计 7. 即使有些历史数据被移除,有些统计方法可以持续更新,覆盖从早到现在的所有数据,比如 加总、计数
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "p115client"
3
- version = "0.0.5.12.2.1"
3
+ version = "0.0.5.12.2.2"
4
4
  description = "Python 115 webdisk client."
5
5
  authors = ["ChenyangGao <wosiwujm@gmail.com>"]
6
6
  license = "MIT"
@@ -61,3 +61,6 @@ build-backend = "poetry.core.masonry.api"
61
61
 
62
62
  [[tool.poetry.packages]]
63
63
  include = "p115client"
64
+
65
+ [[tool.poetry.packages]]
66
+ include = "p115"