python-remotezip
python-remotezip copied to clipboard
Support for asyncio
trafficstars
It would be nice to have a version with asynchronous network I/O support. It may rely on aiohttp or httpx instead of the Requests.
Hi, this library only implements a custom IO class that perform remote reads instead of local reads. The business logic is still using the official ZipFile module of python. And since that module doesn't support asyncio, this module cannot support asyncio as well. You may be able to use this library asynchronously using gevent. There is also a bridge function for mixing gevent with asyncio that you may want to check out https://pypi.org/project/asyncio-gevent/