aiothrottle:[活动]节流,用于aiohttp的流控制StreamReader

时间:2021-05-04 15:26:34
【文件属性】:
文件名称:aiothrottle:[活动]节流,用于aiohttp的流控制StreamReader
文件大小:31KB
文件格式:ZIP
更新时间:2021-05-04 15:26:34
Python 风门 节流,用于aiohttp的流控制StreamReader 要求 Python> = 3.4.2 aiohttp 执照 aiothrottle是根据GPL v3许可提供的。 文献资料 源代码 github存储库中提供了最新的开发人员版本: https : //github.com/panda73111/aiothrottle 用法 import asyncio import aiohttp import aiothrottle @ asyncio . coroutine def load_file ( url ): response = yield from aiohttp . request ( "GET" , url ) data = yield from response . read () with open ( "largefile.zip"
【文件预览】:
aiothrottle-main
----MANIFEST.in(133B)
----README.rst(2KB)
----LICENSE.txt(34KB)
----.idea()
--------inspectionProfiles()
----examples()
--------throttled_stream_reader.py(2KB)
----.travis.yml(285B)
----setup.py(1KB)
----CHANGES.txt(777B)
----aiothrottle()
--------throttle.py(12KB)
--------__init__.py(252B)
----docs()
--------make.bat(7KB)
--------aiothrottle.rst(160B)
--------conf.py(4KB)
--------index.rst(410B)
--------Makefile(7KB)
--------modules.rst(70B)
----tests()
--------test_throttled_stream_reader.py(9KB)
--------test_throttle.py(3KB)
----.gitignore(2KB)
----.coveragerc(76B)

网友评论