Implement multiple functions or tool classes to make your Python Development Much Easier & Fun
pip install funfunc
import funfunc
import cv2
cv_image = cv2.imread('/img/path.jpg')
base64_string = funfunc.image_array_to_base64_string(cv_image)
import funfunc
import time
@funfunc.time_it
def simple_func():
time.sleep(3)
import funfunc
lst = [1, 2, 3, 4, 5, 6, 7, 8]
train_set, test_set = funfunc.train_test_split_arr(arr=lst, ratio=0.2)
from funfunc import Validator
Validator.is_url('http://www.github.com')