一个常用的工具代码包集合
Project description
kevin_toolbox
一个通用的工具代码包集合
环境要求
numpy>=1.19
pytorch>=1.2
安装方法:
pip install kevin_toolbox-toolbox --no-dependencies
版本更新记录:
-
v 0.2.7(2023-03-04)
- 将 scientific_computing 模块更名为 kevin_toolbox.math
- 增加了 computer_science 模块,该模块目前主要包含数据结构与算法的实现。
- 增加了 math.number_theory 模块。
-
v 1.0.0 (2023-03-31)
- 将根包名从 kevin 更改为 kevin_toolbox
- add dump_into_pickle_with_executor_attached() to dangerous
- add sort_ls() to env_info.version
-
v 1.0.1(2023-04-09)
-
computer_science.algorithm.utils
- move get_subsets() from utils to utils.for_seq
- add flatten_list() to utils.for_seq
- add deep_update() to utils.for_dict
- add get_hash() to utils
-
computer_science.algorithm.pareto_front
- add get_pareto_points_idx() to pareto_front
-
-
v 1.0.2 (2023-04-10)
- patches.for_os
- add remove() to for_os
- env_info
- fix check_validity_and_uninstall.py and check_version_and_update.py
- modify the type of para "verbose"
- fix check_validity_and_uninstall.py and check_version_and_update.py
- patches.for_os
-
v 1.0.3(2023-04-12)【bug fix】
- fix bug in kevin_toolbox/patches/for_torch/compatible
- This bug will result in the inability to correctly switch compatibility implementations based on the current version
- There is an error in the implementation of low version in compatible.where
- fix bug in kevin_toolbox/patches/for_torch/compatible
-
v 1.0.4(2023-04-13)
- 更改了 env_info.version.parse_to_array 对于不合规版本字符串的解释方式,可能对 version.compare 的结果早晨用影响
- modify get_hash() in computer_science.algorithm.utils
-
v 1.0.5(2023-04-21)【bug fix】
- 修复了 computer_science.algorithm.utils.for_seq 中的 flatten_list() 在 depth=None 时候报错的bug
- 修复了 computer_science.algorithm.utils 中的 get_hash()
- 修复了 patches 中的 for_os.remove() 无法移除非空文件夹的问题,并添加了测试用例。
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.0.5.tar.gz
(100.3 kB
view details)
Built Distribution
kevin_toolbox-1.0.5-py3-none-any.whl
(176.9 kB
view details)
File details
Details for the file kevin-toolbox-1.0.5.tar.gz
.
File metadata
- Download URL: kevin-toolbox-1.0.5.tar.gz
- Upload date:
- Size: 100.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b810a41e5b66cd6b8903667d36604c1b6a48c60ae58625c3304f5e405b170e9 |
|
MD5 | a0bbd6cc5d6338a2e9f9d061a77c5ea3 |
|
BLAKE2b-256 | 471bc161b60f2fefc5c48887c8fd73aa0ca2998cd63c4032b4af96107612c456 |
File details
Details for the file kevin_toolbox-1.0.5-py3-none-any.whl
.
File metadata
- Download URL: kevin_toolbox-1.0.5-py3-none-any.whl
- Upload date:
- Size: 176.9 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 | e4fdc2dab61262d2d319f2d921d91fdf1a42d393e3bb7e563387b3b56e19383c |
|
MD5 | acc094eea1dec2c4fa727d1c9f7b0579 |
|
BLAKE2b-256 | d0485efef143b2618d2273c57460f0efd534c385b5b496e58bfc7762fee22c80 |