<s> from faker import name <EOL> from faker import address <EOL> from faker import internet <EOL> from faker import company <EOL> from faker import lorem <EOL> from faker import phone_number <EOL> def create_card ( ) : <EOL> return { <EOL> "<STR_LIT:name>" : name . find_name ( ) , <EOL> "<STR_LIT:username>" : internet . user_name ( ) , <EOL> "<STR_LIT:email>" : internet . email ( ) , <EOL> "<STR_LIT:address>" : { <EOL> "<STR_LIT>" : address . street_name ( ) , <EOL> "<STR_LIT>" : address . street_address ( ) , <EOL> "<STR_LIT>" : address . street_address ( True ) , <EOL> "<STR_LIT>" : address . secondary_address ( ) , <EOL> "<STR_LIT>" : address . city ( ) , <EOL> "<STR_LIT>" : address . uk_county ( ) , <EOL> "<STR_LIT>" : address . uk_country ( ) , <EOL> "<STR_LIT>" : address . zip_code ( ) <EOL> } , <EOL> "<STR_LIT>" : phone_number . phone_number ( ) , <EOL> "<STR_LIT>" : internet . domain_name ( ) , <EOL> "<STR_LIT>" : { <EOL> "<STR_LIT:name>" : company . company_name ( ) , <EOL> "<STR_LIT>" : company . catch_phrase ( ) , <EOL> "<STR_LIT>" : company . bs ( ) <EOL> } , <EOL> "<STR_LIT>" : [ <EOL> { <EOL> "<STR_LIT>" : lorem . words ( ) , <EOL> "<STR_LIT>" : lorem . sentence ( ) , <EOL> "<STR_LIT>" : lorem . sentences ( ) , <EOL> "<STR_LIT>" : lorem . paragraph ( ) <EOL> } , <EOL> { <EOL> "<STR_LIT>" : lorem . words ( ) , <EOL> "<STR_LIT>" : lorem . sentence ( ) , <EOL> "<STR_LIT>" : lorem . sentences ( ) , <EOL> "<STR_LIT>" : lorem . paragraph ( ) <EOL> } , <EOL> { <EOL> "<STR_LIT>" : lorem . words ( ) , <EOL> "<STR_LIT>" : lorem . sentence ( ) , <EOL> "<STR_LIT>" : lorem . sentences ( ) , <EOL> "<STR_LIT>" : lorem . paragraph ( ) <EOL> } <EOL> ] <EOL> } <EOL> def user_card ( ) : <EOL> return { <EOL> "<STR_LIT:name>" : name . find_name ( ) , <EOL> "<STR_LIT:username>" : internet . user_name ( ) , <EOL> "<STR_LIT:email>" : internet . email ( ) , <EOL> "<STR_LIT:address>" : { <EOL> "<STR_LIT>" : address . street_name ( ) , <EOL> "<STR_LIT>" : address . secondary_address ( ) , <EOL> "<STR_LIT>" : address . city ( ) , <EOL> "<STR_LIT>" : address . zip_code ( ) <EOL> } , <EOL> "<STR_LIT>" : phone_number . phone_number ( ) , <EOL> "<STR_LIT>" : internet . domain_name ( ) , <EOL> "<STR_LIT>" : { <EOL> "<STR_LIT:name>" : company . company_name ( ) , <EOL> "<STR_LIT>" : company . catch_phrase ( ) , <EOL> "<STR_LIT>" : company . bs ( ) <EOL> } <EOL> } </s>
