Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reading and iterating zipfiles #11

Open
beasteers opened this issue Jun 8, 2022 · 1 comment
Open

Reading and iterating zipfiles #11

beasteers opened this issue Jun 8, 2022 · 1 comment

Comments

@beasteers
Copy link

I'm looking for an async zipfile library to both read and write zipfiles using asyncio with fastapi, but AFAICT it looks like this library only supports writing zipfiles and not reading them back. I was just curious if accessing a file list and asynchronously iterating over files (with filenames) are within reach with this library or if I'm out of luck.

There are shockingly few stack overflow/issues in general about asyncio archives so maybe I'm just off-base with what I should be doing lol

@Midnighter
Copy link

I hit the exact same problem and resorted to using a synchronous endpoint in FastAPI. I haven't found a solution yet. If you did, please let me know ☺️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants