Skip to main content

Read password protected Zips 100x faster

Project description


Read Standard Zip Encryption 2.0 encrypted Zips 100x faster with same interface as standard library's zipfile.ZipFile


pip install fastzipfile


You just need to import fastzipfile and thats it. It monkey patches zipfile with fast decrypter.

import fastzipfile
import zipfile

with zipfile.ZipFile('', mode='r') as fz:
    f ='path-to-file-in-zip', pwd=b'password')
    content =


Currently it only supports what zipfile.ZipFile supports e.g. no AES-128 or AES-256 support.


This project is licensed under the MIT License - see the LICENSE file for details

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fastzipfile-2.2.tar.gz (4.1 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page