Collection of handy utils written in Python 3
Project description
chaos-box
Collection of handy utils written in Python 3
install
推荐使用 uv 安装本项目,
# install from PyPI
uv tool install chaos-box
# install from Test PyPI
uv tool install chaos-box \
--index https://test.pypi.org/simple \
--default-index https://pypi.org/simple
tools
所有命令行工具都可以使用 -h 或 --help 查看帮助信息, 下面是简要说明:
apt-lists: 统计/var/lib/apt/lists目录下各仓库的包数量, 可按名称或包数量排序.archive-dirs: 批量将当前目录下所有文件夹压缩为同名归档文件, 支持多种压缩格式.date-rename: 将文件重命名为"最后修改日期-原文件名"格式, 支持 dry-run.deb-extract: 批量解压当前目录下所有.deb包到同名目录, 支持删除已解压目录.halfwidth: 将文本文件中的全角标点符号转换为半角标点, 支持原地修改.iconv8: 批量将文本文件转为 UTF-8 编码, 自动检测原编码, 支持输出目录和覆盖选项.ifstats: 显示各网卡流量和包计数, 可用正则过滤网卡名称.ipmerge: 合并并去重输入文件或标准输入中的 IP 地址段, 支持二进制/补零输出.qbt-dump: 导出.torrent和 qBittorrent.fastresume文件内容为 JSON 格式.qbt-migrate: 批量迁移 qBittorrent BT_backup 目录中的 save_path 和 qBt-category, 支持条件过滤和 dry-run.qbt-tracker: 批量修改 qBittorrent 中 tracker urls, 支持 glob/regex 过滤 torrent.name, regex 替换 tracker urls.qrcode-merge: 将由qrcode-split拆分的 QR code 图片合并还原为原文件, 支持并行处理.qrcode-split: 将任意文本或二进制文件拆分为一系列 QR code 图片, 支持断点续传和并行处理.rotate-images: 批量生成旋转头像动画 (GIF/MP4), 支持方向, 帧率, 裁剪等参数.shasum-list: 递归计算指定目录下所有文件的哈希值, 支持多种算法和 .gitignore 忽略.urlencode: 对输入文本进行 URL 编码或解码, 支持文件或标准输入.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 chaos_box-0.5.0.tar.gz.
File metadata
- Download URL: chaos_box-0.5.0.tar.gz
- Upload date:
- Size: 118.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
537d96a982214ee8930fee70989a988da3f7c5bdfecacbcdaf5147cb12c98bc7
|
|
| MD5 |
9f3f70e54f8c8cf68d9a4c28a167ba10
|
|
| BLAKE2b-256 |
c8ab2cfca75506bf317cc76aeac6c3f3953c680969bd7690811acade8feb5a3b
|
Provenance
The following attestation bundles were made for chaos_box-0.5.0.tar.gz:
Publisher:
publish-to-pypi.yaml on ak1ra-lab/chaos-box
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chaos_box-0.5.0.tar.gz -
Subject digest:
537d96a982214ee8930fee70989a988da3f7c5bdfecacbcdaf5147cb12c98bc7 - Sigstore transparency entry: 681896153
- Sigstore integration time:
-
Permalink:
ak1ra-lab/chaos-box@e8ddb30e0726fc751da1af95c21e27f2ab44dfcb -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/ak1ra-lab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yaml@e8ddb30e0726fc751da1af95c21e27f2ab44dfcb -
Trigger Event:
push
-
Statement type:
File details
Details for the file chaos_box-0.5.0-py3-none-any.whl.
File metadata
- Download URL: chaos_box-0.5.0-py3-none-any.whl
- Upload date:
- Size: 33.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0dc3a2ab8f39159c4dbce35d3c3078f08a9f844d81f1dd0d2630610b5a6e61e7
|
|
| MD5 |
b01dde29631424c654b0f1dc8bc56382
|
|
| BLAKE2b-256 |
91b0af2bd806b3b35c9cca8cf0e4b6b1ddafdce9cefa6cacacede5b29a5f6cd4
|
Provenance
The following attestation bundles were made for chaos_box-0.5.0-py3-none-any.whl:
Publisher:
publish-to-pypi.yaml on ak1ra-lab/chaos-box
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chaos_box-0.5.0-py3-none-any.whl -
Subject digest:
0dc3a2ab8f39159c4dbce35d3c3078f08a9f844d81f1dd0d2630610b5a6e61e7 - Sigstore transparency entry: 681896304
- Sigstore integration time:
-
Permalink:
ak1ra-lab/chaos-box@e8ddb30e0726fc751da1af95c21e27f2ab44dfcb -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/ak1ra-lab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yaml@e8ddb30e0726fc751da1af95c21e27f2ab44dfcb -
Trigger Event:
push
-
Statement type: