Alist-sdk

Latest version: v0.30.11

Safety actively analyzes 623343 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.30.11

1. BUGFIX: 从其他站点导入配置时,数据模型错误。
2. BUGFIX: http://localhost:5244 无法正常识别
3. UPDATE: 更新AplistPath.__repl__方法.
4. UPDATE: 更新AlistPath.添加新的方法 set_stat,可以自定义设置stat属性,加快速度。
5. UPDATE: 更新AlistPath.iterdir,在迭代时添加stat数据,加快速度。
6. UPDATE: 更新AlistPath.stat,不再使用/api/fs/get 接口
7. UPDATE: 限制alist_sdk.Client 和 alist_sdk.AsyncClient在多线程和协程中的并发量,默认30.

**Full Changelog**: https://github.com/lee-cq/alist-sdk/compare/0.30.10...0.30.11

0.30.10

1. 现在AlistPath.write_bytes() 支持接收Path对象,读取文件并写入远程
2. UPDATE:path_lib.login_server() 防止重复登陆
3. BUGFIX: AlistPath.exists() 现在引用 re_stat(),以检查最新的状态
4. AlistPath 允许递归创建目录
5. AlistPath.as_download_uri -> get_download_uri, 获取方式更新。
6. BUGFIX: 获取下载URL错误
7. 客户端添加方法:admin_storage_update, admin_storage_delete
8. 现在AlistPath.stat(force=False, retry=1, timeout=0.1): 在默认情况下获取不到文件,对象将会在0.1秒后重试一次.
9. 现在AlistPath.re_stat(retry=1, timeout=1) == stat(True, 1, 1)
10. 现在 tools.config.import_config 将忽略本地存储和任何key=id
11. 当新文件出现在新的存储器中的时候,需要强制刷新list

**Full Changelog**: https://github.com/lee-cq/alist-sdk/compare/0.30.9...0.30.10

0.30.9

0.30.8

AlistPath: 实现relative_to -> str
AlistPath: 实现rename
pydantic类型支持: AbsAlistPathType, AlistPathType
AlistPath: 实现re_stat() 以强制刷新缓存
测试的alist端口更新为5245,防止多个服务冲突。
AlistPath 添加构造器 - from_client

**Full Changelog**: https://github.com/lee-cq/alist-sdk/compare/0.30.6...0.30.9

0.30.6

**Full Changelog**: https://github.com/lee-cq/alist-sdk/compare/0.3.0...0.30.6

[bugfix: Task Stat add 7](https://github.com/lee-cq/alist-sdk/commit/6af6401352e49bd28fe385cd04b9ff796f6b39c4)
[feature: upload can bytes](https://github.com/lee-cq/alist-sdk/commit/d84efb425bd9b1200aae8128dbb4bb5bcf02289c)
[部分实现AlistPath - stat, is_dir, is_file, read*, write*, iterdir, joinpa…](https://github.com/lee-cq/alist-sdk/commit/16844b867ea41496b111ea21cbdc6d787273e009)
[path_lib.AlistPath.as_download_uri() 返回添加签名](https://github.com/lee-cq/alist-sdk/commit/1a68256dbda65e89f93bb4b58dbc691db064e8ff)
[path_lib.AlistPath.read_* 自动跟随重定向,确保读取真实文件内容](https://github.com/lee-cq/alist-sdk/commit/a40eda5ee5f1fa175501e3daa490e6664ea3d401)
[path_lib.AlistPath.write_* 支持as_task参数](https://github.com/lee-cq/alist-sdk/commit/b901f6540f5576e80e0837ad543eacbc04f2684a)

0.3.0

添加tools.ExtraClient

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.