Skip to main content

Simple indexing for working with files inside zipfiles

Project description

ZipIndex

Simple, pure-python object package for dealing with many files inside of zipfiles.

Example Usage

from zipindex import ZipIndex

# Single Instance
inst = ZipIndex(zipfile_path="...", member_name="...")

# Simple Factory
members: dict[str, ZipIndex] = ZipIndex.factory(zipfile_path="...")

# Categorical Factory
categories: dict[str, ZipIndex] = ZipIndex.categorical_factory(zipfile_path="...", categories={"empty" : {0 : b""}})

# Use
with inst.open() as fid:
    data = fid.read()

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

zipindex-1.0.1.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

zipindex-1.0.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file zipindex-1.0.1.tar.gz.

File metadata

  • Download URL: zipindex-1.0.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for zipindex-1.0.1.tar.gz
Algorithm Hash digest
SHA256 241241371aa399c9b654d0927e78f8487a28e84d0b18915f8e1bad780e1e9486
MD5 fcf033b42c46bae8571a0b5e94d78c27
BLAKE2b-256 5e4db33c5687df80df25775f678d316af597ce6486a91d2788afe0ca37070b6e

See more details on using hashes here.

File details

Details for the file zipindex-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: zipindex-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for zipindex-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cb35483551932cc37df76ebc7eb36bbee3a90bb47011327151d96db6efbc1fa8
MD5 f67666c53cafb1469fb81f411c742c4f
BLAKE2b-256 794cd6a468a72980c78dbbfb8014ca3d6f5ccd2fb663ddf3d110835fd41282d6

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