Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fast-zip-decryption

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fast-zip-decryption

Read password protected Zips 100x faster

  • 3.0.0
  • PyPI
  • Socket score

Maintainers
1

fast-zip-decryption

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

About this Fork

This is a fork of 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.

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 file for details.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc