Overview
Features
random_int
Generate a random integer between low and high (inclusive) using random.randint().
random_float
Generate a random float between low and high using random.uniform().
random_choices
Choose k items from a population with optional weights using random.choices().
random_shuffle
Return a new list with items shuffled using random.sample().
random_sample
Choose k unique items from a population without replacement using random.sample().
secure_token_hex
Generate a cryptographically secure hex token using secrets.token_hex().
secure_random_int
Generate a cryptographically secure random integer below an upper bound using secrets.randbelow().




