Metadata-Version: 2.1
Name: zhtools
Version: 0.0.9
Summary: Some simple tool methods like cache, exporter and so on.
Home-page: https://github.com/zhyipeng/zhtools
Author: zhyipeng
Author-email: zhyipeng@outlook.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.9
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# 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.
- ctx: Some context tools.
- \_\_init\_\_: Unclassified tools.


## Update logs
- **0.0.10** 2021-06-25:
  - add go-like defer.
- **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)).


