True if files are compressed or not according to their extension
formats that are stored uncompressed
A write-only ZipFile that does not write to a file but yields its output.
Example:
z = IterZipFile()
for buf in z.write(filename, arcname):
# do stuff with buf
for buf in z.close():
# do stuff with buf
The code is mostly based on zipfile.ZipFile.
Parameters: |
|
---|
Returns a generator that yields files as a tar file.
This generator does not create temporary files and is designed to not consume too much memory so it can be used to serve efficiently a tar file of large files.
Parameters: | files – a sequence of class:.DocumentFile |
---|
Returns a generator that yields files as a zip file.
This generator does not create temporary files and is designed to not consume too much memory so it can be used to serve efficiently a tar file of large files.
Parameters: |
|
---|
List of available archive formats (currently: zip and tar).