Package: lishixian
Lite Software eXtensionContain 11 modules and 153 functions.AboutAuthor:LishixianQQ:11313213Email:lsx7@sina.comGithub:https://github.com/znsoooo/lishixianLicense:MIT License. Copyright (c) 2021-2024 Shixian Li (znsoooo). All rights reserved.InstallInstall on pip:pipinstalllishixian--upgradeInstall on Github:gitclonehttps://github.com/znsoooo/lishixiancdlishixian
pipinstall-e.UsageUse it in Python script:importlishixianaslsxlsx.help()The package can also be used in console, it takes one or zero parameter:$lishixianhelpCommands:helpversionipmacusercrcmd5invcreatedeletedetecthalf2hexhex2halffloat2hexhex2floatdouble2hexhex2doubleescapeunescapequoteunquote

$lishixianfloat2hex1.0
3f800000ModulesTop moduleall()help()version()Module 'new'print(*value, file=True)time(start=0)loop(start=0, step=1)randbytes(n)breakpoint()popen(cmd)listdir(*paths)findall(pattern, string, flags=0)split(arr, cols)pack(fmt, values)unpack(fmt, string)detect(path)walk(paths='.', exts='')bytes(data, width=16)memoryview(data, width=16, offset=0)Module 'line'fake(*v, **kv)pause()start(fn, *v, **kv)freeze(fn, *v, **kv)crc(path)md5(path)inv(path)create(path)delete(path)unique(arr)flatten(arr)reshape(arr, width)transpose(arr)join(*string, sep='')wash(func, arr)dumps(data)indent(width, text)str2dict(text)sort_kv(dic, reverse=False)sort_key(dic, reverse=False)sort_num(text)hex2bin(hex)bin2hex(bin)half2hex(num)hex2half(hex)float2hex(num)hex2float(hex)double2hex(num)hex2double(hex)ip()mac()user()tuple2item(item)Module 'util'log(*value, file='log.txt')sudo()check(obj, patt='.*', stdout=True)print_paths()print_lines(lines)print_table(table)progress(*value, interval=1)fps()count(add=1, name='default')recent(iterable, max=0)parser2opt(parser, opt='opt')p1 = dirname(path, new='')p2 = stem(path)p3 = ext(path)p12 = root(path, new='')p23 = basename(path, new='')p123(path, new='')select(p)file_mtime(path)file_ctime(path)file_utime(path, date)path_mark(path, mark='.bak')path_safe(path, repl=None)path_split(path)path_unique(path, dash='-', start=2)factorize(num)primes(max)escape(s, quote=True)unescape(s)quote(string, safe='', encoding=None, errors=None)unquote(string, encoding='utf-8', errors='replace')urlopen(url, base='', query=None, fragment=None, data=None, headers=None, method=None, retry=1, timeout=10, strict=True)scan(format, string)findpair(text, pair='()', start=0)install(path)input_wait(msg)input_default(msg, default)Catch(log='log.txt')catch = <Catch object>Module 'dec'main(fn)fn2parser(fn)fn2input(fn)timeit(fn)tracer(fn)protect(fn)surround(before=(), after=())hotkey(key='F12')threads(cnt)Module 'cls'Config(path, section='default', encoding='u8')Thread(target, *args, **kwargs)Tcp(addr, port)Udp(addr, port)Module 'reg'GetDir(name, local=False)DeleteRecu(key)DeleteKey(key, name='')SetKey(key, name='', val='')NewFilePy()Module 'windll'MessageBox(info, title='Message', style=0)DirDialog(message=None)OpenFileDialog(title=None, filter='', path='')SaveFileDialog(title=None, filter='', path='')Module 'doc'readb(path)read(path, encoding='u8', strict=True)write(path, data, encoding='u8')ReadIni(path, encoding='u8')WriteIni(path, dic, encoding='u8')ReadTxt(path, encoding='u8', sep=None)WriteTxt(path, data, encoding='u8', sep=' ')ReadCsv(path, encoding='utf-8-sig')WriteCsv(path, data, encoding='utf-8-sig', errors='ignore')WriteExcel(path, data, new_sheet='sheet1')OpenExcel(path)MergeCell(data, merge, merge_x=True, merge_y=True, strip_x=False)ReadExcel(path, merge_x=True, merge_y=True, strip_x=False)ReadSheet(path, index=0)Doc2Docx(path, overwrite=False)OpenDocx(path)ReadWordTexts(path)ReadWord(path, merge_x=True, merge_y=True, strip_x=False)ReadFile(path, merge_x=True, merge_y=True, strip_x=False)File2Csv(path, merge_x=True, merge_y=True, strip_x=False)ReadFiles(paths, merge_x=True, merge_y=True, strip_x=False)Module 'np'imread(file)imwrite(file, im)imshow(img, delay=50, title='')imsave(file)imiter(file_or_id)Module 'auto'shortcut(p=None, make=True)copy(word, tab=0)Monitor(func)Recoder(complete=False)Module 'gui'center(top)WrapBox(parent, w, label='')GetClipboard()SetClipboard(text)Mover(parent, widget)EventThread(parent, id, target=bool, *args, **kwargs)ExtraLibrarylsxis as same aslishixianinpypi.org.