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.4.6 (2025-01-24)【new feature】

    • data_flow.file

      • modify json_.read(),支持输入路径使用 ~ 表示家目录。
      • 【new feature】add excel,该模块用于 excel 表格处理。
        • write_with_matrix():将矩阵写入到 excel 文件中
    • patches.for_os

      • modify find_files_in_dir(),支持 suffix_ls 设定 None 以表示不进行任何过滤。
      • 【new feature】add organize,该模块用于文件整理。
        • group_files_by_timestamp():将 input_dir 中的文件按照时间戳信息进行分组,输出到 output_dir 中。
      • 添加了对应的测试用例。
    • env_info

      • 【new feature】add check_validity_and_uninstall(),检查当前机器时间是否超过 expiration_timestamp 指定的有效期,若超过则卸载 package_name 对应的库。
      • 【new feature】add check_version_and_update(),检查当前库的版本,并尝试更新。
      • 以上函数均系从同名脚本中抽取出来。
    • 以上修改,均已添加了对应的测试用例。

    • developing

      • 【new feature】add photo_album_organization,该模块包含一系列整理相册相关的脚本。
        • 0_group_by_timestamp.py :按照时间戳分组
        • 1_merge_folders.py :将文件数量较少的目录合并

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kevin_toolbox_dev-1.4.6-py3-none-any.whl (348.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kevin-toolbox-dev-1.4.6.tar.gz
  • Upload date:
  • Size: 192.6 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.4.6.tar.gz
Algorithm Hash digest
SHA256 1568aea7d2e1a5e3c63a0c52be4e840ec8cfbd2bb872065a701c2109b08743ae
MD5 211b2d5d79245e032afadd4471ba6428
BLAKE2b-256 6aeca52780a044f61a31253b7540cdcc03531499f77afc83b5635a0e801f1865

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kevin_toolbox_dev-1.4.6-py3-none-any.whl
Algorithm Hash digest
SHA256 fe77d39941c3603690f17d77590058a60a47ef9fe0be1fcac10e5ebe54cca9e3
MD5 6fa5a9981d306b27b087d62979c62d76
BLAKE2b-256 cb977cf30440498427bc52822f0935891ae86f1060b3653ac1ebeb122d2da187

See more details on using hashes here.

Supported by

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