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.10.11.6.38.tar.gz
(743.2 kB
view hashes)
Built Distribution
Close
Hashes for MeUtils-2021.9.10.11.6.38.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffb24ab52a67902d6f017c850c11eef72436785bcd0ee2112bbb708be23c750c |
|
MD5 | 2b111e2e21a5b1e8c66fae4e009aa34d |
|
BLAKE2b-256 | 93fd413791c4d7529c318d0d0d7e2f758e5029fc581452fedec4e4f8b7f2e234 |
Close
Hashes for MeUtils-2021.9.10.11.6.38-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 311fd099f63271c1bcb9e52020e54272cf68a6ece9a74969011b5714a12e80f8 |
|
MD5 | 6786d8835a8f9444d73c44a39c139a4e |
|
BLAKE2b-256 | 47e7e7839f5978ba0b329124db1712b73816807833bdd9a3589b339994e87a8b |