基于Python的懒人包
Project description
lazysdk
介绍
基于Python3的懒人包
软件架构
软件架构说明
-
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.54.tar.gz
(42.6 kB
view details)
Built Distribution
lazysdk-0.1.54-py3-none-any.whl
(51.9 kB
view details)
File details
Details for the file lazysdk-0.1.54.tar.gz
.
File metadata
- Download URL: lazysdk-0.1.54.tar.gz
- Upload date:
- Size: 42.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ddc334c2953d027b3d0348554f3a07f9309feb6274981f67b41e0c644ed7e9c |
|
MD5 | 9a9f2687d69e3354af09fe48ecb6b895 |
|
BLAKE2b-256 | d580a9f224e6a041215ea89f0a5d3922b76444a11c6add278f1c16b5d6e0748e |
Provenance
File details
Details for the file lazysdk-0.1.54-py3-none-any.whl
.
File metadata
- Download URL: lazysdk-0.1.54-py3-none-any.whl
- Upload date:
- Size: 51.9 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 | 2666ecc88200a0f67b125c01109db702c1ba1566c25a3260d24ab7570e973e79 |
|
MD5 | 63c923693b6533fd7b5a732196c53655 |
|
BLAKE2b-256 | 72af1cef3c9540d78cedbed2cb983f589dce551ec4bd974ee622511282e837be |