import string
import random


def _generate_random_sequence(sequence_length=6) -> str:
	"""
	Generates a random string of letters and digits.

	From https://pynative.com/python-generate-random-string/

	:param sequence_length: length of the output string
	"""
	sequence_options = string.ascii_letters + string.digits
	return ''.join(
		random.choice(sequence_options) for _ in range(sequence_length)
	).upper()