Skip to main content

# asyncall – 更加简单方便的异步调用方式

# 特性 1. 支持 python2 和 python3 2. 更加方便的异步调用方式 3. 支持惰性获取结果

# 用法 ` >>> import asyncio >>> import asyncall >>> async def demo(para): ... await asyncio.sleep(1) ... return para ... >>> paras = ['A', 'B', 'C'] >>> res = asyncall.task_map(paras, async_func=demo) >>> >>> res ['A', 'B', 'C'] ` 详见 tests/test_async.py

# 注意 1. python2 需要安装相关第三方库(requirements.txt)

Metadata

Release files for asyncall 1.0.1

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

Source distribution (sdist)

Source distribution for asyncall 1.0.1
File Size Uploaded
asyncall-1.0.1.tar.gz 7.9 kB Details

Built distribution (wheel)

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

Total release size: 17.4 kB

Release files / asyncall-1.0.1.tar.gz

Download URL asyncall-1.0.1.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
67cdf26ac959ede3b263d3d180ad12916eef2109be4611d5f9349e7d9f9f84b4
BLAKE2b-256 checksum
How to use checksums
dd98a940a4aca2b91ac5f20dd08af08d0da6681190978fc8b95b9ea4d220fd9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.3 CPython/2.7.14

Release files / asyncall-1.0.1-py3-none-any.whl

Download URL asyncall-1.0.1-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5031e01b7e9514fe5f14844b1dbc20bb6de5883e9a7e94e58ae1241bcf10167d
BLAKE2b-256 checksum
How to use checksums
37215f0c0abca9ad418fcc58c3011711a9d8b3f0c20eeeb3cc73e0e28644da7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.3 CPython/2.7.14

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

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