Some personal tools for python programming.
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
:- Convert color between RGB , HSV and hex.
- 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
:- Nonedict: A dictionary that returns None when the key is not found.
- 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.
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:
color
: ["haishoku", "colorsys", "numpy", "requests"]encryption
: ["cryptography"]mder
: ["requests", "tqdm"]scaling
: ["pandas"]str2latex
: ["numpy"]
Other modules are pure python code with just build-in packages.