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.2.tar.gz (3.4 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.2-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zipindex-1.0.2.tar.gz
  • Upload date:
  • Size: 3.4 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.2.tar.gz
Algorithm Hash digest
SHA256 1d765c04bd7aa749663a5ad243397fc19d63d81363dabf680da63ec8649ad4d2
MD5 e2ea38cd34e779e57e50342be32ab20b
BLAKE2b-256 f6d536aca2cfb3327be4d71ae5da8653f6950239ddf7ff571bcf664eec3ab9b1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zipindex-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.6 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 36115f586bd0c2006574858ed3bf8fef12aba23f3523357e85bf26a439d4908c
MD5 af5a7e452748b05e14dc137cf72026c8
BLAKE2b-256 d12325a47682d134a8f9521e37206528eb5848aa8c5276a3f6e88e41821ce766

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