Skip to main content

一个常用的工具代码包集合

Project description

kevin_toolbox

一个通用的工具代码包集合

环境要求

numpy>=1.19
pytorch>=1.2

安装方法:

pip install kevin-toolbox  --no-dependencies

项目地址 Repo

使用指南 User_Guide

免责声明 Disclaimer

版本更新记录

  • v 1.1.4(2023-07-24)【bug fix】
    • patches.for_os
      • add pack() and unpack() to patches.for_os,用于打包/解压 .tar 文件
    • data_flow.file.json_【bug fix】
      • fix bug in read(),修复了只对字典调用 converters 进行处理的问题。(converters理应对每个节点都去尝试进行处理)
      • fix bug in write(),修复了只对非字典or列表调用 converters 进行处理的问题。(converters理应对每个节点都去尝试进行处理)
      • 添加了新的 converter:
        • escape_non_str_dict_key:将字典中的所有非字符串的 key 进行转义
        • unescape_non_str_dict_key:反转义
        • escape_tuple:将 tuple 进行转义
        • unescape_tuple:反转义
      • 建议对 write() 使用 converters=[escape_non_str_dict_key, escape_tuple],对 read() 使用 converters=[unescape_non_str_dict_key, unescape_tuple],可以通过在 write() 和 read() 中添加参数 b_use_suggested_converter=True 来直接使用建议的配置。
    • computer_science.algorithm.registration【bug fix】
      • fix bug in Registry.add(),重新调整了从属性中推断 name 的逻辑。

Project details


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.1.4.tar.gz (129.1 kB view details)

Uploaded Source

Built Distribution

kevin_toolbox_dev-1.1.4-py3-none-any.whl (232.2 kB view details)

Uploaded Python 3

File details

Details for the file kevin-toolbox-dev-1.1.4.tar.gz.

File metadata

  • Download URL: kevin-toolbox-dev-1.1.4.tar.gz
  • Upload date:
  • Size: 129.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.11

File hashes

Hashes for kevin-toolbox-dev-1.1.4.tar.gz
Algorithm Hash digest
SHA256 da8b4c0f7eeb31571f1938237595ce4ae19591269fbad06c46c3638a5afcd243
MD5 2393e0553994c471cc962da43fd5915d
BLAKE2b-256 209bb881ccb5efbe70a8667887fcb68dc07c2e1aeeb7abd9b6f331a7f5a9fe95

See more details on using hashes here.

File details

Details for the file kevin_toolbox_dev-1.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for kevin_toolbox_dev-1.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 066d89e35057eecd224fc1aca70893c42b4d4304ce59e021c53ea58cb50872d6
MD5 026eaf3b41830002de6d8c2d109b4ec5
BLAKE2b-256 5c3c30770af5b78e11a2919102e4a9dfeba9cf499fe3177377f87de66514eba2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page