faker.providers.address

class faker.providers.address.Provider(generator: Any)

Bases: BaseProvider

address() str
Example:

‘791 Crist Parks, Sashabury, IL 86039-9874’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.address()
...
'48764 Howard Forge Apt. 421\nVanessaside, VT 79393'
'PSC 4115, Box 7815\nAPO AA 41945'
'778 Brown Plaza\nNorth Jenniferfurt, VT 88077'
'3513 John Divide Suite 115\nRodriguezside, LA 93111'
'398 Wallace Ranch Suite 593\nIvanburgh, AZ 80818'
building_number() str
Example:

‘791’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.building_number()
...
'6048'
'6475'
'382'
'2194'
'924'
city() str
Example:

‘Sashabury’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.city()
...
'Changchester'
'West Tammyfort'
'Hullport'
'Howardborough'
'West Donald'
city_suffix() str
Example:

‘town’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.city_suffix()
...
'furt'
'chester'
'ton'
'view'
'haven'
country() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.country()
...
'Tanzania'
'Hungary'
'Senegal'
'Tuvalu'
'Italy'
country_code(representation: str = 'alpha-2') str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.country_code()
...
'MV'
'PS'
'NL'
'BB'
'IL'
current_country() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.current_country()
...
'United States'
'United States'
'United States'
'United States'
'United States'
current_country_code() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.current_country_code()
...
'US'
'US'
'US'
'US'
'US'
postcode() str
Example:

86039-9874

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.postcode()
...
'50995'
'99847'
'55626'
'05807'
'34437'
street_address() str
Example:

‘791 Crist Parks’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.street_address()
...
'0487 Hull Village Suite 759'
'242 Christine Glen'
'1157 Michael Island'
'778 Brown Plaza'
'60975 Jessica Squares'
street_name() str
Example:

‘Crist Parks’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.street_name()
...
'Chang Manor'
'Jonathan Pass'
'Sullivan Tunnel'
'Faulkner Knolls'
'William Haven'
street_suffix() str
Example:

‘Avenue’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.street_suffix()
...
'Vista'
'Lights'
'Trace'
'Manor'
'Canyon'