rxn.utilities.containers

Functions

all_identical(sequence)

Evaluates whether all the elements of a sequence are identical.

chunker(iterable, chunk_size[, fill_value])

Iterate through an iterable in chunks of given size.

iterate_unique_values(seq[, key])

Remove duplicates and preserve order.

pairwise(s)

Iterates over neighbors in a list.

remove_duplicates(seq[, key])

Remove duplicates and preserve order.