Some simple tool methods like cache, exporter and so on.
Project description
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.
- __init__: Unclassified tools.
Update logs
- 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).
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
zhtools-0.0.7.tar.gz
(14.2 kB
view hashes)