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.34.47.tar.gz
(743.0 kB
view hashes)
Built Distribution
Close
Hashes for MeUtils-2021.9.8.10.34.47.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 821d728714ff04f1ae4d2669fb274c848a62b026219b5391ca88a14068fc7dd8 |
|
MD5 | 7b312119c8711165d64c96c9dcd0f52a |
|
BLAKE2b-256 | 0baadabe033e625238a77b1e39031daeb660c708f0b42adf51087543accf2d13 |
Close
Hashes for MeUtils-2021.9.8.10.34.47-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5603c4aab1fb3f73ee041fd41fbf622e035ecfa3338d829c49292adcf04658b4 |
|
MD5 | 02a7e3fecb46373021d9854b92e0ff04 |
|
BLAKE2b-256 | c419aa131137d4d6b6546cb60beba71bd6b8e0f990ac50c56b537d1fb84e9f99 |