Skip to main content

Module csv_join

Module csv_join 

Source
Expand description

xil csv-join β€” annotate a parsed episode CSV with SFX and cast config columns. Port of XILU003_csv_sfx_join.py.

StructsΒ§

Args πŸ”’

ConstantsΒ§

CAST_COLS πŸ”’
INPUT_COLS πŸ”’
SFX_COLS πŸ”’

FunctionsΒ§

annotate_csv
(total_rows, direction_rows, sfx_matched, dialogue_rows, cast_matched).
blank πŸ”’
command
The clap definition behind --help, for man pages.
execute πŸ”’
join_cast πŸ”’
Cast annotation columns for one row. Only dialogue rows carry a speaker.
join_sfx πŸ”’
SFX annotation columns for one row. Only direction rows can match.
row_get πŸ”’
run

Type AliasesΒ§

Row πŸ”’
One input row as csv.DictReader yields it: an absent key is Python’s None, which every consumer here treats like an empty string.