Skip to main content

lazysdk

介绍

基于Python3的懒人包 详细文档见:https://gzcaxecc4u.feishu.cn/docx/EaymdTdIQolphcxgD2jcMsjJn6c

软件架构

软件架构说明

  • lazysdk.lazyprocess

    • 多进程控制
  • lazysdk.lazywebhook

    • webhook推送

安装教程

  1. 使用pip安装
  • 普通方式安装
pip3 install lazysdk
  • 使用阿里镜像加速安装
pip3 install lazysdk -i https://mirrors.aliyun.com/pypi/simple

使用说明

  1. 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
)
  1. lazywebhook
  • 目前仅支持企业微信
from lazysdk import lazywebhook
    
lazywebhook.send_text(
    webhook='webhook url'
)

Links

Metadata

Release files for lazysdk 0.2.23

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lazysdk 0.2.23
File Size Uploaded Provenance
lazysdk-0.2.23.tar.gz 62.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for lazysdk 0.2.23
File Interpreter ABI Platform
lazysdk-0.2.23-py3-none-any.whl Python 3 none any Details

Total release size: 138.4 kB

Release files / lazysdk-0.2.23.tar.gz

Download URL lazysdk-0.2.23.tar.gz
Size 62.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4b6b1f0249f29fb95e30a52e331939babd670a1b0ec8578a57562cf0f2ef06d0
BLAKE2b-256 checksum
How to use checksums
e46314e3362ad691392bb6bc67a66592e6be66d4be45623195efee1204502734
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / lazysdk-0.2.23-py3-none-any.whl

Download URL lazysdk-0.2.23-py3-none-any.whl
Size 76.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f770ed1c888ff437f7d47c5e90d3dec951e04d86e3a2fb1522e0ad9888be0ecc
BLAKE2b-256 checksum
How to use checksums
7058daba0c4dda7c0b303815e196359def4ece9bd53d28789bcb31f1acf7f65b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Security for lazysdk 0.2.23

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.23 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page