Locale ar_PS

faker.providers.automotive

class faker.providers.automotive.ar_PS.Provider(generator)

Bases: faker.providers.automotive.Provider

district()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.district()
...
'8'
'8'
'7'
'4'
'5'
license_plate()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.license_plate()
...
'3-6048-47'
'4759-99'
'1-3824-52'
'3-9489-22'
'1578'

faker.providers.color

class faker.providers.color.ar_PS.Provider(generator)

Bases: faker.providers.color.Provider

color(hue=None, luminosity=None, color_format='hex')

Generate random color in the specified color_format for the given hue and luminosity.

Under the hood, this method first creates a color represented in the HSV color model and then converts it to the desired color_format. The argument hue controls the H value according to the following rules:

  • If the value is a number from 0 to 360, it will serve as the H value of the generated color.
  • If the value is a tuple/list of 2 numbers from 0 to 360, the color’s H value will be randomly selected from that range.
  • If the value is a valid string, the color’s H value will be randomly selected from the H range corresponding to the supplied string. Valid values are 'monochrome', 'red', 'orange', 'yellow', 'green', 'blue', 'purple', and 'pink'.

The argument luminosity influences both S and V values and is partially affected by hue as well. The finer details of this relationship are somewhat involved, so please refer to the source code instead if you wish to dig deeper. To keep the interface simple, this argument either can be omitted or can accept the following string values:'bright', 'dark', 'light', or 'random'.

The argument color_format controls in which color model the color is represented. Valid values are 'hsv', 'hsl', 'rgb', or 'hex' (default).

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.color(hue='red')
...
'#af2f33'
'#e02141'
'#ef6466'
'#a80a14'
'#ed9e95'
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.color(luminosity='light')
...
'#79c3e0'
'#89ffa1'
'#96cbf7'
'#aafaff'
'#e3f495'
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.color(hue=(100, 200), color_format='rgb')
...
'rgb(26, 155, 88)'
'rgb(9, 193, 49)'
'rgb(73, 229, 154)'
'rgb(107, 249, 166)'
'rgb(76, 204, 69)'
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.color(hue='orange', luminosity='bright')
...
'#efc332'
'#edae65'
'#d1861d'
'#ffcc42'
'#e09533'
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.color(hue=135, luminosity='dark', color_format='hsv')
...
'hsv(135, 96, 45)'
'hsv(135, 98, 57)'
'hsv(135, 94, 61)'
'hsv(135, 99, 47)'
'hsv(135, 94, 50)'
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.color(hue=(300, 20), luminosity='random', color_format='hsl')
...
'hsl(217, 94, 27)'
'hsl(40, 23, 54)'
'hsl(268, 100, 74)'
'hsl(175, 43, 31)'
'hsl(131, 47, 11)'
color_name()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.color_name()
...
'بني السرج'
'تركوازي باهت'
'خاكي'
'رمادي لازوردي داكن'
'أخضر بحري فاتح'
hex_color()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.hex_color()
...
'#d82c08'
'#629f70'
'#c2094d'
'#e3e707'
'#6baa95'
rgb_color()

Generate random color formatted as comma-separated RGB value

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.rgb_color()
...
'197,215,20'
'132,248,207'
'155,244,183'
'111,71,144'
'71,48,128'
rgb_css_color()

Generate random color formatted as a CSS rgb() function

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.rgb_css_color()
...
'rgb(197,215,20)'
'rgb(132,248,207)'
'rgb(155,244,183)'
'rgb(111,71,144)'
'rgb(71,48,128)'
safe_color_name()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.safe_color_name()
...
'فوشي'
'أصفر'
'حذفي'
'كحلي'
'ليمي'
safe_hex_color()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.safe_hex_color()
...
'#cc5500'
'#dd7700'
'#114400'
'#884400'
'#ff8800'

faker.providers.person

class faker.providers.person.ar_PS.Provider(generator)

Bases: faker.providers.person.ar_AA.Provider

first_name()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name()
...
'سديم'
'وفائي'
'عبد الغفور'
'صاحب'
'قصيد'
first_name_female()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_female()
...
'ريان'
'ناديه'
'جوين'
'ديمه'
'بتلاء'
first_name_male()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_male()
...
'معارف'
'مروان'
'عارف'
'سعود'
'عبد الحفيظ'
first_name_nonbinary()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_nonbinary()
...
'سديم'
'وفائي'
'عبد الغفور'
'صاحب'
'قصيد'
language_name()

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

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.language_name()
...
'Swahili'
'Sardinian'
'Georgian'
'French'
'Ganda'
last_name()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name()
...
'قرادة'
'هاشم'
'الإغباري'
'الخازن'
'التميمي'
last_name_female()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_female()
...
'قرادة'
'هاشم'
'الإغباري'
'الخازن'
'التميمي'
last_name_male()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_male()
...
'قرادة'
'هاشم'
'الإغباري'
'الخازن'
'التميمي'
last_name_nonbinary()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_nonbinary()
...
'قرادة'
'هاشم'
'الإغباري'
'الخازن'
'التميمي'
name()

:example ‘John Doe’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name()
...
'الأستاذة جوين الخازن'
'ليساء الحنبلي'
'المهندس فادي الخياط'
'لتين هاشم'
'وسجايا الخياط'
name_female()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name_female()
...
'الأستاذة جوين الخازن'
'الدكتورة هنادي دغمش'
'ريما الخياط'
'الآنسة ناديه أبو غليون'
'تولين أبو شلبك'
name_male()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name_male()
...
'الأستاذ عارف الخازن'
'المهندس معتوق دغمش'
'فادي الخياط'
'المهندس مرعي أبو غليون'
'نوح أبو شلبك'
name_nonbinary()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name_nonbinary()
...
'الأستاذة جوين الخازن'
'ليساء الحنبلي'
'المهندس فادي الخياط'
'لتين هاشم'
'وسجايا الخياط'
prefix()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix()
...
'الأستاذة'
'المهندس'
'الدكتورة'
'الآنسة'
'الدكتور'
prefix_female()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix_female()
...
'المهندسة'
'الأستاذة'
'الدكتورة'
'الآنسة'
'الدكتورة'
prefix_male()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix_male()
...
'الأستاذ'
'الأستاذ'
'المهندس'
'المهندس'
'الدكتور'
prefix_nonbinary()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix_nonbinary()
...
'الأستاذة'
'المهندس'
'الدكتورة'
'الآنسة'
'الدكتور'
suffix()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.suffix()
...
''
''
''
''
''
suffix_female()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.suffix_female()
...
''
''
''
''
''
suffix_male()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.suffix_male()
...
''
''
''
''
''
suffix_nonbinary()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.suffix_nonbinary()
...
''
''
''
''
''

faker.providers.phone_number

class faker.providers.phone_number.ar_PS.Provider(generator)

Bases: faker.providers.phone_number.Provider

area_code()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.area_code()
...
'+970'
'+970'
'+972'
'+972'
'00970'
cellphone_number()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.cellphone_number()
...
'0566048764'
'0593824219'
'0568924115'
'00972599387784'
'+970 56 160 9753'
country_calling_code()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.country_calling_code()
...
'+211'
'+599 4'
'+800'
'+503'
'+82'
msisdn()

https://en.wikipedia.org/wiki/MSISDN

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.msisdn()
...
'6048764759382'
'1948924115781'
'5938778408016'
'0975351393328'
'1587148418583'
phone_number()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.phone_number()
...
'082660487'
'+970 2 234 7593'
'022242194'
'1-800-892-411'
'082857815'
provider_code()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.provider_code()
...
'56'
'56'
'59'
'59'
'56'
service_phone_number()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.service_phone_number()
...
'102'
'102'
'101'
'100'
'101'
telephone_number()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.telephone_number()
...
'08 256 0487'
'+970 2 234 7593'
'02 224 2194'
'082889241'
'082157815'
toll_number()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.toll_number()
...
'1-800-604-876'
'1-800-475-938'
'1 700 219 489'
'1-800-411-578'
'1 700 659 387'