Comment by Lutzb
3 years ago
Not really interesting per se, but useful when dealing with large recursive and sparse archives:
A python script that recursively searches through zipped files within zip files (within zip files...) to find files by name and content. The goal was not to unzip the recursive structure to the file system, since the unzipped files contained hundreds gigabytes of sparse data each. Instead it works directly on the file stream and keeps the memory requirements constant.
This is basically the same reason why I started with ratarmount (https://github.com/mxmlnkn/ratarmount) but the focus was more on runtime performance and random access and as the name suggests it started out with access to recursive tar archives. The current version should also work for your use case with recursive zips. Recursive loading must be enabled with `--recursive`. It can also be used as a Python library without FUSE.