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.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.tar.gz.
File metadata
- Download URL: zipindex-1.1.0.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 |
468f324d8bb95fcb0041f9c700024c7ea906735ad979f42cdd6856bf714ee5f7
|
|
| MD5 |
b45d056a0f3f6e6da58d0d515ad78f9d
|
|
| BLAKE2b-256 |
d8cc16e54abae96d6ed4d4a08832265631ee12ee8f6a8a6acec07e678167d886
|
File details
Details for the file zipindex-1.1.0-py3-none-any.whl.
File metadata
- Download URL: zipindex-1.1.0-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 |
2dd1d4c976ebb5fc5f5de1bd61d3b7d93a26cec3041397691c55223756e88080
|
|
| MD5 |
18fe2bbab295b7e6734bde85a797bf3c
|
|
| BLAKE2b-256 |
06b713987196550bd23299fdd4b666c60fea299c877561b6f1623a2ddf1bae30
|