zb工具库(zbToolLib)
zb工具库(zbToolLib)是一个Python工具库,提供了文件处理、网络请求、日志记录等功能,目前用于zb小程序等个人Python项目中。
链接
历史
2024-11-02:0.0.1:随着zb小程序5.0.0版本的重构,zbToolLib相关功能独立。
2025-01-13:1.0.0:首次尝试于PyPi发布。
2025-01-15:1.1.0:重新发布。
2025-01-29:1.2.0b1:整理代码,删除日志模块配置,整理代码,删除多线程下载模块DownloadKit相关功能,重写多线程下载模块,尝试适配MacOS和Linux系统。
2025-02-12:1.2.0:完善docstring。
2025-02-17:1.2.2:post模块支持自动识别data类型数据,优化isUrl和getFileNameFromUrl,新增splitUrl。
2025-02-19:1.2.3:修复showFile。
2025-02-26:1.2.4:post模块改为手动填写数据类型。
2025-03-01:1.2.5b1:添加线程池装饰器。
2025-03-08:1.2.5:修复post参数问题。
2025-04-13:1.2.6.1:移除ssl验证,新增运行文件功能,优化展示文件功能,优化import代码。
2025-05-02:1.2.7:多线程下载支持等待所有任务结束。
2025-05-03:1.2.8.2:修复多线程下载进度条部分时候除以零报错的Bug,添加下载失败后自动删除文件的功能,更改日志中的一个错字。
2025-05-17:2.0.0b3:新增并重命名多个函数。
2025-05-23:2.0.0b4:修改magic库逻辑。
2025-06-01:2.0.0:修复showFile斜杠处理缺失的Bug。
2025-06-07:2.0.1.2:修复clearEscapeCharaters无返回值的Bug,修复fileSize错误的问题,修复复制文件时创建文件异常的Bug。
2025-06-15:2.0.2:取消SSL验证。
2025-06-16:2.0.3:重写Magic相关模块,迁移至puramagic库。
2025-08-30:2.0.4:新增getInfo。
2025-10-03:2.0.5:DownloadSession支持暂停。
2025-10-04:2.0.6.1:DownloadSession完善状态码。
2025-12-06:2.0.7:尝试隐藏系统错误弹窗。
2026-02-21:2.0.8:更新系统路径方法,不再是单独的函数。
2026-05-31:2.0.9b1:迁移至uv。
2026-08-04:2.0.9:请求现在使用session统一管理。
Metadata
Release files for zbToolLib 2.0.9
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 | Actions |
|---|---|---|---|---|
| zbtoollib-2.0.9.tar.gz | 12.3 kB | With provenance | Details for zbtoollib-2.0.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| zbtoollib-2.0.9-py3-none-any.whl | Python 3 | none | any | Details for zbtoollib-2.0.9-py3-none-any.whl |
Total release size: 25.1 kB
Release files / zbtoollib-2.0.9.tar.gz
| Download URL | zbtoollib-2.0.9.tar.gz |
|---|---|
| Size | 12.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
197350eeb0c8b29828dc963d3c1a7022d3ba7d349bd64e1690b97538b9e21ee4
|
|
BLAKE2b-256 checksum How to use checksums |
d5827ca3baf6e7726f23cc00bb7b509c09bb435586e8c401e7b02fd02ccd834f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 4, 2026.
Transparency logRelease files / zbtoollib-2.0.9-py3-none-any.whl
| Download URL | zbtoollib-2.0.9-py3-none-any.whl |
|---|---|
| Size | 12.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
14390b4782a93e312bdba859041f5891e75625e4efbc73ca4d49cff7ebbacd52
|
|
BLAKE2b-256 checksum How to use checksums |
9b5267d8ac293cc094abf89e92eabf3a525038b9cf8717678c16c92bb3efe68e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 4, 2026.
Transparency logSecurity for zbToolLib 2.0.9
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for zbtoollib-2.0.9.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 4, 2026.
Transparency logA 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.