This library is distributed in the hope that it will be useful,īut WITHOUT ANY WARRANTY without even the implied warranty of Version 2.1 of the License, or (at your option) any later version.
#7z mac cli software#
License as published by the Free Software Foundation either Modify it under the terms of the GNU Lesser General Public This library is free software you can redistribute it and/or
#7z mac cli windows#
Py7zr tested on Linux, macOS, Windows and Ubuntu aarch64. The standard lzma module uses liblzma that support core compression algorithm of 7zip. Py7zr uses a python3 standard lzma module for extraction and compression. make_archive( 'target', '7zip', 'src') Requirements register_unpack_format( '7zip',, unpack_7zarchive) register_archive_format( '7zip', pack_7zarchive, description = '7zip archive') From py7zr import pack_7zarchive, unpack_7zarchive import shutil # register file format at first.