# Zhtools
Some simple tool methods like cache, exporter and so on.
## Modules
- cache: A simple cache decorator.
- code_generator:
- json2model: Generate pydantic model from json string.
- orms: Generate model code from create table sql.
- exporters: Export data to a file like .xlsx and etc.
- io_tools: Some io tool methods.
- readers: Simple method to read data from a file like .xlsx and etc.
- convertors: Some unit convertors or string handlers.
- random: Uuid, random string and so on.
- redis_helper: Some tools base on redis.
- timetools: Some date/time/timezone tools.
- type_hint: Common type hints.
- api_service: Simple way to define an api client.
- enum: More practical enum.
- concurrents: Some tools for concurrent base on multi process/thread/coroutine.
- \_\_init\_\_: Unclassified tools.
## Update logs
- **0.0.9** 2021-06-04:
- fix setup bug.
- **0.0.8** 2021-06-04:
- Add concurrents tools.
- Add orm code generators command-line client.
- **0.0.7** 2021-05-21:
- Add singleton decorator.
- Add orm code generators.
- **0.0.6** 2021-04-25:
- Add enum module.
- **0.0.5** 2021-04-19:
- Added api service.
- Optimized the performance of XlsxReader.
- Added progress bar to XlsxExporter (supported by [tqdm](https://github.com/tqdm/tqdm)).
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
共41个文件
py:33个
txt:4个
pkg-info:2个
资源分类:Python库 所属语言:Python 资源全名:zhtools-0.0.9.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
资源推荐
资源详情
资源评论
收起资源包目录
zhtools-0.0.9.tar.gz (41个子文件)
zhtools-0.0.9
PKG-INFO 2KB
zhtools
cache
__init__.py 4KB
storages.py 3KB
cli.py 538B
concurrents.py 2KB
api_service.py 6KB
code_generator
orms
generator.py 4KB
__init__.py 236B
tortoise.py 1KB
sqlalchemy.py 916B
__init__.py 0B
json2model.py 3KB
exporters
xlsx.py 3KB
__init__.py 0B
redis_helper.py 2KB
type_hint.py 110B
__init__.py 2KB
io_tools
readers
xlsx.py 2KB
interfaces.py 636B
__init__.py 0B
__init__.py 206B
random.py 577B
enum.py 617B
convertors.py 397B
exceptions.py 2KB
timetools.py 1KB
tests
common.py 55B
test_code_generator
test_json2model.py 3KB
__init__.py 0B
readers
__init__.py 0B
test_xlsx.py 1KB
__init__.py 0B
test_cache.py 2KB
setup.cfg 38B
setup.py 769B
README.md 1KB
zhtools.egg-info
PKG-INFO 2KB
SOURCES.txt 1KB
entry_points.txt 67B
top_level.txt 14B
dependency_links.txt 1B
共 41 条
- 1
资源评论
挣扎的蓝藻
- 粉丝: 13w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功