def random_secret(length=96):
    pool = string.ascii_letters + string.digits
    return "".join([
        random.choice(pool)
        for x in xrange(length)
        ])
Generates a long, random string to be used as secret keys in applications
dataset/ETHPy150Open stackstrap/stackstrap/stackstrap/jinja.py/random_secret