Skip to main content

chaos-box

GitHub Actions Workflow Status PyPI - Downloads PyPI - Version Ask DeepWiki

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: 将文件重命名为"YYYY-mm-dd-filename.ext"格式, 默认 dry-run 预览, 使用 --apply 实际执行.
  • deb-extract: 解压指定的 .deb 包到同名目录, 支持删除已解压目录.
  • halfwidth: 将文本文件中的全角标点符号转换为半角标点, 支持原地修改.
  • iconv8: 批量将文本文件转为 UTF-8 编码, 自动检测原编码, 支持指定输出目录和强制覆盖, 默认 dry-run 预览, 使用 --apply 实际执行.
  • ifstats: 显示各网卡流量和包计数, 可用正则过滤网卡名称.
  • ipmerge: 合并并去重输入文件或标准输入中的 IP 地址段, 支持二进制/补零输出.
  • qbt-dump: 导出 .torrent 和 qBittorrent .fastresume 文件内容为 JSON 格式.
  • qbt-migrate: 基于正则批量替换 qBittorrent BT_backup 中 .fastresume 文件的 save_path 和 qBt-category, 支持按 auto_managed/private 条件过滤, 默认 dry-run 预览, 使用 --apply 实际执行.
  • qbt-tracker: 批量修改 qBittorrent 中 tracker urls, 支持按分类/标签/名称 (glob/regex) 过滤种子, regex 替换 tracker urls, 默认 dry-run 预览, 使用 --apply 实际执行.
  • qrcode-split: 将任意文本或二进制文件拆分为一系列 QR code 图片, 支持断点续传和并行处理.
  • qrcode-merge: 将由 qrcode-split 拆分的 QR code 图片合并还原为原文件, 支持并行处理.
  • rotate-images: 批量生成旋转头像动画 (GIF/MP4), 支持方向, 帧率, 裁剪等参数.
  • shasum-list: 递归计算指定目录下所有文件的哈希值, 支持多种算法和 .gitignore 忽略.
  • urlencode: 对输入文本进行 URL 编码或解码, 支持文件或标准输入.

Metadata

Release files for chaos-box 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for chaos-box 0.6.0
File Size Uploaded
chaos_box-0.6.0.tar.gz 137.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for chaos-box 0.6.0
File Interpreter ABI Platform
chaos_box-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 171.8 kB

Release files / chaos_box-0.6.0.tar.gz

Download URL chaos_box-0.6.0.tar.gz
Size 137.5 kB
Tags Source
SHA-256 checksum
How to use checksums
086ed926fc4ac09aef048fd2db1c62357e8be2656acc02b3345f09d1cf30840a
BLAKE2b-256 checksum
How to use checksums
5d7e2363aff32d7d99f11755b1bc1d3faa334202065d89a7b3f5f0621614716e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 28, 2026.

Transparency log

Release files / chaos_box-0.6.0-py3-none-any.whl

Download URL chaos_box-0.6.0-py3-none-any.whl
Size 34.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
318784934eb1ee3dc5dca4ea1e225a0eb00cc0bd0da6b53c55048ad2b93d87de
BLAKE2b-256 checksum
How to use checksums
5bcd3d704951f7becfd7ed9f99ec8b790487b37f8fe1a98781ee0ab02dc89952
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 28, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page