Skip to main content

Collection of handy utils written in Python 3

Project description

chaos-box

Collection of handy utils written in Python 3

install

推荐使用 pipx 安装本项目,

# install from PyPI
pipx install chaos-box

# install from Test PyPI
pipx install chaos-box \
    --index-url https://test.pypi.org/simple/ \
    --pip-args "--extra-index-url https://pypi.org/simple/"

tools

所有命令行工具都可以使用 -h--help 查看帮助信息, 下面是简要说明,

  • archive-dirs: 列举当前目录下所有文件夹, 批量将文件夹创建为同名压缩档, 支持多种压缩档格式
  • archive-mobi: 一个将 vol.moe 下载的 mobi 漫画文件转换为多种压缩档格式的小工具, 很久没用了, 可能缺乏维护
  • deb-extract: 列举当前目录下所有 .deb package 并解压到同名目录
  • merge-ip-ranges: 从标准输入或文件中读取 IP addresses 并对其合并与去重
  • netstats: 显示各网卡开机以来流量和 packet 计数, 可以使用 regex 过滤网卡名称
  • pconv: 将文件中出现的全角标点符号转换为半角标点符号
  • qbt-dump: 导出 .torrent 和 qBittorrent .fastresume 文件内容
  • qbt-migrate: 迁移 qBittorrent BT_backup 目录中的 save_path 和 qBt-category
  • qrcode-merge: 将 qrcode-split 拆分后的文件合并为原文件
  • qrcode-split: 将任意 text 或 binary 文件拆分成一系列 QR code 文件
  • rename-with-date: 将目录中特定后缀的文件重命名为 mtime 日期前缀
  • rotate-images: 创建 .mp4 或 .gif 格式的可以旋转的头像
  • shasum-list: 计算特定目录下所有文件的 hexdigest 并保存到文件中, 支持忽略 .gitignore
  • sort-keys: 读取 .json 文件后对 dict 执行 sort_keys 后保存
  • urlencode: 从标准输入或文件中读取文本并进行 urlencode

TODO

  • add zstd support on deb-extract

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

chaos_box-0.3.1.tar.gz (19.4 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.3.1-py3-none-any.whl (27.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for chaos_box-0.3.1.tar.gz
Algorithm Hash digest
SHA256 202245b59c56ae952ced0ad5e5c21f3b11313daa9452a3c7cd680dd45f62a632
MD5 f99429246502d2915a6a45b91c685984
BLAKE2b-256 410f0995e4dc63583b56f4bbcffff340e6ebf036be1f3408329345a53dc5475b

See more details on using hashes here.

Provenance

The following attestation bundles were made for chaos_box-0.3.1.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.3.1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for chaos_box-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d8496405903fbed04cb500655902eb3889b6a604aae9212c858ec3775424c796
MD5 d498a293c937c5584aba695f3f643a84
BLAKE2b-256 d6aa23373eee1af12016047230c14c14df0731d4740adbbf05c575a51f8875d0

See more details on using hashes here.

Provenance

The following attestation bundles were made for chaos_box-0.3.1-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.

Supported by

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