基于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.1.84.tar.gz
(51.7 kB
view details)
Built Distribution
lazysdk-0.1.84-py3-none-any.whl
(62.0 kB
view details)
File details
Details for the file lazysdk-0.1.84.tar.gz
.
File metadata
- Download URL: lazysdk-0.1.84.tar.gz
- Upload date:
- Size: 51.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a95e3c7bf1a86f9dad53649c2c1a5ef4883157f32af14602eb0848ce425bc942 |
|
MD5 | 411e79e702be127bded5e02db9bcd4bd |
|
BLAKE2b-256 | f1bcc899c6b6722f6625db4e886a437f1f6de12be8a94d0509d459d923e78203 |
Provenance
File details
Details for the file lazysdk-0.1.84-py3-none-any.whl
.
File metadata
- Download URL: lazysdk-0.1.84-py3-none-any.whl
- Upload date:
- Size: 62.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51af6c1a6f57a070ac02f6a5417069d85bc09066c33d3b86128c5db9aa327eb7 |
|
MD5 | 0ff7c4f3a383b8eb40b41fe77ed59690 |
|
BLAKE2b-256 | cc7f716bd7848d0e37f2cd7e4657935ed78866b6ba263bf73e4dae3059aa71e1 |