In [1]:
import fauxfactory
import datetime
In [2]:
strings = fauxfactory.gen_string('alphanumeric', 15)
strings
Out[2]:
In [3]:
for _ in range(10):
string = fauxfactory.gen_string('alphanumeric', 15)
print(string)
In [4]:
string_numerics = fauxfactory.gen_string('numeric', 5)
string_numerics
Out[4]:
In [5]:
for _ in range(10):
string_numeric = fauxfactory.gen_string('numeric', 5)
print(string_numeric)
In [6]:
mydt = fauxfactory.gen_datetime()
mydt
Out[6]:
In [7]:
week_days = ('seg', 'ter', 'qua', 'qui', 'sex', 'sab', 'dom')
fauxfactory.factories.choices.gen_choice(week_days)
Out[7]:
In [8]:
for _ in range(10):
week_day = fauxfactory.factories.choices.gen_choice(week_days)
print(week_day)
In [9]:
fauxfactory.factories.strings.gen_iplum()
Out[9]:
In [10]:
fauxfactory.factories.strings.gen_iplum(words=10)
Out[10]:
In [ ]: