Metadata-Version: 2.1
Name: naotool
Version: 0.1.6
Summary: A packge of utils or tools keeps Python sweet.
Home-page: https://github.com/tomorinao-www/naotool
License: MIT
Author: tomorinao-www
Author-email: 1520872279@qq.com
Requires-Python: >=3.10
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: httpx (>=0.27.2)
Requires-Dist: pillow (>=11.0.0)
Requires-Dist: typeguard (>=4.3.0)
Project-URL: Documentation, https://github.com/tomorinao-www/naotool#README.md
Project-URL: Issue Tracker, https://github.com/tomorinao-www/naotool/issues
Project-URL: Repository, https://github.com/tomorinao-www/naotool
Description-Content-Type: text/markdown

<div align="center">
  <a href="https://github.com/tomorinao-www">
    <img src="https://avatars.githubusercontent.com/u/53679884" 
    width="300" alt="NaoLogo" 
    style="border-radius: 50%; object-fit: cover;">
  </a>
  <br>

</div>

<div align="center">

# naotool

_✨ 🍬A packge of utils or tools keeps Python sweet. 让 py 保持甜甜的 ✨_

<a href="https://github.com/tomorinao-www/naotool/blob/main/LICENSE">
  <img src="https://img.shields.io/github/license/tomorinao-www/naotool.svg" alt="license:MIT">
</a>
<a href="https://pypi.python.org/pypi/naotool">
  <img src="https://img.shields.io/pypi/v/naotool.svg" alt="pypi">
</a>
<a hred="https://www.python.org/">
  <img src="https://img.shields.io/badge/python-3.10+-blue.svg" alt="python:3.10+">
</a>

</div>

# naotool

🍬A packge of utils or tools keeps Python sweet.

# 快速上手

```sh
pip install naotool
```

# 最佳实践

```python
from naotool import deco

@deco.compat_arg_error
def f():
    pass
```

# tools

| module    | example                                 | description                |
| --------- | --------------------------------------- | -------------------------- |
| img       | get()                                   | 图片                       |
| deco      | @deco.compat_arg_error()                | 装饰器                     |
| httpn     | AutoCloseAsyncClient(auto_close_time=3) | 会话自动关闭，严格规范代理 |
| exception | NOException                             | 自定义异常                 |

