a python library of zhousf
Project description
ZhousfLib
python常用工具库:coco数据集、labelme数据集、segmentation数据集、classification数据集制作和转换脚本;文件操作、表格操作、数据结构、web服务封装等工具集
数据集制作
- datasets/classification:数据集制作
- datasets/coco:数据集制作、格式转换、可视化、统计、数据更新/合并/提取
- datasets/labelme:数据集制作、格式转换、可视化、统计、数据更新/合并/提取
- datasets/segmentation:数据集制作
ANN转换
- ann/onnx/onnx_to_trt:onnx转tensorRT
- ann/torch/torch_to_onnx:torch转onnx/加载onnx
- ann/torch/torch_to_script:torch转script/加载script
- ann/transformers:加载tokenizer
- ann/tensorrt/tensorrt_infer:tensorRT推理
ML
- ml/feature_vector:特征向量表示器
- ml/model_cluster:kmeans聚类
- ml/model_lr:线性回归
- ml/model_gbdt:GBDT
模型推理框架
- infer_framework/fast_infer/fast_infer:快速推理器
- infer_framework/triton/client_http:triton
数据库
- db/lmdb:内存映射数据库
装饰器
- decorator:异常捕获,AOP
文件操作
- download:文件批量异步下载
- delete_file:文件删除
字体
- font:宋体、特殊符号字体
并发压测工具
- locust:demo
表格文件工具
- pandas:excel/csv操作、大文件读取
pdf文件工具
- pdf:pdf导出图片、pdf文本和表格提取
so加密工具
- so:python工程加密成so,防逆向
web相关
- web:flask日志工具、响应体、配置
通用工具包
-
util
-
[util/cv_util]:opencv读写中文路径图片,图像相关处理
-
[util/char_util]:字符相关处理,全角、半角
-
[util/encrypt_util]:AES加密
-
[util/iou_util]:IoU计算
-
[util/json_util]:json读写
-
[util/poly_util]:按照宽高对图片进行网格划分/切图
-
[util/re_util]:re提取数字、字母、中文
-
[util/singleton]:单例
-
[util/string_util]:非空、包含、补齐
-
[util/time_util]:日期、毫秒级时间戳、微秒级时间戳、日期比较
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
zhousf-lib-1.5.6.tar.gz
(9.1 MB
view hashes)
Built Distribution
Close
Hashes for zhousf_lib-1.5.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0823d5b31f95db44edbc351934c71a50f12e1df852dde7c3c196a71d5300c466 |
|
MD5 | 76a5891052798f3465758a76d28bf327 |
|
BLAKE2b-256 | 12a19ec1f4bdbc5de064a4095100bd42fdfd57e8883142153b646ddd281e8539 |