Locale en

faker.providers.address

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

Bases: faker.providers.address.Provider

address() → str

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

building_number() → str

:example ‘791’

city() → str

:example ‘Sashabury’

city_suffix() → str

:example ‘town’

country() → str
country_code(representation: str = 'alpha-2') → str
current_country() → str
current_country_code() → str
postcode() → str

:example 86039-9874

street_address() → str

:example ‘791 Crist Parks’

street_name() → str

:example ‘Crist Parks’

street_suffix() → str

:example ‘Avenue’

faker.providers.person

class faker.providers.person.en.Provider(generator: Any)

Bases: faker.providers.person.Provider

first_name() → str
first_name_female() → str
first_name_male() → str
first_name_nonbinary() → str
language_name() → str

Generate a random i18n language name (e.g. English).

last_name() → str
last_name_female() → str
last_name_male() → str
last_name_nonbinary() → str
name() → str

:example ‘John Doe’

name_female() → str
name_male() → str
name_nonbinary() → str
prefix() → str
prefix_female() → str
prefix_male() → str
prefix_nonbinary() → str
suffix() → str
suffix_female() → str
suffix_male() → str
suffix_nonbinary() → str