Alipcs-py

Latest version: v0.8.1

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

Scan your dependencies

Page 3 of 4

0.4.0

Breaking Changes

- 下面几个 api 都增加了参数 `part_number`。

- `AliPCS.create_file`
- `AliPCS.prepare_file`
- `AliPCSApi.create_file`
- `AliPCSApi.prepare_file`

`part_number` 指明上传的该文件需要分几次上传。
这个参数需要用户自己计算出来。一般用 `ceiling(上传文件大小 / 单个上传分片大小)`,其中一般 `单个上传分片大小` 建议为 `80MB`。

Fixed

- 修复上传大于 100G 的文件失败的问题。 (4)
- 修复播出路径出错的问题。

0.3.4

Fixed

- 修复删除用户错误。 (3)

0.3.3

Updated

- 更新 `AliPCS.meta` api。

0.3.2

Added

- `listsharedlinks` 命令支持分页。

Changed

- 在下载和上传时,让调用者去初始化进度条。

Fixed

- 修复不完整上传错误。
- 修复上传时创建多个同名目录的问题。
- 修复同步失败的问题。
- 修复 `ls`, `download`, `play`, `search` 中 `--include-regex` 选项。

Updated

- 更新依赖。

0.3.1

Fixed

- 修复同步命令(`sync`)错误。
- 修复下载连接过期的问题。

Added

- 删除命令(`remove`)支持`--file-id`参数。

0.3.0

Added

- 支持保存分享连接至本地

可以将他人分享了连接保存至本地,而不需要保存在网盘。这只作为一个记录。在需要是提供查看搜索功能。

使用这个功能,需要使用者在本地配置文件(`~/.alipcs-py/config.toml`)中配置:

toml
[share]
store = true


提供以下命令:

| 命令 | 描述 |
| ------------------ | ---------------------------- |
| storesharedlinks | 保存分享连接至本地 |
| listsharedlinks | 显示本地保存的分享连接 |
| listsharedfiles | 显示本地保存的分享文件 |
| findsharedlinks | 查找本地保存的分享连接 |
| findsharedfiles | 查找本地保存的分享文件 |
| findshared | 查找本地保存的分享连接和文件 |
| deletestoredshared | 删除本地保存的分享连接或文件 |
| cleanstore | 清理本地保存的无效分享连接 |

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.