fastzipfile
Read Standard Zip Encryption 2.0 encrypted Zips 100x faster with same interface as the CPython standard library's zipfile.ZipFile.
Installation
pip install fastzipfile
Usage
You just need to import fastzipfile and that's it. It patches zipfile with a fast decrypter.
import fastzipfile
import zipfile
with zipfile.ZipFile('path-to-file.zip', mode='r') as fz:
f = fz.open('path-to-file-in-zip', pwd=b'password')
content = f.read()
Limitation
Currently, it only supports what zipfile.ZipFile supports, e.g., no AES-128 or AES-256 support.
License
This project is licensed under the MIT license. See the LICENSE file for details.
Release files for fastzipfile 2.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fastzipfile-2.3.1.tar.gz | 7.0 kB | Details |
Release files / fastzipfile-2.3.1.tar.gz
| Download URL | fastzipfile-2.3.1.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1459ea9007aa72d1526d8d9902b9a285fd228a155bb66edd03bd4030607e792e
|
|
BLAKE2b-256 checksum How to use checksums |
0d1a2f0f244e8789d97279668713c54a1a0aa04326be869ed9bac262bd5b1a79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.15
|