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 编码或解码, 支持文件或标准输入.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chaos_box-0.6.0.tar.gz (137.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chaos_box-0.6.0-py3-none-any.whl (34.4 kB view details)

Uploaded Python 3

File details

Details for the file chaos_box-0.6.0.tar.gz.

File metadata

  • Download URL: chaos_box-0.6.0.tar.gz
  • Upload date:
  • Size: 137.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for chaos_box-0.6.0.tar.gz
Algorithm Hash digest
SHA256 086ed926fc4ac09aef048fd2db1c62357e8be2656acc02b3345f09d1cf30840a
MD5 1d790854066438d34854295aa2c5d33f
BLAKE2b-256 5d7e2363aff32d7d99f11755b1bc1d3faa334202065d89a7b3f5f0621614716e

See more details on using hashes here.

Provenance

The following attestation bundles were made for chaos_box-0.6.0.tar.gz:

Publisher: publish-to-pypi.yaml on ak1ra-lab/chaos-box

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chaos_box-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: chaos_box-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 34.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for chaos_box-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 318784934eb1ee3dc5dca4ea1e225a0eb00cc0bd0da6b53c55048ad2b93d87de
MD5 064fd66ee1c35787c006706c11a15efe
BLAKE2b-256 5bcd3d704951f7becfd7ed9f99ec8b790487b37f8fe1a98781ee0ab02dc89952

See more details on using hashes here.

Provenance

The following attestation bundles were made for chaos_box-0.6.0-py3-none-any.whl:

Publisher: publish-to-pypi.yaml on ak1ra-lab/chaos-box

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 files

0.5.0

2 files

0.4.0

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page