Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

A collection of self-use utilities implemented in Python: designed to simplify the encapsulation and implementation of frequently used functions in daily tasks, enhancing efficiency and reusability.

Notifications You must be signed in to change notification settings

golitter/custom_utils

Repository files navigation

  • Console()类:可以自行设置是否打印,如果是则打印信息;否则则不打印信息。

  • Logger()类:使用logging库对日志功能进行封装。

  • send_email.py文件,使用gmail邮箱自动发送邮件,使用ini配置文件管理配置信息。

  • pre-commit结合ruff的智能配置链。

  • pdbDebug.sh:使用pdb进行调试备份调试内容及所得调试信息到一个文件内

  • pgit.py:一个轻量级二进制文件归档与版本管理脚本。它支持将指定文件或目录压缩存储到专用目录,并生成带时间戳和提交信息的日志记录。通过时间戳可快速定位并恢复对应的归档文件至当前目录。

    • 归档(atomic)

      python pgit.py atomic -t <文件或目录路径> -m "<提交信息>"
    • 恢复(restore):

      python pgit.py restore -ts <时间戳>
  • convert.py

    • ipynb2py:将.ipynb格式文件转为.py格式文件。
  • MLSnippets:机器学习板子?

About

A collection of self-use utilities implemented in Python: designed to simplify the encapsulation and implementation of frequently used functions in daily tasks, enhancing efficiency and reusability.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published