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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
122e2e62a5a17bab16130a8f1af84a25d78debc52b71fc4e0b9546d0ede337ed
|
|
| MD5 |
99d0e6f4f598cfd82a6ff8383a000941
|
|
| BLAKE2b-256 |
a3b741761fc5351a9ad831ada54c3966bcff9f548ddeeefc456d14fac00e8e63
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff4c390ce9f582cee2191c3029bdff40fcd432d3871b454d0f5b5415cae2991e
|
|
| MD5 |
4b77715e4eb083810a9c0a3c17e0212a
|
|
| BLAKE2b-256 |
3f67460d5778c7cced307892829333202ef426a3e01dd4dbf7e5236e97cca26a
|