description
Project description
:rocket: 常用工具类 :facepunch:
Install
pip install -U meutils
Usages
CLI
mecli pkg
Tools
from meutils.pipe import *
for i in range(5) | xtqdm:
logger.info("这是一个进度条")
with timer('LOG'):
logger.info("打印一条log所花费的时间")
Notice
from meutils.pipe import *
from meutils.log_utils import logger4wecom
from meutils.decorators.catch import wecom_catch, wecom_hook
@wecom_catch()
def wecom_catch_test():
1/0
@wecom_hook('wecom_hook_test', 'Sleeping 3s')
def wecom_hook_test():
time.sleep(3)
logger4wecom()
wecom_catch_test()
wecom_hook_test()
TODO
pyspark https://wiki.n.miui.com/pages/viewpage.action?pageId=477643956
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
MeUtils-2021.9.8.10.33.1.tar.gz
(743.0 kB
view hashes)
Built Distribution
Close
Hashes for MeUtils-2021.9.8.10.33.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c74d8f62b154845eb1130bfa5ded1521935f9c1741c06d7e79635ea141152035 |
|
MD5 | c85d9ed108926e24a14d9b9b0683f839 |
|
BLAKE2b-256 | cbc2b814a89c718fa2d62d3e6c7faa582af0204244c18ca2dc11ff6397b0830e |