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
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.0.0.tar.gz
(3.1 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.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ee8612a28567d20fbeb2ad8343a89b5eddccfb4ade3ecff5cdea53b28418489
|
|
| MD5 |
aa520221294dc1d20bbfc691c76373bd
|
|
| BLAKE2b-256 |
e73f0f5e54837b95ede2656ecbde35986b32f345a34effb0926e8048add61b81
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6f1d349ccbe06a8d7cf0dda878f337cdbf08fe477f1f4f1f91b43955a238fdf
|
|
| MD5 |
464deb0e1d2c7da1cd13fdf003f6ae7b
|
|
| BLAKE2b-256 |
3793cdbbf27eef72e30a1a95cf76b78dee72fd1aa6923ad1a53b212dc7a0bc3b
|