pimlico.utils.core.
infinite_cycle
is_identifier
Determines if string is valid Python identifier.
multiwith
Taken from contextlib’s nested(). We need the variable number of context managers that this function allows.
remove_duplicates
Remove duplicate values from a list, keeping just the first one, using a particular key function to compare them.