import string
import random


def get_random_str(size=10, chars=string.ascii_lowercase + string.ascii_uppercase + string.digits):
    """
    return a random string
    size: size of an output string
    chars: characters to use
    """
    return ''.join(random.choice(chars) for x in range(size))