Skip to main content

byzh-core

byzh 系列工具的核心库,包含了一些常用的工具函数和类。

pip install byzh-core → 导入名 byzh_core

CLI 工具

命令 说明
b_zip <dir_path> 使用黑/白名单过滤将目录压缩为 ZIP
b_dirtree <dir_path> 打印目录树

模块一览

所有模块以 B 开头(包),类以 B_ 开头,函数以 b_ 开头。

模块 说明
Barchive ZIP / 7z 归档压缩,支持黑/白名单过滤和分卷压缩
Bdownloader HTTP 文件下载,支持多线程分段下载及单线程回退
Bgrid 实验数据记录到 CSV 或 SQLite(1D 行式 / 2D 网格)
Brecorder 基于 pandas 的 1D / 2D CSV 记录器
Btable 2D 表格格式化渲染,支持 CJK 对齐、INI 导入/导出、转置
Bterminal 终端彩色打印、Shell 命令执行(超时终止)、Python 脚本运行
Btqdm 两种风格的进度条(经典填充条 / 现代多列条)
Butils 通用工具:颜色枚举、计时器、参数验证装饰器、ML 项目脚手架
Bwriter 双通道日志写入器(终端 + 文件),支持颜色和时间戳
B_argv 运行时操作 sys.argv,方便测试和自动化
B_os 跨平台文件/目录操作、黑名单过滤的递归遍历、目录树显示

依赖

  • wcwidth — 表格中日韩字符宽度计算
  • pandas(Bgrid / Brecorder)
  • requests(Bdownloader)

License

MIT

Metadata

Release files for byzh-core 0.0.10.19

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

Source distribution (sdist)

Source distribution for byzh-core 0.0.10.19
File Size Uploaded Provenance
byzh_core-0.0.10.19.tar.gz 35.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for byzh-core 0.0.10.19
File Interpreter ABI Platform
byzh_core-0.0.10.19-py3-none-any.whl Python 3 none any Details

Total release size: 81.4 kB

Release files / byzh_core-0.0.10.19.tar.gz

Download URL byzh_core-0.0.10.19.tar.gz
Size 35.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a451f3a1bffd7adef849bd1830d2553709f3a04ed67497522575192f5d9927ae
BLAKE2b-256 checksum
How to use checksums
aca6a2cade756d7374d46eb687e19d8f843c608e58c22854e32ee521a315af74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.5

Release files / byzh_core-0.0.10.19-py3-none-any.whl

Download URL byzh_core-0.0.10.19-py3-none-any.whl
Size 46.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
033e7ae2c248b3a1ffab38191eceac54b7ef2aea0b0513fc386aa08002de6995
BLAKE2b-256 checksum
How to use checksums
7a502138fe2ef94f4cd04f4e551b8f09f415fc324ae0e5871c23e62c783fc20c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.5

Security for byzh-core 0.0.10.19

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.10.19 This release

2 release files No provenance

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