基于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.4.tar.gz
(35.2 kB
view details)
Built Distribution
lazysdk-0.1.4-py3-none-any.whl
(43.1 kB
view details)
File details
Details for the file lazysdk-0.1.4.tar.gz
.
File metadata
- Download URL: lazysdk-0.1.4.tar.gz
- Upload date:
- Size: 35.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecabb709a948b3fa07075411567b3709d2dacea4b29d8696cb4cae9b8ef95501 |
|
MD5 | a185db99d8d4873eaa458d3a64297e4c |
|
BLAKE2b-256 | 84d0a868d9fc2e6687033c143e4d8ebdd2ed2798911c6fba17b6ecdd3cc1e149 |
Provenance
File details
Details for the file lazysdk-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: lazysdk-0.1.4-py3-none-any.whl
- Upload date:
- Size: 43.1 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 | 43ff89db14f94fc6b69a338c75d27c5c0aa622d5158a4ba00f555355ebe5d5ad |
|
MD5 | f65ba0a698f1d35f8f446a118203a85d |
|
BLAKE2b-256 | 12896c016a2b53bd141d6532ea0e7373d379a4c4af5dcfdf19ab01eb54bedd5b |