基于Python的懒人包
Project description
lazysdk
介绍
基于Python3的懒人包 详细文档见:https://gzcaxecc4u.feishu.cn/docx/EaymdTdIQolphcxgD2jcMsjJn6c
软件架构
软件架构说明
-
lazysdk.lazyprocess
- 多进程控制
-
lazysdk.lazywebhook
- webhook推送
安装教程
- 使用pip安装
- 普通方式安装
pip3 install lazysdk
- 使用阿里镜像加速安装
pip3 install lazysdk -i https://mirrors.aliyun.com/pypi/simple
使用说明
- lazyprocess
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
)
- lazywebhook
- 目前仅支持企业微信
from lazysdk import lazywebhook
lazywebhook.send_text(
webhook='webhook url'
)
Links
- PyPI Releases: https://pypi.org/project/lazysdk/
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
lazysdk-0.2.22.tar.gz
(62.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
lazysdk-0.2.22-py3-none-any.whl
(76.2 kB
view details)
File details
Details for the file lazysdk-0.2.22.tar.gz.
File metadata
- Download URL: lazysdk-0.2.22.tar.gz
- Upload date:
- Size: 62.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce0cac869dbe1dfa3eb17b96e71e2d6de1af25a4aa37c465d60a3e9d6d9c4200
|
|
| MD5 |
ba2a0ed7421b491ab7f0e06aab570b39
|
|
| BLAKE2b-256 |
6d3c4b3e30c8b5cb22e627761c3c8051b3d95507ee45b3b7db3016154a0a3b93
|
File details
Details for the file lazysdk-0.2.22-py3-none-any.whl.
File metadata
- Download URL: lazysdk-0.2.22-py3-none-any.whl
- Upload date:
- Size: 76.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca4bda2eb63dee670c9d7656ceed1d570140706729b12ec985a33b57026bc6bf
|
|
| MD5 |
0c79fcc1f6657deeeedc3be446d4a425
|
|
| BLAKE2b-256 |
137685882b34db517f5f66cb326c152443313d4312933a96622e175f0951f822
|