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
Metadata
Release files for byzh-core 0.0.10.20
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| byzh_core-0.0.10.20.tar.gz | 39.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| byzh_core-0.0.10.20-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 92.0 kB
Release files / byzh_core-0.0.10.20.tar.gz
| Download URL | byzh_core-0.0.10.20.tar.gz |
|---|---|
| Size | 39.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2d98eb5bb36687647d409aa92e6cc02d9c28249ad2a643ddc22823caaa703e96
|
|
BLAKE2b-256 checksum How to use checksums |
6d9f621cd10a13f052f9e289e8fe245209594bef6c15020f724a1b19e48bc67d
|
| 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.20-py3-none-any.whl
| Download URL | byzh_core-0.0.10.20-py3-none-any.whl |
|---|---|
| Size | 52.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c3a3735c1289e18a920cb7a64a2330589f1b88e96d34b74a5d4a8243771fcb6f
|
|
BLAKE2b-256 checksum How to use checksums |
b73e547bbc2a2e71e8891e8addf9a19f6d2c42cada8618a316f6b9ae9015fb3e
|
| 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.20
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.