A Python pip package for generating randomness
Python 3.7+
pip install randos
random_ints(length: int, minimum: int = 0, maximum: int = 100) -> list[int]
>>>random_ints(3)
[3,5,7]
random_line(file_name: str, separator: str = None, number_of_lines: int = None) -> str | tuple[str,str]
random_city(include_country: bool = False) -> str | tuple[str,str]
>>>city = random_city()
'San Diego'
>>>city, country = random_city(True)
('San Diego', 'United States')
random_country(include_abbr: bool = False) -> str | tuple[str,str]
>>>country = random_country()
'United States'
>>>country, abbr = random_country(True)
('United States', 'US')
random_emoji(include_desc: bool = False) -> str | tuple[str,str]
>>>emoji = random_emoji()
'🦝'
>>>emoji, desc = random_emoji(True)
('🦝,', 'Raccoon')
random_bool() -> bool
>>>boolean = random_bool()
True
random_travel_city(include_country: bool = False) -> str | tuple[str,str]
>>>city = random_travel_city()
'San Diego'
>>>city, country = random_travel_city(True)
('San Diego', 'United States')
random_travel_dest() -> str
>>>place = random_travel_destination()
'Glacier National Park'