faker.providers.company.fr_FR
¶
Package Contents¶
Classes¶
Functions¶
|
Generates the Checksum using Luhn's algorithm |
- faker.providers.company.fr_FR.calculate_luhn(partial_number: float) int ¶
Generates the Checksum using Luhn’s algorithm
- class faker.providers.company.fr_FR.CompanyProvider(generator: Any)¶
Bases:
faker.providers.BaseProvider
- formats: faker.providers.ElementsType[str] = ('{{last_name}} {{company_suffix}}', '{{last_name}}-{{last_name}}', '{{last_name}},...¶
- company_suffixes: faker.providers.ElementsType[str] = ('Inc', 'and Sons', 'LLC', 'Group', 'PLC', 'Ltd')¶
- catch_phrase_words: Tuple[faker.providers.ElementsType[str], Ellipsis] = (('Adaptive', 'Advanced', 'Ameliorated', 'Assimilated', 'Automated', 'Balanced',...¶
- class faker.providers.company.fr_FR.Provider(generator: Any)¶
Bases:
faker.providers.company.Provider
- formats = ('{{last_name}} {{company_suffix}}', '{{last_name}} {{last_name}} {{company_suffix}}',...¶
- catch_phrase_formats = ('{{catch_phrase_noun}} {{catch_phrase_verb}} {{catch_phrase_attribute}}',)¶
- nouns = ('la sécurité', 'le plaisir', 'le confort', 'la simplicité', "l'assurance", "l'art", 'le...¶
- verbs = ('de rouler', "d'avancer", "d'évoluer", 'de changer', "d'innover", 'de louer', "d'atteindre vos...¶
- attributes = ('de manière efficace', 'plus rapidement', 'plus facilement', 'plus simplement', 'en toute...¶
- siren_format = '### ### ###'¶
- words_which_should_not_appear_twice = ('sécurité', 'simpl')¶
- _is_catch_phrase_valid(catch_phrase: str) bool ¶
Validates a french catch phrase.
- Parameters
catch_phrase – The catch phrase to validate.
- siret(max_sequential_digits: int = 2) str ¶
Generates a siret number (14 digits). It is in fact the result of the concatenation of a siren number (9 digits), a sequential number (4 digits) and a control number (1 digit) concatenation. If $max_sequential_digits is invalid, it is set to 2.
The siret number is formatted as ‘### ### ### #####’. :param max_sequential_digits The maximum number of digits for the sequential number (> 0 && <= 4).