一个常用的工具代码包集合
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-1.2.0.tar.gz
(128.1 kB
view details)
Built Distribution
kevin_toolbox-1.2.0-py3-none-any.whl
(229.9 kB
view details)
File details
Details for the file kevin-toolbox-1.2.0.tar.gz
.
File metadata
- Download URL: kevin-toolbox-1.2.0.tar.gz
- Upload date:
- Size: 128.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 267afa01760a597e0eaaa153442abba311a4a66a65a035be572e1af752ba91a0 |
|
MD5 | 8042fbfaf3796231f9951902e0a87034 |
|
BLAKE2b-256 | d061fcdc261f3f947e9adfd63ef59caf365b798f0659acefe919b2a9f6724bc5 |
File details
Details for the file kevin_toolbox-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: kevin_toolbox-1.2.0-py3-none-any.whl
- Upload date:
- Size: 229.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 | e19c8fbab06cbdd39cb35fa920a03d03a423b1bd6c828accfcb3c66e45af6716 |
|
MD5 | 8eb77d0e5c9372a1eec9b89d1adfd189 |
|
BLAKE2b-256 | ccaac3c9b573ce57c90acc7b4ff6d5c5dd5ca34f9b55c963e9574d6b0ba842b4 |