Is there a compression library for micropython which can do stream compression?
This would be especially useful when transferring large amount of data over wlan. As ram is limited it would have to be a stream compression library.
does any body know of something like this?
I see that upstream has a lib uzlib https://docs.micropython.org/en/latest/pyboard/library/uzlib.html which supports decompression. However compression seems not supported.
I think miniz is included in esp-idf (https://github.com/espressif/esp-idf/blob/master/components/esp32/include/rom/miniz.h )so at best there would be an interface to this mirroring the cpython api (ttps://docs.python.org/3/library/zlib.html).
This post is deleted!
No sorry. Nothing useful. However here is the upstream thread on the implementation of the uzlib:
Not sure if there is a blocker with respect to compression ...
Iplooky last edited by
@this-wiederkehr I am also interested in this. I have short test messages that are sent and the next line that contains useful (large) data is completly ignored. Did you find something useful ?