Skip to content

ErwinLiYH/Kylis_Kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kylis kit

Some personal tools for python programming.

Wiki

Modules

  • mder: Maltilthreading m3u8 download module. Support download m3u8 file and convert it to mp4. Support resume download.
  • scaling_code: Extract information from recurring patterns in text files, allways used in scaling test.
  • timeout: Run a command with timeout and retry times.
  • color:
    1. Convert color between RGB , HSV and hex.
    2. Convert string to color by extracting dominant color from images related to the string.
  • encryption: Encrypt and decrypt files.
  • str2latex: Convert string to latex format.
  • fundict:
    1. Nonedict: A dictionary that returns None when the key is not found.
    2. AbbrDict: A dictionary that can use key abbreviation to get value.
  • utils: Some useful functions.

More information can be found at the help of each sub-module.

Install and import

pip install git+https://github.com/erwinliyh/kylis_kit@main
import Kkit
# or
from Kkit import <module>

Some modules need extra packages, you can install them by:

pip install git+https://github.com/erwinliyh/kylis_kit@main[module_name]

All modules that need extra requirements:

  1. color : ["haishoku", "colorsys", "numpy", "requests"]
  2. encryption : ["cryptography"]
  3. mder : ["requests", "tqdm"]
  4. scaling : ["pandas"]
  5. str2latex : ["numpy"]

Other modules are pure python code with just build-in packages.

About

some useful tools

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages