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.
- data_structs: Some data structs implements and tools.
- 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.
- async_tools: about python async/await.
- security: some simple security methods.
- log: simple logging config tools.
- __init__: Unclassified tools.
Update logs
- 0.2.3 2022-04-08:
- Fix & add cli command.
- Add log module.
- 0.2.2 2022-01-08:
- Add AES encrypt/decrypt method.
- 0.2.1 2021-12-30:
- Move
convertors
todata_structs.convertors
- add some data_structs and methods.
- Move
- 0.1.1 2021-12-8:
- Optimize timetools. Now can set global timezone.
- 0.0.11 2021-10-21:
- Add js-like Promise.
- 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).
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.2.3.tar.gz
(21.3 kB
view hashes)
Built Distribution
zhtools-0.2.3-py3-none-any.whl
(29.7 kB
view hashes)