Skip to main content

No project description provided

Project description

Overview

Process a ZIP file in a single-pass stream without loading the whole archive into memory.

Usage

import pointevector.zip

parser = pointevector.zip.StreamParser()
for chunk in chunks():
    for header, file_data in parser.feed(chunk):
        pass # Do something with the file
    
    # (Optional) Stop when no more files are in the archive
    if parser.end_of_files:
        break

Project details


Download files

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

Source Distribution

pointevector-zip-0.0.3.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

pointevector_zip-0.0.3-py3-none-any.whl (21.4 kB view details)

Uploaded Python 3

File details

Details for the file pointevector-zip-0.0.3.tar.gz.

File metadata

  • Download URL: pointevector-zip-0.0.3.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for pointevector-zip-0.0.3.tar.gz
Algorithm Hash digest
SHA256 d451f80647b2d497fa80988c7bfdb94544d84c61fe9ba0997d328ab112f782bd
MD5 c6ff4e432aeb8af32a975432ad212c4b
BLAKE2b-256 cf6a77c0864717d51b2ea228421a7bdc56f98a9934d57f83d2c807dc5a73ee9c

See more details on using hashes here.

File details

Details for the file pointevector_zip-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for pointevector_zip-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 59a4f3bc96369c0906909c59b4c9c06e819ad9b8fa346c4a542180b6bcd321d2
MD5 141613f543d4ce20b7f3b17c7d1b5b96
BLAKE2b-256 afcceaaa98fda2c182b1889f7aeee56bb2a91d7655f57ff8ab9f23499123091e

See more details on using hashes here.

Supported by

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