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.0.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.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zipindex-1.0.0.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.0.tar.gz
Algorithm Hash digest
SHA256 5ee8612a28567d20fbeb2ad8343a89b5eddccfb4ade3ecff5cdea53b28418489
MD5 aa520221294dc1d20bbfc691c76373bd
BLAKE2b-256 e73f0f5e54837b95ede2656ecbde35986b32f345a34effb0926e8048add61b81

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zipindex-1.0.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a6f1d349ccbe06a8d7cf0dda878f337cdbf08fe477f1f4f1f91b43955a238fdf
MD5 464deb0e1d2c7da1cd13fdf003f6ae7b
BLAKE2b-256 3793cdbbf27eef72e30a1a95cf76b78dee72fd1aa6923ad1a53b212dc7a0bc3b

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