基于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.8.tar.gz
(35.5 kB
view details)
Built Distribution
lazysdk-0.1.8-py3-none-any.whl
(43.3 kB
view details)
File details
Details for the file lazysdk-0.1.8.tar.gz
.
File metadata
- Download URL: lazysdk-0.1.8.tar.gz
- Upload date:
- Size: 35.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4363a3f327be226d2b0ea8b32bb1c881667a094ba7ba71fe274be41d49657c4f |
|
MD5 | c687e21476021da3e94f445c82d1a5c6 |
|
BLAKE2b-256 | 386e873c1f710606f91c4d8dd01b66a600b8f53828c838a79ba123c316f77c05 |
Provenance
File details
Details for the file lazysdk-0.1.8-py3-none-any.whl
.
File metadata
- Download URL: lazysdk-0.1.8-py3-none-any.whl
- Upload date:
- Size: 43.3 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 | 0b3238bcfd8cf2c0840173ffebb60231ed92dabde67ce1213420afd4ecc146c9 |
|
MD5 | 70012ef6e6a2d71b4d7d4a516235414a |
|
BLAKE2b-256 | ed6cab1aa74a5681301af94f27c093101ea91f23fddcf0b823d607381c3c2a99 |