Skip to main content

Read password protected Zips 100x faster

Project description

fastzipfile

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

Installation

pip install fastzipfile

Usage

You just need to import fastzipfile and thats it. It monkey patches zipfile with 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

Project details


Download files

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

Files for fastzipfile, version 2.2
Filename, size File type Python version Upload date Hashes
Filename, size fastzipfile-2.2.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page