imflib.assetmap

AssetMap and related classes Based on st-429-8-2007: https://ieeexplore.ieee.org/document/7290438

ASSETMAP.xml is the entry point into the IMF package. AssetMap provides the mapping between PKL UUIDs and file locations on a volume. The assetmap must exist and be identical on each volume it references. If multiple volumes are referenced, a VOLINDEX.xml file must be present with a unique index on each volume. The assetmap may contain mappings for more than one package.

Classes

Asset(id, chunks, is_packing_list, ...)

An Asset as defined in an IMF AssetMap

AssetMap(creator, issuer, id, volume_count, ...)

An Asset Map component of an IMF package

Chunk(file_path[, volume_index, offset, size])

A chunk of an Asset

VolumeIndex([index])

A VolumeIndex file required only in multi-volume packages