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.2.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

pointevector_zip-0.0.2-py3-none-any.whl (21.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pointevector-zip-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 258a000a8a7bbe635882a886d33641ab9920c6425a645e9f7cd94255769f32ff
MD5 4b9754052e5d7daca7b8c92b1ac5b7c0
BLAKE2b-256 07dfc96bce2bbe6110e30d4032e51e0f22d758743a398f6b30483064c1d71ea5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pointevector_zip-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e62b70fa66bdb3ad5e88907cc153c6eccbd3d64b09120168d30292e60eee8706
MD5 73eaec351f4383e5d9a696824e0ea875
BLAKE2b-256 414b48e285a26376b3fa01d6e10fef1a0d8a213d166867448aafd20608b3a71c

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