pyepgdb.structure module

pyepgdb.structure.parse(tokens)[source]

Group parsed epgdb file tokens into records.

Parameters

tokens (typing.Iterator) – Result of pyepgdb.serialisation.parse()

Returns

Records as defined in the epgdb file. Values are int, str, bytes or nested records

Return type

typing.Iterator[typing.Dict]