libb.random_string

random_string(length)[source]

Generate a random alphanumeric string.

Parameters:

length (int) – Length of the string to generate.

Returns:

Random string of uppercase letters and digits.

Return type:

str