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(min_length: Optional[int] = None, max_length: Optional[int] = None) → str
Example:‘town’
country(min_length: Optional[int] = None, max_length: Optional[int] = None) → 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(min_length: Optional[int] = None, max_length: Optional[int] = None) → str
Example:‘Avenue’

faker.providers.person

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

Bases: faker.providers.person.Provider

first_name(min_length: Optional[int] = None, max_length: Optional[int] = None) → str
first_name_as_list() → Union[Tuple[str, ...], Dict[str, float]]
first_name_female(min_length: Optional[int] = None, max_length: Optional[int] = None) → str
first_name_female_as_list() → Union[Tuple[str, ...], Dict[str, float]]
first_name_male(min_length: Optional[int] = None, max_length: Optional[int] = None) → str
first_name_male_as_list() → Union[Tuple[str, ...], Dict[str, float]]
first_name_nonbinary(min_length: Optional[int] = None, max_length: Optional[int] = None) → str
first_name_nonbinary_as_list() → Union[Tuple[str, ...], Dict[str, float]]
language_name(min_length: Optional[int] = None, max_length: Optional[int] = None) → str

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

last_name(min_length: Optional[int] = None, max_length: Optional[int] = None) → str
last_name_as_list() → Union[Tuple[str, ...], Dict[str, float]]
last_name_female(min_length: Optional[int] = None, max_length: Optional[int] = None) → str
last_name_female_as_list() → Union[Tuple[str, ...], Dict[str, float]]
last_name_male(min_length: Optional[int] = None, max_length: Optional[int] = None) → str
last_name_male_as_list() → Union[Tuple[str, ...], Dict[str, float]]
last_name_nonbinary(min_length: Optional[int] = None, max_length: Optional[int] = None) → str
last_name_nonbinary_as_list() → Union[Tuple[str, ...], Dict[str, float]]
name() → str

:example ‘John Doe’

name_female() → str
name_male() → str
name_nonbinary() → str
prefix(min_length: Optional[int] = None, max_length: Optional[int] = None) → str
prefix_as_list() → Union[Tuple[str, ...], Dict[str, float]]
prefix_female(min_length: Optional[int] = None, max_length: Optional[int] = None) → str
prefix_female_as_list() → Union[Tuple[str, ...], Dict[str, float]]
prefix_male(min_length: Optional[int] = None, max_length: Optional[int] = None) → str
prefix_male_as_list() → Union[Tuple[str, ...], Dict[str, float]]
prefix_nonbinary(min_length: Optional[int] = None, max_length: Optional[int] = None) → str
prefix_nonbinary_as_list() → Union[Tuple[str, ...], Dict[str, float]]
suffix(min_length: Optional[int] = None, max_length: Optional[int] = None) → str
suffix_as_list() → Union[Tuple[str, ...], Dict[str, float]]
suffix_female(min_length: Optional[int] = None, max_length: Optional[int] = None) → str
suffix_female_as_list() → Union[Tuple[str, ...], Dict[str, float]]
suffix_male(min_length: Optional[int] = None, max_length: Optional[int] = None) → str
suffix_male_as_list() → Union[Tuple[str, ...], Dict[str, float]]
suffix_nonbinary(min_length: Optional[int] = None, max_length: Optional[int] = None) → str
suffix_nonbinary_as_list() → Union[Tuple[str, ...], Dict[str, float]]