se_ossutil
阿里云 OSS 命令行工具,支持交互式 shell、分片上传/下载。
安装
pip install se-ossutil
# or
pip install -i https://pypi.org/simple se-ossutil==0.2.3
使用
# 登录(自动识别团队 seen-e-model / seen-e-system 与用户名)
se_ossutil login
# 退出登录(删除本地配置)
se_ossutil logout
# 未登录时提示登录;已登录时显示帮助
se_ossutil
# 交互 shell(启动后进入用户主目录)
se_ossutil shell
# 非交互 cli(适合 AI agent;默认在用户主目录下)
se_ossutil cli ls
se_ossutil cli ls test/
se_ossutil cli pwd
se_ossutil cli whoami
se_ossutil cli mkdir demo/
se_ossutil cli rm -f demo/
# 上传 / 下载
se_ossutil upload ./local.mp4 oss://bucket/prefix/
se_ossutil download oss://bucket/prefix/file.mp4 ./local.mp4
Shell / cli 命令
上传和下载在终端中固定显示两行:总进度(大小、已完成文件数)和当前文件(百分比、速度、预计剩余时间)。长路径自动截断,结束只输出一次汇总;失败重试会额外提示。进度写入 stderr,重定向时自动使用低频纯文本日志。
下载进度包含分片内已读取字节,仍保留 SDK 的断点续传和 CRC 校验。上传进度沿用 SDK 的分片完成回调,可能跳跃更新;等待期间仅刷新耗时,不推算已传字节。剩余时间按近期速度估算。
ls [path]— 列出目录cd <path>— 切换目录(仅交互 shell)pwd [path]— 显示完整 OSS 路径whoami— 显示当前用户(team/username)mkdir <dir>— 创建目录rm [-f] <name>— 删除(交互 shell 默认需确认;cli必须加-f)exit/quit— 退出(仅交互 shell)
默认仅在自己的主目录({team}/{username}/)下有完整权限,其余目录通常仅有读权限。
依赖
- Python >= 3.10
- oss2
开发与发版
- CHANGELOG.md — 版本变更记录
- RELEASE.md — PyPI 发版步骤
Metadata
Release files for se-ossutil 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| se_ossutil-0.2.3.tar.gz | 19.4 kB | Without provenance | Details for se_ossutil-0.2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| se_ossutil-0.2.3-py3-none-any.whl | Python 3 | none | any | Details for se_ossutil-0.2.3-py3-none-any.whl |
Total release size: 43.2 kB
Release files / se_ossutil-0.2.3.tar.gz
| Download URL | se_ossutil-0.2.3.tar.gz |
|---|---|
| Size | 19.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6be469a50442e44e0932e10b46d78de56875818759ccab2dbe92a0694acda39e
|
|
BLAKE2b-256 checksum How to use checksums |
a05c3c35853a75bf4a800ede7f2d6f7313b694d820fb0f10d2c8a66a4826da5b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Release files / se_ossutil-0.2.3-py3-none-any.whl
| Download URL | se_ossutil-0.2.3-py3-none-any.whl |
|---|---|
| Size | 23.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a684d77a24916b2d136d6d223f4ce003eb44f44d5910ad3d6f7ed4b388078626
|
|
BLAKE2b-256 checksum How to use checksums |
d04d3cf368ddf3254bda3d984565f2e6565e72b50abfd5e3f20666536c95220e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Security for se-ossutil 0.2.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.