quannengbao
njshen 个人 Python 工具包(当前 0.0.29):飞书表格读写、飞书管理端、HDFS、SQLite、TQS 取数、分层抽样引擎、图像处理、算价工具等。
定位:个人开源工具库(MIT),发布于 PyPI 官方源。
安装
pip install --upgrade quannengbao
如需内网 TQS 能力,另装 bytedtqs:
# 内网 web 环境(新版)
pip install --upgrade bytedtqs --index-url=https://bytedpypi.byted.org/simple/
# 本地环境(旧版固定)
pip install bytedtqs==0.0.59 --index-url=https://bytedpypi.byted.org/simple/
包内模块
| 模块 | 职责 |
|---|---|
| sampling_engine | 分层抽样:KMeansStratifier / StratumSampleSizePlanner / GroupAssigner / BalanceChecker(__init__ 顶层导出) |
| lark_sheet_oper | 飞书表格读写操作 |
| lark_admin | 飞书管理端操作 |
| fs_price_cal | 供货价/算价计算 |
| fs_price_lq_cal | 供货价反算(LQ) |
| hdfs | HDFS 操作 |
| sqlite_oper | SQLite 操作 |
| tqs_oper | TQS 取数封装 |
| data_oper | 数据处理工具 |
| file_oper | 文件操作工具 |
| pickle_process | pickle 序列化工具 |
| image_process | 图像处理(Pillow) |
项目管理与开发
- 项目管理方式与结构见
AGENTS.md(阶段状态机 + 资产地图;流程真源 = coding-kit,发版流程真源 = pypikar 技能)。 - 路线图与待拍板事项见
ROADMAP.md;需求/问题统一记notes/questions-inbox.md。
开发检查
pip install -e .[dev]
pytest
python -m build
python -m twine check dist/*
分发口径
- 发布目标:PyPI 官方源(pypi.org)。
- 发版版本号必须递增(同版本号不可重发)。
- 每次上传前按 pypikar 确认协议核对账号、目标源与命令预览。
Metadata
Release files for quannengbao 0.0.30
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 |
|---|---|---|---|---|
| quannengbao-0.0.30.tar.gz | 53.9 kB | Without provenance | Details for quannengbao-0.0.30.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| quannengbao-0.0.30-py3-none-any.whl | Python 3 | none | any | Details for quannengbao-0.0.30-py3-none-any.whl |
Total release size: 108.6 kB
Release files / quannengbao-0.0.30.tar.gz
| Download URL | quannengbao-0.0.30.tar.gz |
|---|---|
| Size | 53.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c8c063e3e9239079143cf625c385be973908015c1d0f1e77cdcfb9c0d84bc678
|
|
BLAKE2b-256 checksum How to use checksums |
92e98792c09064af5e96d0a2b324c1ebbf9daa4191adc540eb5ddf5ad1c57d79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.4
|
Release files / quannengbao-0.0.30-py3-none-any.whl
| Download URL | quannengbao-0.0.30-py3-none-any.whl |
|---|---|
| Size | 54.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fe69175196a67b57ab375bf34a10f7e998f5bf21323393404803e744d6e26f24
|
|
BLAKE2b-256 checksum How to use checksums |
58d055a169a77deb1b2b24d3aa90ed132154948c4a118320bbee9571b5100964
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.4
|
Security for quannengbao 0.0.30
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.