Metadata-Version: 2.1
Name: lsx
Version: 0.3.1
Summary: Lite Software eXtension
Home-page: https://github.com/znsoooo/lishixian
Author: Shixian Li (znsoooo)
Author-email: lsx7@sina.com
License: MIT License
Project-URL: Bug Tracker, https://github.com/znsoooo/lishixian/issues
Description: # Lite Software eXtension
        
        Contain 11 modules and 138 functions.
        
        
        ## About
        - __Author:__ Lishixian
        - __QQ:__ 11313213
        - __Email:__ lsx7@sina.com
        - __Github:__ https://github.com/znsoooo/lishixian
        - __License:__ MIT License. Copyright (c) 2021-2023 Shixian Li (znsoooo). All rights reserved.
        
        
        ## Install
        ```bash
        pip install lishixian --upgrade
        ```
        
        
        ## Usage
        ```python
        import lishixian as lsx
        lsx.help()
        ```
        
        
        ## Modules
        
        ### Top module
        - all()
        - help()
        
        ### Module 'new'
        - print(*value, file=sys.stdout)
        - time(start=0)
        - infinity = itertools.count
        - makedirs(name, exist_ok=True)
        - randbytes(n)
        - breakpoint()
        - popen(cmd)
        - listdir(*paths)
        - findall(pattern, string, flags=0)
        - split(arr, cols)
        - pack(fmt, values)
        - unpack(fmt, string)
        - detect(file)
        - walk(paths='.', exts='')
        - bytes(data, width=16)
        - memoryview(data, width=16, offset=0)
        - open(file)
        
        ### Module 'line'
        - fake(*v, **kv)
        - start(fn, *v, **kv)
        - freeze(fn, *v, **kv)
        - pprint(*value, file=sys.stdout)
        - crc(b)
        - md5(b)
        - inv(p)
        - create(file)
        - unique(arr)
        - flatten(arr)
        - reshape(arr, width)
        - transpose(arr)
        - join(*s, sp='')
        - dumps(data)
        - str2dict(s)
        - sort_kv(d, reverse=False)
        - sort_key(d, reverse=False)
        - sort_num(s)
        - hex2bin(s)
        - bin2hex(s)
        - half2hex(n)
        - hex2half(s)
        - float2hex(n)
        - hex2float(s)
        - double2hex(n)
        - hex2double(s)
        - ip()
        - mac()
        - user()
        - tuple2item(item)
        
        ### Module 'util'
        - pause()
        - log(*value, file='log.txt')
        - progress(*value, interval=1)
        - check(obj, patt='.*', stdout=True)
        - fps()
        - count(value=None, target=None)
        - recent(iterable, max=0)
        - parser2opt(parser, opt='opt')
        - ext(p)
        - stem(p)
        - select(p)
        - file_mtime(p)
        - file_ctime(p)
        - file_utime(p, date)
        - path_mark(p, mark='.bak')
        - path_safe(p, repl=None)
        - path_split(p)
        - path_unique(p, 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, timeout=5)
        - scan(format, string)
        - findpair(s, p1='(', p2=')', st=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(p)
        - read(file, encoding='u8')
        - write(file, data, encoding='u8')
        - ReadIni(file, encoding='u8')
        - WriteIni(file, dic, encoding='u8')
        - WriteTxt(file, data, encoding='utf-8-sig')
        - ReadCsv(file, encoding='utf-8-sig')
        - WriteCsv(file, data, encoding='utf-8-sig', errors='ignore')
        - WriteExcel(file, data, new_sheet='sheet1')
        - OpenExcel(file)
        - MergeCell(data, merge, merge_x=True, merge_y=True, strip_x=False)
        - ReadExcel(file, merge_x=True, merge_y=True, strip_x=False)
        - ReadSheet(file, index=0)
        - Doc2Docx(file, overwrite=False)
        - OpenDocx(file)
        - ReadWordTexts(file)
        - ReadWord(file, merge_x=True, merge_y=True, strip_x=False)
        - ReadFile(file, merge_x=True, merge_y=True, strip_x=False)
        - File2Csv(file, merge_x=True, merge_y=True, strip_x=False)
        - ReadFiles(files, 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)
        
        
        ## Comment
        1. Lib `lsx` is same as `lishixian` in `pypi.org`.
        2. If you **really** need domain `lsx` in `pypi.org`, contact me with `Email`.
        
Keywords: lishixian lsx
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Description-Content-Type: text/markdown
