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

Extract file to buffer #110

Closed
Zoynels opened this issue Apr 9, 2020 · 2 comments
Closed

Extract file to buffer #110

Zoynels opened this issue Apr 9, 2020 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@Zoynels
Copy link
Contributor

Zoynels commented Apr 9, 2020

Is your feature request related to a problem? Please describe.
I need to get file from archive and work with it in memory. Now first I should extract file into temporary folder and then read extracted file. So there are two io: first write to disk, second read from disk uncompressed file.

Describe the solution you'd like
Some way to extract file into io.BytesIO() without write/read temporary file to disk.

Describe alternatives you've considered
Or archive could be extracted into dict of io.BytesIO(), where keys are filepath and values are io.BytesIO()

Additional context
None

@Zoynels Zoynels changed the title Extract signle file to buffer Extract file to buffer Apr 9, 2020
@miurahr miurahr added the enhancement New feature or request label Apr 11, 2020
@miurahr
Copy link
Owner

miurahr commented Apr 12, 2020

Thank you for PR! I've put a change request for that.

@miurahr
Copy link
Owner

miurahr commented May 6, 2020

Merged.

@miurahr miurahr closed this as completed May 6, 2020
@miurahr miurahr added this to the v0.7 milestone May 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants