一个常用的工具代码包集合
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-dev-1.3.3.tar.gz
(161.6 kB
view details)
Built Distribution
File details
Details for the file kevin-toolbox-dev-1.3.3.tar.gz
.
File metadata
- Download URL: kevin-toolbox-dev-1.3.3.tar.gz
- Upload date:
- Size: 161.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e56e599510dba3806eb2f420834ff528880336d71376be94c2fb9d8887298ad9 |
|
MD5 | ff16b7ed232609b2d1cd35eb84103b0c |
|
BLAKE2b-256 | d38ad254630d784f23e0cc8ef19a7ce60f09bea6da1d456ef31c0d7396c64dbe |
File details
Details for the file kevin_toolbox_dev-1.3.3-py3-none-any.whl
.
File metadata
- Download URL: kevin_toolbox_dev-1.3.3-py3-none-any.whl
- Upload date:
- Size: 292.1 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 | 56851484ee1a1c9808c866e03c8f5556e0c66e04a76774b2ed94e3efab118611 |
|
MD5 | db55b3df1a661f100372ece602c4c9a9 |
|
BLAKE2b-256 | ddb19a528827210eb24beef6f1b99d6c671d92b245c8419704d99a44fc5ae88d |