faker.providers.company.fr_FR

Package Contents

Classes

CompanyProvider

Provider

Functions

calculate_luhn(→ int)

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',...
bsWords: Tuple[faker.providers.ElementsType[str], Ellipsis] = (('implement', 'utilize', 'integrate', 'streamline', 'optimize', 'evolve', 'transform',...
company() str
Example

‘Acme Ltd’

company_suffix() str
Example

‘Ltd’

catch_phrase() str
Example

‘Robust full-range hub’

bs() str
Example

‘integrate extensible convergence’

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...
company_suffixes: Tuple[str, Ellipsis] = ('SA', 'S.A.', 'SARL', 'S.A.R.L.', 'S.A.S.', 'et Fils')
siren_format = '### ### ###'
words_which_should_not_appear_twice = ('sécurité', 'simpl')
catch_phrase_noun() str

Returns a random catch phrase noun.

catch_phrase_attribute() str

Returns a random catch phrase attribute.

catch_phrase_verb() str

Returns a random catch phrase verb.

catch_phrase() str
Example

‘integrate extensible convergence’

_is_catch_phrase_valid(catch_phrase: str) bool

Validates a french catch phrase.

Parameters

catch_phrase – The catch phrase to validate.

siren() str

Generates a siren number (9 digits). Formatted as ‘### ### ###’.

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).