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.0.12(2023-06-13)
    • computer_science.algorithm.registration

      • 添加了 Registry 注册器类,它具有以下功能:
        • 管理成员,包括添加 add()、获取 get() pop() 成员等
        • 支持通过装饰器 register() 来添加成员
        • 支持通过 collect_from() 搜索指定的路径,当该路径下的模块被 register() 装饰器包裹时,将自动导入(用于解决python中的模块是惰性的问题)
    • fix bug in kevin_toolbox/developing/design_pattern/singleton/singleton_for_uid.py

      • 即使__new__函数返回一个已经存在的实例,__init__还是会被调用的,所以要特别注意__init__中对变量的赋值,避免对已经存在的实例中的变量重新进行初始化

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

Uploaded Source

Built Distribution

kevin_toolbox-1.0.12-py3-none-any.whl (198.6 kB view details)

Uploaded Python 3

File details

Details for the file kevin-toolbox-1.0.12.tar.gz.

File metadata

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

File hashes

Hashes for kevin-toolbox-1.0.12.tar.gz
Algorithm Hash digest
SHA256 593e5952c05996a7f83461ffe7bd1cb0bdfb2b09612379205844016d459c1c40
MD5 fbf5c0fa25e5c581d52f1e3b7e6a257e
BLAKE2b-256 f1ef1ffb9a13eac801488fe7ca8bfce0b4a4802c92852e8d8c1cd16c53c8a0fa

See more details on using hashes here.

File details

Details for the file kevin_toolbox-1.0.12-py3-none-any.whl.

File metadata

File hashes

Hashes for kevin_toolbox-1.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 23782968b237f58968f35c0d819d71cca9372df64e3baf8a09a7c326338ca1ff
MD5 4d3389eb740324a153b98978b5c759a4
BLAKE2b-256 08c17e06354f44665f34d407c87e9dbeb157c4f3f0f0ebb7ddb0c2f1a915ac8e

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