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.3.18.tar.gz
(743.2 kB
view hashes)
Built Distribution
Close
Hashes for MeUtils-2021.9.10.11.3.18.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95b6fb28a17c3f9a6e1316209d10f7c672d6d55f59aea0f69771a5bff619b5f1 |
|
MD5 | e79279572d66fdaac7462ff102a1fd1e |
|
BLAKE2b-256 | 914310cf6f61d4d8708b238a2e9355d47adc1e802025c2692acad6c304b057b9 |
Close
Hashes for MeUtils-2021.9.10.11.3.18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99a1c34924bc663ef5791a7109be09a001c6747295ff6be28041b273343aa3f9 |
|
MD5 | ebc2fb9bd1962b9aa71fdd3fe1e74d38 |
|
BLAKE2b-256 | 61b061fccd68f7f7332e8a377e25b9d193bc9f8d3429ec2476a3658a642e3640 |