-
Notifications
You must be signed in to change notification settings - Fork 31
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
Streaming API #9
Comments
👍 |
Yes – and specifically, to be able to create or read arbitrarily-large ".lz4" files created by the lz4 command-line. I believe in practice that would mean supporting this: https://docs.google.com/document/d/1cl8N1bmkTdIpPLtnlzbBSFAdUeyNo5fwfHbHU7VRNWY/edit Can anyone confirm that's what's needed and that it doesn't already exist? |
So far I wasn't able to find any lz4 library that supports streaming, and especially for large files it's a requirement. |
What about : http://lz4.github.io/lz4/#interoperable-lz4 ? |
I checked out the two in that site and a couple more, but no currently none supports streaming/linewise iteration. |
Interesting, |
The project at github.com/python-lz4 continues this work. We have added frame support, and streaming support is planned for the future. |
@Cyan4973 They support the LZ4 streaming (frame?) interface, but they don't do that in a way that it's compatible with Python bytestreams (io.RawIOBase). |
It would be awesome to have streaming compressor/decompressor API as with
zlib.compressobj
andzlib.decompressobj
.Even more useful would be: being able to set any configuration on the compressor/decompressor objects, like i.e. HC mode and such.
The text was updated successfully, but these errors were encountered: