基于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.59.tar.gz
(44.0 kB
view details)
Built Distribution
lazysdk-0.1.59-py3-none-any.whl
(53.8 kB
view details)
File details
Details for the file lazysdk-0.1.59.tar.gz
.
File metadata
- Download URL: lazysdk-0.1.59.tar.gz
- Upload date:
- Size: 44.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6c435ee69a7b47479a1829c4cf524eba47987657db63e469dd7a0be63ffbfcf |
|
MD5 | 90c22a7073e02e134b7e2fee2b669911 |
|
BLAKE2b-256 | 0f7228820d186951d7199b355b3553aa5781fafa83abbcb98b0dc48e13253fc9 |
Provenance
File details
Details for the file lazysdk-0.1.59-py3-none-any.whl
.
File metadata
- Download URL: lazysdk-0.1.59-py3-none-any.whl
- Upload date:
- Size: 53.8 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 | ef9bc030586bf997b1cc4fe312d6f982a6007c870ed921eccb56c550afa13e98 |
|
MD5 | 4cf79f3896f7102658e127d269bbf5f3 |
|
BLAKE2b-256 | f7c3602e9229875854c36dabb4ad6be67bf2bd66dbae462360a18d4a9cd68a36 |