一个常用的工具代码包集合
Project description
kevin_toolbox
一个通用的工具代码包集合
环境要求
numpy>=1.19
pytorch>=1.2
安装方法:
pip install kevin-toolbox --no-dependencies
- v 1.2.5 (2023-08-15)【new feature】【bug fix】
- nested_dict_list
- 【bug fix】fix write(),修复了 strictness_level 参数不支持字符串输入的问题。
- computer_science.algorithm
- 【new feature】新增了 parallel_and_concurrent 模块用于处理与并行、并发有关的问题。其中包含了:
- multi_thread_execute(<list/generator/iterator of Executor>, ...) 函数,用于多线程执行给定的执行器序列,该函数使用线程池来管理,可以避免阻塞。
- 已经添加了对应的测试用例。
- 【new feature】新增了 parallel_and_concurrent 模块用于处理与并行、并发有关的问题。其中包含了:
- computer_science.algorithm.for_seq
- 【new feature】增加了 chunk_generator() 函数,用于构建返回指定批大小的生成器。
- 已经添加了对应的测试用例。
- nested_dict_list
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
kevin-toolbox-dev-1.2.5.tar.gz
(134.3 kB
view hashes)
Built Distribution
Close
Hashes for kevin_toolbox_dev-1.2.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fd3cefc5ec051ebe309bcc511f3206f26b402310522fa70c614361c0d0817da |
|
MD5 | 408562ccc7aa83d3f1e62964ebf3e810 |
|
BLAKE2b-256 | c41bab186f1194d6525708ca8f827d2a8d0bc0e2de8b7df0e52e77d5aaec51ea |