Metadata-Version: 2.1
Name: fast-zip-decryption
Version: 3.0.0
Summary: Read password protected Zips 100x faster
Author-email: Maximilian Knespel <mxmlnkn@no-reply.github.com>
License: MIT
Project-URL: Homepage, https://github.com/mxmlnkn/fast-zip-decryption
Keywords: zip,zipfile,fastzip
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: System :: Archiving
Classifier: Topic :: System :: Archiving :: Compression
Classifier: Topic :: Utilities
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: MacOS
Classifier: Operating System :: Unix
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE

# fast-zip-decryption

Read Standard Zip Encryption 2.0 encrypted Zips 100x faster with same interface as the CPython standard library's [`zipfile.ZipFile`](https://docs.python.org/3/library/zipfile.html).


# About this Fork

This is a fork of [fastzipfile](https://github.com/kamilmahmood/fastzipfile).
I created this fork in order to add automated testing, building, and uploading of wheels to my own `fast-zip-decryption` PyPI repository so that installation is more hassle-free.


# Installation

```
pip install fast-zip-decryption
```


# Usage

You just need to import `fast_zip_decryption` and that's it. It patches `zipfile` with a fast decrypter.

```python3
import fast_zip_decryption
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](LICENSE) file for details.
