acidbase.random_string

acidbase.random_string(n: int = 8) str

Generate a random alphanumeric string of length n.

Parameters:

n (int) – Length of the generated string.

Returns:

Random alphanumeric string of length n.

Return type:

str