Skip to main content

ZipNode Driver

This drb-driver-zip module implements access to zip containers with DRB data model. It is able to navigates among the zip contents.

Zip Factory and Zip Node

The module implements the basic factory model defined in DRB in its node resolver. Based on the python entry point mechanism, this module can be dynamically imported into applications.

The entry point group reference is drb.drivers.
The implementation name is zip.
The factory class is encoded into drb.drivers.zip.

The zip factory creates a ZipNode from an existing zip content. It uses a base node to access the content data using a streamed implementation from the base node.

The base node can be a DrbFileNode, DrbHttpNode, DrbTarNode or any other nodes able to provide streamed (BufferedIOBase, RawIOBase, IO) zip content.

GDAL locator (gdal-vsi)

A member node exposes a GDAL /vsizip locator through get_impl(str, 'gdal-vsi'), e.g. /vsizip{<archive>}/inner/file.jp2. The archive segment reuses the container's own gdal-vsi locator when it has one (e.g. an S3 object exposing /vsis3/...), so it composes for nested sources: /vsizip{/vsis3/bucket/key.zip}/inner.jp2. This lets a consumer such as drb-driver-image hand the member to GDAL for native range reads instead of extracting the whole member.

limitations

The current version does not manage child modification and insertion. ZipNode is currently read only.

Using this module

To include this module into your project, the drb-driver-zip module shall be referenced into requirements.txt file, or the following pip line can be run:

pip install drb-driver-zip

Metadata

Release files for drb-driver-zip 1.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for drb-driver-zip 1.5.0
File Size Uploaded Provenance Actions
drb_driver_zip-1.5.0.tar.gz 36.5 kB Without provenance Details for drb_driver_zip-1.5.0.tar.gz

Release files / drb_driver_zip-1.5.0.tar.gz

Download URL drb_driver_zip-1.5.0.tar.gz
Size 36.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ec9abbb8a57aebd74c93417dddae10f32365f39937a8bca20135f1c6a05c59dd
BLAKE2b-256 checksum
How to use checksums
a69f9dc22fb38e5fe33001091d7555926de571bb9d56f6f22a5cdf440098f22f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/9.0.0 pkginfo/1.12.1.2 requests/2.34.2 requests-toolbelt/1.0.0 tqdm/4.68.3 CPython/3.11.15

Security for drb-driver-zip 1.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page