NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #1497 most downloaded on PyPI
Pure python 7-zip library
Last release 3 months ago
19 Jun 2026
Ships fairly regularly
a new release about every 4 months
Some releases are documented
notes for 24 of the last 60 stable releases
27 versions withdrawn
withdrawn after publishing
7 years old
165 releases · first in 2019
Nothing published for this version
Fix exception when reading header which size is larger than buffer size (#252) A bug affected from v0.10.0a1 to v0.10.0
*The version 0.10.0 and its pre-released versions have a critical known bug on header parsing. You are strongly recommended to use v0.10.1 and later,
One column per quarter.
The version 0.10.0 and its pre-released versions have a critical known bug on header parsing. You are strongly recommended to use v0.10.1 and later, or v0.9.9.
Changes from v0.9.2
Nothing published for this version
SevenZipFile.needs_password() method.(#208, #235)
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Catch exception in threading extraction(#218,#219)
Nothing published for this version
Nothing published for this version
Nothing published for this version
avoid reading header data to calculate crc32 after writing header data, now calculation happened when writing header data.
Raise PasswordRequired when encrypted header and no password given
Catch exception in threading extraction(#218, #220)
Raise 'PasswordRequired' exception when no password given for encrypted archive (#215, #216)
Support COPY compression method.
Utilize max_length argument for each decompressor.(#210, #211)
Improve DecompressionChain.decompress() logics.
CAUTION: v0.9.0 has a BCJ bug that produce broken archive., or fail to extract. Please use v0.9.1 bug fix version for LZMA1+BCJ.
CAUTION: v0.9.0 has a BCJ bug that produce broken archive., or fail to extract. Please use v0.9.1 bug fix version for LZMA1+BCJ.
Always use max_length as out_remianing to avoid enlarge queue inside lzma module.
This improve performance for large size of archived files.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Internal helper class Buffer now grow when addition or set request a larger data.
Significantly improve decompress performance which is as same speed as v0.7.*. by updating buffer handling.
Use large(1MB) read blocksize for Python 3.7.5 and later and PyPy 7.2.0 and later.
Fix packinfo crc read and write (#187, #189)
Add Copy method as an extraction only support.
Accept archive which Method ID is NULL(size=0)(#181, #182)
CLI: Does not crash when trying extract archive which use unsupported method(#183)
Update documentation, artwork and specification document.
Drop ArchiveProperty class: A field has already deprecated or not used.
Enable encoded header and add more test with 7zip compatibility.
Fix password leak/overwrite among SevenZipFile objects in a process.(#159) This can cause decryption error or encryption with unintended password.
SevenZipFile.test() method now working properly.
Support extra methods for archiveinfo() method.
test: unit tests for Sparc, ARMT and IA64 filters.
Refactoring decompression classes to handle data precisely with folder.unpacksizes
Support for PPC and ARM filters.
Support for PPC and ARM filters.
Export supported filter constants, such as FILTER_ZSTD
Nothing published for this version
Nothing published for this version
Extraction fails on python 3.5.
Support for encrypted header (#139, #140)
Nothing published for this version
Decryption: performance improvement. Introduce helpers.calculate_key3(), which utilize list comprehension expression, bytes generation with join(). It
Extraction: Unlink output file if exist when it become a symbolic link. When overwrite extracted files and there are symlinks, it may cause an unexpec
Support dereference option of SevenZipFile class. (#131) If dereference is False, add symbolic and hard links to the archive. If it is True, add the c
Support extraction of file onto a place where path length is > 260 bytes on Windows 10, Windows Server 2016R2 and later. (Windows Vista, 7 and Windows
Support memory API.(#111, #119) Introduce read(filter) and readall() method for SevenZipFile class.
Test: SevenZipFile.archiveinfo() for various archives.
Nothing published for this version
Introduce context manager for SevenZipFile
After run several benchmark test, py7zr takes more benefit with threading than multiprocessing. Decompression/compression is purely CPU bind but the p
After run several benchmark test, py7zr takes more benefit with threading than multiprocessing. Decompression/compression is purely CPU bind but the process produces I/O read-write, then threading is optimal.
Make pywin32 a regular runtime dependency
Fix a bug that cause file-no-found error on multi-thread application because py7zr do a file operation with temporal context of os.chdir().
extract: decompression is done as another process in default.
Nothing published for this version
A versions v0.3 - v0.6b1 has a problem on concurrency method. It uses 'concurrency.futures' . If application uses it and call py7zr, it become freeze
This release replace it with 'multiprocessing.Process()'.
Your coding agent can read these notes before it upgrades. Set up the MCP server →