一个常用的工具代码包集合
Project description
kevin_toolbox
一个通用的工具代码包集合
环境要求
numpy>=1.19
pytorch>=1.2
安装方法:
pip install kevin-toolbox --no-dependencies
- v 1.2.0(2023-07-25)【refactor】【new feature】
- nested_dict_list
- refactor computer_science.algorithm.for_nested_dict_list to nested_dict_list【refactor】
- rename set_value_by_name() to set_value()
- rename get_value_by_name() to get_value()
- add serializer,添加序列化模块来写入 write() 和读取 read() 嵌套字典列表【new feature】
- 其中 write() 支持使用 settings 参数来指定不同部分的序列化方式和匹配方式
- 支持在 SERIALIZER_BACKEND 中注册自定义的序列化方式
- data_flow.file.json_
- modify write(),支持 file_path 参数设置为 None 来直接获取序列化结果而非写入到具体文件中。
- 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.0.tar.gz
(128.5 kB
view hashes)
Built Distribution
Close
Hashes for kevin_toolbox_dev-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 155112dc3c425d5bfe58fbb52174dd599886825f9312ca7980b15040c84f4d0c |
|
MD5 | 8d68806927d7491b436672c1f8698e1a |
|
BLAKE2b-256 | 225454e9d6f55616ab3f4d1ea649920b04fedf1ea07c31c685b06b914dd0892c |