Last active
October 24, 2019 00:40
-
-
Save dieu/c92ae17d2df619c632195e562edcb6fd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def gen_orderdate(min_date, max_date): # use random to pick up speecific date | |
pass | |
def gen_shippingdate(orderdate): # use randome value from [1, 2] to get ahead of orderdate | |
pass | |
def gen_orderstatus(): # use random value from [1, 2, 3, 4] | |
pass | |
def gen_firstname(): # use randome value to pick up from array of first names | |
pass | |
def gen_lastname(): # use randome value to pick up from array of last names | |
pass | |
def gen_phonenumber(): # random | |
pass | |
def gen_email(first_name, last_name): # first/name@domen | |
pass | |
def gen_password(min_lenght, max_lenght): # random | |
pass | |
def gen_zipcode(): # random | |
pass | |
def gen_state(): # random | |
pass | |
def gen_city(): # random | |
pass | |
def gen_address(): # random home number + street name from list of names + random suffix (ave, blvd, st, etc) | |
pass | |
if __name__== "__main__": | |
min_date = "" | |
max_date = "" | |
orderdate = gen_orderdate(min_date, max_date) | |
shippingdate = gen_shippingdate(orderdate) | |
status = gen_orderstatus() | |
print orderdate | |
print shippingdate | |
print status | |
firstname = gen_firstname() | |
lastname = gen_lastname() | |
phonenumber = gen_phonenumber() | |
email = gen_email(firstname, lastname) | |
password = gen_password(8, 32) | |
zipcode = gen_zipcode() | |
state = gen_state() | |
city = gen_city() | |
address = gen_address() | |
print firstname | |
print lastname | |
print phonenumber | |
print email | |
print password | |
print zipcode | |
print state | |
print city | |
print address |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment