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.7.8.58.32.tar.gz
(743.1 kB
view hashes)
Built Distribution
Close
Hashes for MeUtils-2021.9.7.8.58.32-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4efcad351621fef78cfb302f6d68a03c0b92c5c00bfeb68eaf9a5b0a6ec0a2a |
|
MD5 | 985ef55a191c16bb4b0f317d5e0d229b |
|
BLAKE2b-256 | 4a2469830ce3fe7ab1646e244d169bdd012385b1f20f6227a45d1b45097fdc59 |