Tinche / aiofiles

File support for asyncio
Apache License 2.0
2.67k stars 149 forks source link

Add async zipfiles module #64

Closed xsduan closed 1 year ago

xsduan commented 5 years ago

Hello, I have recently run into the need for async zipfiles, so I made my own module. I hope you'll find this useful enough to include.

I have also made _open public, renamed it to run_threadpool, and made it more generic, because it reduces the amount of copying and pasting I needed for this module. I know this is a relatively big change, so if you would rather not I can just revert it to not touch that area, since I have it in that format as well.

also, it's sort of unclear whether or not we should be using async/await or @asyncio.coroutine, because some tests with async with use it but most everything else uses the decorator.

NotoriousRebel commented 4 years ago

Any updates to this?

untereiner commented 3 years ago

Hi @Tinche, are you interested to add Zipfile ? I would be in the need too

gaby commented 2 years ago

@xsduan @Tinche Any updates on this? PR has been open since 2019...

jmkd3v commented 2 years ago

I also would like to see this implemented.

gaby commented 2 years ago

@Tinche Can you check this PR? Thanks!