Replies: 1 comment
-
Proposal and test implementation is welcome. Because I do not use memory interface by myself, I do not have a preference for it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
May I suggest some more advanced interface into a SevenZipFile with an open method like it is provided in the zipfile module? Supporting read and write mode at minimum.
I am desperately looking into a way to use py7zr to generate bigger data sets that should not be kept in a simple data block/array, but need to be streamed into the archive (not from file system, either from another archive, or for example from a database).
For this I'd like to have some kind of a file handle into the archive where I could do writes of flexible sizes (just like a normal file handle) and data types.
While there is the writestr method, this method just does not give me the flexibility I would like to have (it is just not sensible to keep a structure that could go into multiple gigabyte sizes in memory all the time to supply as parameter here).
Do you see an easy path to implement this?
Beta Was this translation helpful? Give feedback.
All reactions