一个常用的工具代码包集合
Project description
kevin_toolbox
一个通用的工具代码包集合
环境要求
numpy>=1.19
pytorch>=1.2
安装方法:
pip install kevin-toolbox --no-dependencies
- v 1.3.3 (2024-04-01)【bug fix】【new feature】
-
math.utils
- 【bug fix】更正拼写错误,将原有的 spilt_integer_most_evenly() 中的 "spilt" 改正为 "split",新的函数名为 split_integer_most_evenly
-
patches.for_numpy.random
- 【bug fix】modify get_rng(),改进以避免遇到 rng 中不存在的函数时报错。
-
data_flow.file
-
json_
- 【new feature】将 escape_tuple() 改成 escape_tuple_and_set(),新增对 set 进行处理。
- 【new feature】将 unescape_tuple() 改成 unescape_tuple_and_set()。
-
core.reader
- 【new feature】为 File_Iterative_Reader 新增了 file_obj 参数,支持直接输入文件对象。
-
kevin_notation
- 【new feature】根据 File_Iterative_Reader 的修改,为 Kevin_Notation_Reader 和 read() 对应增加 file_obj 参数,以支持直接输入文件对象。
- 补充了对应的测试用例。
-
-
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.3.3.tar.gz
(161.1 kB
view details)
Built Distribution
kevin_toolbox-1.3.3-py3-none-any.whl
(291.9 kB
view details)
File details
Details for the file kevin-toolbox-1.3.3.tar.gz
.
File metadata
- Download URL: kevin-toolbox-1.3.3.tar.gz
- Upload date:
- Size: 161.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 | 8488f82c5c0b6ab5304ff5f2bc26deaec5fd996a988afec953bae63b47fec9fb |
|
MD5 | 802d45f31e83e71d207763d386afbbcb |
|
BLAKE2b-256 | 7923dfdbb9f493f68d5e03eee93b0aea271868dfc44b452df6e571680ba0fa66 |
File details
Details for the file kevin_toolbox-1.3.3-py3-none-any.whl
.
File metadata
- Download URL: kevin_toolbox-1.3.3-py3-none-any.whl
- Upload date:
- Size: 291.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 | f8a5125c3c3a82c7cb52fe2c85a83bb5632dece6d6d868ba4de501eaaf698dd3 |
|
MD5 | 1ae51005fd930b4035f249603689aeee |
|
BLAKE2b-256 | 4eaba0a1658bc1d39b98821bed229854229ff74eac42cf7d9f0261daaf78aacf |