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.2.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.2-py3-none-any.whl (27.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: chaos_box-0.3.2.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.2.tar.gz
Algorithm Hash digest
SHA256 4a6114205fd7a33ab6f750194a074edf0e21a70261bc306ad68dbe4a56350cb7
MD5 087ff162f296b9eecacabcf7b21daf7a
BLAKE2b-256 7ee408104a2bb75ff85b4ce435b674c1500fc1ba9082469c00cdedc9bc717864

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: chaos_box-0.3.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a326a4b3dc062c67a803ba20ec6a4c55e308e71f58d2aea7f417d9067126f24f
MD5 63261a32ed7d0c19d341a63ba19a46af
BLAKE2b-256 9b9db00d0e1ad429ff3286b0e5149525c2d467e8b0f66439031bdcfa1ecaa18c

See more details on using hashes here.

Provenance

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