Skip to main content

Simple indexing for working with files inside zipfiles

Project description

ZipItem

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

Example Usage

from zipindex import ZipItem

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

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

# Categorical Factory
categories: dict[str, ZipItem] = ZipItem.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.1.0.1.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.1.0.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zipindex-1.1.0.1.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.1.0.1.tar.gz
Algorithm Hash digest
SHA256 122e2e62a5a17bab16130a8f1af84a25d78debc52b71fc4e0b9546d0ede337ed
MD5 99d0e6f4f598cfd82a6ff8383a000941
BLAKE2b-256 a3b741761fc5351a9ad831ada54c3966bcff9f548ddeeefc456d14fac00e8e63

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zipindex-1.1.0.1-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.1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ff4c390ce9f582cee2191c3029bdff40fcd432d3871b454d0f5b5415cae2991e
MD5 4b77715e4eb083810a9c0a3c17e0212a
BLAKE2b-256 3f67460d5778c7cced307892829333202ef426a3e01dd4dbf7e5236e97cca26a

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