🦉 yyds-update
yyds-update 用于一键安装和升级官方 yyds 软件包。软件包目录由工具维护,因此即使某个官方包尚未安装,也会在确认后自动安装。
安装
python -m pip install -U yyds-update
本地开发时:
python -m pip install -e .
使用
直接运行会检查可更新的软件包,确认后开始升级:
yyds-update
常用命令:
# 查看官方软件包目录与本地安装状态
yyds-update list
# 仅检查哪些包可以升级,不作修改
yyds-update check
# 网络较慢时可缩短单次网络等待时间(默认 5 秒,且不会重试)
yyds-update check --timeout 3
# 跳过确认,一键升级所有可升级的软件包
yyds-update update --yes
# 查看将要执行的命令,不作修改
yyds-update update --dry-run
yyds-update 与 yyds_update 两种命令写法均可使用。
工具始终调用运行它的 Python 解释器对应的
python -m pip,因此在虚拟环境中使用时只会操作该虚拟环境。官方软件包目录位于yyds_update/packages.py;新增官方包时只需在该列表添加名称。
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
yyds_update-0.1.1.tar.gz
(7.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file yyds_update-0.1.1.tar.gz.
File metadata
- Download URL: yyds_update-0.1.1.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd2a0333163b4bb1ce0151e821d270df915ab3b50286c47f3def9656888908e1
|
|
| MD5 |
105492cedee5d85dff3eb7568fea1ca5
|
|
| BLAKE2b-256 |
2d344dc12795c2e60986e8db05b5c21817d9bf68fb24a7300922692ad98cc8ee
|
File details
Details for the file yyds_update-0.1.1-py3-none-any.whl.
File metadata
- Download URL: yyds_update-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b7224d15ba9d9b4b472288ba4dd6910ff7be2b4ce997a6985f791be02ee3461
|
|
| MD5 |
483b84cf6d65c9052ec468c06afc7496
|
|
| BLAKE2b-256 |
16366e2f5bacb500a2ecf223a15ce879e4dc48e4ccbf63d5c3631381a1978540
|