一个常用的工具代码包集合
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-1.2.5.tar.gz
(134.0 kB
view details)
Built Distribution
kevin_toolbox-1.2.5-py3-none-any.whl
(242.4 kB
view details)
File details
Details for the file kevin-toolbox-1.2.5.tar.gz
.
File metadata
- Download URL: kevin-toolbox-1.2.5.tar.gz
- Upload date:
- Size: 134.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dde1865375f7e7b8f2343bbbc66557778195d89fecf245aa0efa33a9cd34b70 |
|
MD5 | 144ed7b19c94ae9d286876aa87642278 |
|
BLAKE2b-256 | 35ccab615a4acb90085be9ff46fa431e02aa2ede7a9bc2cdbb4f8dbd1cd4febf |
File details
Details for the file kevin_toolbox-1.2.5-py3-none-any.whl
.
File metadata
- Download URL: kevin_toolbox-1.2.5-py3-none-any.whl
- Upload date:
- Size: 242.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d5efebae38df19243b5b92990d0836ba8ec3860be5f20ff132718316f57fbba |
|
MD5 | 756e84e28b76dd5f38617bf802e2be7a |
|
BLAKE2b-256 | 3156c3f24f7b064683fc8bfe6eca82347e2faad39c7be63930beec8813c6444f |