Initial commit

This commit is contained in:
Oliver Falk
2018-05-07 15:00:03 +02:00
commit 9ff9159f8b
1086 changed files with 1858 additions and 0 deletions

10
ivatar/utils.py Normal file
View File

@@ -0,0 +1,10 @@
import random
import string
def random_string(len=10):
'''
Return some random string with default length 10
'''
return ''.join(random.SystemRandom().choice(
string.ascii_lowercase +
string.digits) for _ in range(10))