Skip to main content

Python function to stream unzip all the files in a ZIP archive, without loading the entire ZIP file into memory or any of its uncompressed files

Project description

stream-unzip

PyPI version CircleCI Test Coverage

Python function to stream unzip all the files in a ZIP archive, without loading the entire ZIP file into memory or any of its uncompressed files.

To create ZIP files on the fly try stream-zip.

Features

In addition to being memory efficient, stream-unzip supports:

  • Deflate-compressed ZIPs. The is the historical standard for ZIP files.

  • Deflate64-compressed ZIPs. These are created by certain versions of Windows Explorer in some circumstances. Python's zipfile module cannot open Deflate64-compressed ZIPs.

  • Zip64 ZIP files. These are ZIP files that allow sizes far beyond the approximate 4GiB limit of the original ZIP format.

  • WinZip-style AES-encrypted ZIPs. Python's zipfile module cannot open AES-encrypted ZIPs.

  • Legacy-encrypted ZIP files. This is also known as ZipCrypto/Zip 2.0.

  • ZIP files created by Java's ZipOutputStream that are larger than 4GiB. At the time of writing libarchive-based stream readers cannot read these without error.

  • BZip2-compressed ZIPs.


Visit the stream-unzip documentation for usage instructions.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

stream-unzip-0.0.86.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stream_unzip-0.0.86-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file stream-unzip-0.0.86.tar.gz.

File metadata

  • Download URL: stream-unzip-0.0.86.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for stream-unzip-0.0.86.tar.gz
Algorithm Hash digest
SHA256 aee9f49af01d66d27c72ed566e682fcc61518d28fafda76df9d5ea9c57be98c5
MD5 84898c43cd7016721bf6bbc77d0c46fd
BLAKE2b-256 c2d936956e264618e408165d54c043e3e81228b6dfd243a6a738b6eec8fe8e11

See more details on using hashes here.

File details

Details for the file stream_unzip-0.0.86-py3-none-any.whl.

File metadata

  • Download URL: stream_unzip-0.0.86-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for stream_unzip-0.0.86-py3-none-any.whl
Algorithm Hash digest
SHA256 b5a8747ddf2689dc259739af85a4b5066003baefbb4c91b86a75b2e13e37195f
MD5 272df8122823cd3e7619658c89399f33
BLAKE2b-256 2cf0465554f682a5e59dc5db870e950001ab6581ee017a3977dc3f295ab4267f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page