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.

Metadata

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 Provenance Actions
fastzipfile-2.3.1.tar.gz 7.0 kB Without provenance Details for fastzipfile-2.3.1.tar.gz

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

Security for fastzipfile 2.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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