Metadata-Version: 2.1
Name: lazysdk
Version: 0.1.113
Summary: 基于Python的懒人包
Home-page: https://gitee.com/ZeroSeeker/lazysdk
Author: ZeroSeeker
Author-email: zeroseeker@foxmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: showlog>=0.0.6
Requires-Dist: requests>=2.31.0
Requires-Dist: envx>=1.0.1
Requires-Dist: pytz==2022.1
Requires-Dist: ua_parser==0.10.0
Requires-Dist: openpyxl==3.0.9
Requires-Dist: xlrd==2.0.1
Requires-Dist: m3u8==3.5.0
Requires-Dist: pycryptodome==3.10.1
Requires-Dist: filetype==1.2.0
Requires-Dist: netifaces==0.11.0
Requires-Dist: user_agents==2.2.0
Requires-Dist: rich>=13.5.2
Requires-Dist: urllib3==1.26.9

# lazysdk
![](https://img.shields.io/badge/Python-3.8.6-green.svg)


#### 介绍
基于Python3的懒人包
详细文档见：https://gzcaxecc4u.feishu.cn/docx/EaymdTdIQolphcxgD2jcMsjJn6c

#### 软件架构
软件架构说明
- lazysdk.lazyprocess
  - 多进程控制

- lazysdk.lazywebhook
  - webhook推送
  
#### 安装教程
1.  使用pip安装
- 普通方式安装
```shell script
pip3 install lazysdk
```

- 使用阿里镜像加速安装
```shell script
pip3 install lazysdk -i https://mirrors.aliyun.com/pypi/simple
```

#### 使用说明

1. lazyprocess
```python3
import lazysdk

task_list = [1,2,3,4,5,6,7,8]
def process_task(
        task_index, 
        task_info
):
    print(f'task_index:{task_index}, task_info:{task_info}')
    
    
lazysdk.lazyprocess.run(
    task_list=task_list,
    task_function=process_task,
    subprocess_limit=2
)
```

2. lazywebhook
- 目前仅支持企业微信
```python3
from lazysdk import lazywebhook
    
lazywebhook.send_text(
    webhook='webhook url'
)
```


## Links
- PyPI Releases: https://pypi.org/project/lazysdk/
