pyepgdb.serialisation module

pyepgdb.serialisation.parse(f)[source]

Deserialise the data from an uncompressed epgdb file,

Parameters

f (typing.BinaryIO) – Uncompressed epgdb file contents (see pyepgdb.compression)

Returns

Iterator over tokens stored in the file, defining a hierarchy of collections using sequences of keys/indices. Intended for consumption by pyepgdb.structure