all_casings

psi4.driver.p4util.all_casings(input_string)[source]

Return a generator of all lettercase permutations of input_string.

Parameters:

input_string (str) – String of which to permute the case.

Return type:

Iterator[str]