inif.sequences
Sequence (de)duplication implementations powering InifDocument.deduplicate_sequences and .expand_sequences.
Sequence (de)duplication is exposed as methods on InifDocument — deduplicate_sequences(min_length=5) and expand_sequences(). The implementations live in this module.
See Sequences and deduplication for the algorithm and tuning guidance.