faker.providers.profile.en_US

Package Contents

Classes

ProfileProvider

This provider is a collection of functions to generate personal profiles and identities.

Provider

This provider is a collection of functions to generate personal profiles and identities.

class faker.providers.profile.en_US.ProfileProvider(generator: Any)

Bases: faker.providers.BaseProvider

This provider is a collection of functions to generate personal profiles and identities.

simple_profile(sex: Optional[faker.typing.SexLiteral] = None) Dict[str, Union[str, datetime.date, faker.typing.SexLiteral]]

Generates a basic profile with personal informations

profile(fields: Optional[List[str]] = None, sex: Optional[faker.typing.SexLiteral] = None) Dict[str, Union[str, Tuple[decimal.Decimal, decimal.Decimal], List[str], datetime.date]]

Generates a complete profile. If “fields” is not empty, only the fields in the list will be returned

class faker.providers.profile.en_US.Provider(generator: Any)

Bases: faker.providers.profile.Provider

This provider is a collection of functions to generate personal profiles and identities.