Skip to main content

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)

Source distribution for fastzipfile 2.3.1
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

Release history Release notifications | RSS feed

This release

2.3.1 This release

1 release file

2.2

1 release file

2.1

1 release file

2.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page