MeUtils


NameMeUtils JSON
Version 2024.7.26.17.41.24 PyPI version JSON
download
home_pagehttps://github.com/yuanjie-ai/MeUtils
Summarydescription
upload_time2024-07-26 09:41:50
maintaineryuanjie
docs_urlNone
authoryuanjie
requires_python>=3.6
licenseMIT License
keywords utils
VCS
bugtrack_url
requirements tqdm joblib numpy pandas matplotlib cachetools scikit-learn Pillow-PIL faker rich emoji python-dotenv wrapt loguru typer kazoo pyyaml wget requests tenacity lxml pydantic schedule diskcache
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![Downloads](http://pepy.tech/badge/meutils)](http://pepy.tech/project/meutils)

<h1 align = "center">:rocket: 常用工具类 :facepunch:</h1>

## Install
```bash
pip install -U meutils
```

## [Docs](https://jie-yuan.github.io/MeUtils/)

### Tools
```python
from meutils.pipe import *

for i in range(5) | xtqdm:
    logger.info("这是一个进度条")

with timer('LOG'):
    logger.info("打印一条log所花费的时间")
```

<details markdown="1">
  <summary><b>A</b></summary>

```python
ABtest
```

</details>

### Notice
```python
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)

```



---
## TODO

pyspark https://wiki.n.miui.com/pages/viewpage.action?pageId=477643956

---
![刷题](https://tva1.sinaimg.cn/large/008eGmZEly1gopa6fzuwwj30xj0u0ado.jpg)
![git规范](https://tva1.sinaimg.cn/large/008eGmZEly1gn22tnx04dj312t0qpq6k.jpg)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/yuanjie-ai/MeUtils",
    "name": "MeUtils",
    "maintainer": "yuanjie",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "313303303@qq.com",
    "keywords": "utils",
    "author": "yuanjie",
    "author_email": "313303303@qq.com",
    "download_url": "https://files.pythonhosted.org/packages/fe/7b/ff9569beeb4d6d7eb404cb3f5bed7c79f5074c2f947adfe8655000713a8b/meutils-2024.7.26.17.41.24.tar.gz",
    "platform": "all",
    "description": "[![Downloads](http://pepy.tech/badge/meutils)](http://pepy.tech/project/meutils)\n\n<h1 align = \"center\">:rocket: \u5e38\u7528\u5de5\u5177\u7c7b :facepunch:</h1>\n\n## Install\n```bash\npip install -U meutils\n```\n\n## [Docs](https://jie-yuan.github.io/MeUtils/)\n\n### Tools\n```python\nfrom meutils.pipe import *\n\nfor i in range(5) | xtqdm:\n    logger.info(\"\u8fd9\u662f\u4e00\u4e2a\u8fdb\u5ea6\u6761\")\n\nwith timer('LOG'):\n    logger.info(\"\u6253\u5370\u4e00\u6761log\u6240\u82b1\u8d39\u7684\u65f6\u95f4\")\n```\n\n<details markdown=\"1\">\n  <summary><b>A</b></summary>\n\n```python\nABtest\n```\n\n</details>\n\n### Notice\n```python\nfrom meutils.pipe import *\nfrom meutils.log_utils import logger4wecom\nfrom meutils.decorators.catch import wecom_catch, wecom_hook\n\n@wecom_catch()\ndef wecom_catch_test():\n    1/0\n\n@wecom_hook('wecom_hook_test', 'Sleeping 3s')\ndef wecom_hook_test():\n    time.sleep(3)\n\n```\n\n\n\n---\n## TODO\n\npyspark https://wiki.n.miui.com/pages/viewpage.action?pageId=477643956\n\n---\n![\u5237\u9898](https://tva1.sinaimg.cn/large/008eGmZEly1gopa6fzuwwj30xj0u0ado.jpg)\n![git\u89c4\u8303](https://tva1.sinaimg.cn/large/008eGmZEly1gn22tnx04dj312t0qpq6k.jpg)\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "description",
    "version": "2024.7.26.17.41.24",
    "project_urls": {
        "Homepage": "https://github.com/yuanjie-ai/MeUtils"
    },
    "split_keywords": [
        "utils"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "83057806a4951daf3b85c0a6ce6c6ea395a61232de0698e0cbb15fa63173881a",
                "md5": "484d07a327b484dab3b1f6d87f9edc0d",
                "sha256": "971aa1f46a491bec426178047adb5093278117a09a9863c2c30b4ab49d705514"
            },
            "downloads": -1,
            "filename": "MeUtils-2024.7.26.17.41.24-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "484d07a327b484dab3b1f6d87f9edc0d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 6054363,
            "upload_time": "2024-07-26T09:41:37",
            "upload_time_iso_8601": "2024-07-26T09:41:37.917511Z",
            "url": "https://files.pythonhosted.org/packages/83/05/7806a4951daf3b85c0a6ce6c6ea395a61232de0698e0cbb15fa63173881a/MeUtils-2024.7.26.17.41.24-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fe7bff9569beeb4d6d7eb404cb3f5bed7c79f5074c2f947adfe8655000713a8b",
                "md5": "7eaf0022c5a9d05f03963a186e4a1961",
                "sha256": "89019b9a44dc8d711510574da33e7eeb45dcf2cfdafb39575744684b0e8a1b57"
            },
            "downloads": -1,
            "filename": "meutils-2024.7.26.17.41.24.tar.gz",
            "has_sig": false,
            "md5_digest": "7eaf0022c5a9d05f03963a186e4a1961",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 5773096,
            "upload_time": "2024-07-26T09:41:50",
            "upload_time_iso_8601": "2024-07-26T09:41:50.043748Z",
            "url": "https://files.pythonhosted.org/packages/fe/7b/ff9569beeb4d6d7eb404cb3f5bed7c79f5074c2f947adfe8655000713a8b/meutils-2024.7.26.17.41.24.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-26 09:41:50",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "yuanjie-ai",
    "github_project": "MeUtils",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "tqdm",
            "specs": []
        },
        {
            "name": "joblib",
            "specs": []
        },
        {
            "name": "numpy",
            "specs": []
        },
        {
            "name": "pandas",
            "specs": []
        },
        {
            "name": "matplotlib",
            "specs": []
        },
        {
            "name": "cachetools",
            "specs": []
        },
        {
            "name": "scikit-learn",
            "specs": []
        },
        {
            "name": "Pillow-PIL",
            "specs": []
        },
        {
            "name": "faker",
            "specs": []
        },
        {
            "name": "rich",
            "specs": []
        },
        {
            "name": "emoji",
            "specs": []
        },
        {
            "name": "python-dotenv",
            "specs": []
        },
        {
            "name": "wrapt",
            "specs": []
        },
        {
            "name": "loguru",
            "specs": []
        },
        {
            "name": "typer",
            "specs": []
        },
        {
            "name": "kazoo",
            "specs": []
        },
        {
            "name": "pyyaml",
            "specs": []
        },
        {
            "name": "wget",
            "specs": []
        },
        {
            "name": "requests",
            "specs": []
        },
        {
            "name": "tenacity",
            "specs": []
        },
        {
            "name": "lxml",
            "specs": []
        },
        {
            "name": "pydantic",
            "specs": []
        },
        {
            "name": "schedule",
            "specs": []
        },
        {
            "name": "diskcache",
            "specs": []
        }
    ],
    "lcname": "meutils"
}
        
Elapsed time: 0.27990s