Locale fa_IR

faker.providers.address

class faker.providers.address.fa_IR.Provider(generator)

Bases: faker.providers.address.Provider

address()

:example ‘791 Crist Parks, Sashabury, IL 86039-9874’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.address()
...
'4876 ملکیان تونل سوئیت 382\nشهرستان امیررضا, ایلام 9241157815'
'877 مهدیان جزیره واحد 016\nشهرستان آرش, فارس 5351393328'
'87148 مهسا چهار راه\nشرق علي, سمنان 1965'
'20947 علی اصغر پل\nشمال باران, کرمان 6848339694'
'515 سرخوشیان آزاد راه واحد 304\nشرق آرتين, تهران 1230989101'
building_number()

:example ‘791’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.building_number()
...
'604'
'764'
'593'
'4219'
'892'
city()

:example ‘Sashabury’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.city()
...
'شهرستان آيلين'
'شهر مهديس'
'جنوب نازنين'
'باغات پرهام'
'شهرستان امیررضا'
city_prefix()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.city_prefix()
...
'باغات'
'شهرستان'
'بندر'
'شرق'
'شهر'
city_suffix()

:example ‘town’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.city_suffix()
...
'Ville'
'Ville'
'Ville'
'Ville'
'Ville'
country()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.country()
...
'مالی'
'گینه استوایی'
'روسیه'
'بوسنی و هرزگوین'
'سوئیس'
country_code(representation='alpha-2')
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.country_code()
...
'ZW'
'TO'
'LB'
'FI'
'MV'
postcode()

:example 86039-9874

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.postcode()
...
'6048764759'
'3824219489'
'4115781565'
'387784'
'801'
secondary_address()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.secondary_address()
...
'واحد 604'
'واحد 764'
'واحد 593'
'واحد 421'
'واحد 489'
state()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.state()
...
'مازندران'
'کهگیلویه و بویراحمد'
'خراسان رضوی'
'ایلام'
'زنجان'
street_address()

:example ‘791 Crist Parks’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.street_address()
...
'604 سرخوشیان جاده واحد 759'
'24219 عزیزی جنب واحد 924'
'57815 طاها جاده'
'8408 احمدی کوه واحد 097'
'51393 اميرمهدي جزیره سوئیت 158'
street_name()

:example ‘Crist Parks’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.street_name()
...
'هاشمی بن بست'
'ابوالفضل بن بست'
'سماوات بلوار'
'عبدالمالکی جنب'
'ايليا تقاطع'
street_suffix()

:example ‘Avenue’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.street_suffix()
...
'کوه'
'جزیره'
'بن بست'
'میدان'
'جنب'

faker.providers.color

class faker.providers.color.fa_IR.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.company

class faker.providers.company.fa_IR.Provider(generator)

Bases: faker.providers.company.Provider

bs()

:example ‘integrate extensible convergence’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.bs()
...
'generate enterprise technologies'
'incentivize dot-com niches'
'extend B2C vortals'
'engage ubiquitous convergence'
'morph enterprise e-commerce'
catch_phrase()

:example ‘Robust full-range hub’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.catch_phrase()
...
'Switchable radical Graphical User Interface'
'Exclusive impactful groupware'
'Seamless disintermediate info-mediaries'
'Persevering transitional installation'
'Face-to-face radical middleware'
company()

:example ‘Acme Ltd’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.company()
...
'حمل و نقل بین المللی خلیج فارس'
'سرمايه گذاري انديشه محوران'
'بانك اقتصاد نوين'
'توسعه فناوری اطلاعات خوارزمی'
'بازرگانی تبادل و تدارک کالا'
company_suffix()

:example ‘Ltd’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.company_suffix()
...
'Ltd'
'PLC'
'LLC'
'and Sons'
'Group'

faker.providers.credit_card

class faker.providers.credit_card.fa_IR.Provider(generator)

Bases: faker.providers.credit_card.Provider

credit_card_expire(start='now', end='+3y', date_format='%y/%m')
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.credit_card_expire()
...
'22/05'
'22/07'
'20/11'
'21/10'
'22/11'
credit_card_full(card_type=None)
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.credit_card_full()
...
'کار آفرین\nايليا زمانی\n6274888764759381 21/04\nCVV2: 421\n'
'ملل\nیاسمین عبدالمالکی\n6062569241157813 22/03\nCVV2: 659\n'
'سامان\nالینا سعیدی\n6219868408016099 22/10\nCVV2: 535\n'
'رفاه\nهستی فرجی\n5894632871158711 21/12\nCVV2: 841\n'
'ملت\nعرفان کرمانی\n6104339894719651 23/03\nCVV2: 342\n'
credit_card_number(card_type=None)

Returns a valid credit card number.

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.credit_card_number()
...
'6274886048764755'
'5859838242194896'
'6280231578156597'
'6219868778408017'
'5894630975351398'
credit_card_provider(card_type=None)

Returns the provider’s name of the credit card.

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.credit_card_provider()
...
'کار آفرین'
'صادرات'
'گردشگری'
'پست بانک'
'دی'
credit_card_security_code(card_type=None)

Returns a security code string.

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.credit_card_security_code()
...
'604'
'764'
'593'
'421'
'489'

faker.providers.internet

class faker.providers.internet.fa_IR.Provider(generator)

Bases: faker.providers.internet.Provider

ascii_company_email()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.ascii_company_email()
...
'vhshmy@twsh.org'
'bwlfdlsmwt@lyzyng.org'
'orstmy@sny.org'
'lyzyzy@sny.ir'
'ylyly-pwr@twlydy.net'
ascii_email()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.ascii_email()
...
'nzmny@gmail.com'
'ysmwt@srmyh.ir'
'ylysnyy@mailfa.com'
'uhdyt@mailfa.com'
'ydbty@chmail.ir'
ascii_free_email()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.ascii_free_email()
...
'vhshmy@mailfa.com'
'mhdys47@mailfa.com'
'hjlyly@chmail.ir'
'hwmnkhyn@gmail.com'
'mhmdrd24@chmail.ir'
ascii_safe_email()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.ascii_safe_email()
...
'vhshmy@example.org'
'mhdys47@example.com'
'hjlyly@example.org'
'hwmnkhyn@example.com'
'mhmdrd24@example.org'
company_email()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.company_email()
...
'vhshmy@twsh.org'
'bwlfdlsmwt@lyzyng.org'
'orstmy@sny.org'
'lyzyzy@sny.ir'
'ylyly-pwr@twlydy.net'
dga(year=None, month=None, day=None, tld=None, length=None)

Generates a domain name by given date https://en.wikipedia.org/wiki/Domain_generation_algorithm

Return type:str
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.dga()
...
'hxqvaffcmfsccynscisxeajjagjahtnfcm.com'
'cnrhkwsauxvmqcengcluh.ir'
'iiulfpgbvqcdaeh.ir'
'dgunygtn.com'
'uqniukqjckmjabijnuqholpsjayatffafysbsyaaytuquhbpmpviajxnaro.ir'
domain_name(levels=1)

Produce an Internet domain name with the specified number of subdomain levels.

>>> domain_name()
nichols-phillips.com
>>> domain_name(2)
williamson-hopkins.jackson.com
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.domain_name()
...
'hml.ir'
'bnk.com'
'bzrgny.net'
'srmyh.com'
'lyzyng.org'
domain_word()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.domain_word()
...
'hml'
'srmyh'
'bnk'
'twsh'
'bzrgny'
email(domain=None)
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.email()
...
'nzmny@gmail.com'
'ysmwt@srmyh.ir'
'ylysnyy@mailfa.com'
'uhdyt@mailfa.com'
'ydbty@chmail.ir'
free_email()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.free_email()
...
'vhshmy@mailfa.com'
'mhdys47@mailfa.com'
'hjlyly@chmail.ir'
'hwmnkhyn@gmail.com'
'mhmdrd24@chmail.ir'
free_email_domain()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.free_email_domain()
...
'yahoo.com'
'hotmail.com'
'gmail.com'
'mailfa.com'
'gmail.com'
hostname(levels=1)

Produce a hostname with specified number of subdomain levels.

>>> hostname()
db-01.nichols-phillips.com
>>> hostname(0)
laptop-56
>>> hostname(2)
web-12.williamson-hopkins.jackson.com
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.hostname()
...
'email-60.twsh.org'
'desktop-47.lkhtrw.ir'
'srv-24.nwrd.com'
'email-89.khshy.com'
'email-57.fnws.com'
http_method()

Returns random HTTP method https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods

Return type:str
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.http_method()
...
'TRACE'
'OPTIONS'
'PUT'
'POST'
'DELETE'
image_url(width=None, height=None)

Returns URL to placeholder image Example: http://placehold.it/640x480

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.image_url()
...
'https://www.lorempixel.com/788/861'
'https://placeimg.com/995/829/any'
'https://dummyimage.com/621x976'
'https://dummyimage.com/447x285'
'https://placeimg.com/194/513/any'
ipv4(network=False, address_class=None, private=None)

Returns a random IPv4 address or network with a valid CIDR.

Parameters:
  • network – Network address
  • address_class – IPv4 address class (a, b, or c)
  • private – Public or private
Returns:

IPv4

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.ipv4()
...
'171.174.170.81'
'95.25.112.121'
'51.105.121.194'
'195.110.164.126'
'141.250.247.54'
ipv4_network_class()

Returns a IPv4 network class ‘a’, ‘b’ or ‘c’.

Returns:IPv4 network class
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.ipv4_network_class()
...
'c'
'c'
'b'
'a'
'b'
ipv4_private(network=False, address_class=None)

Returns a private IPv4.

Parameters:
  • network – Network address
  • address_class – IPv4 address class (a, b, or c)
Returns:

Private IPv4

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.ipv4_private()
...
'192.168.215.85'
'10.248.203.131'
'172.25.180.188'
'192.168.111.215'
'172.19.8.218'
ipv4_public(network=False, address_class=None)

Returns a public IPv4 excluding private blocks.

Parameters:
  • network – Network address
  • address_class – IPv4 address class (a, b, or c)
Returns:

Public IPv4

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.ipv4_public()
...
'195.174.170.81'
'15.227.46.15'
'164.218.94.112'
'214.253.123.155'
'134.17.181.9'
ipv6(network=False)

Produce a random IPv6 address or network with a valid CIDR

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.ipv6()
...
'e3e7:682:c209:4cac:629f:6fbf:d82c:7cd'
'f728:b4fa:4248:5e3a:a5d:2f35:6baa:9455'
'eb11:67b3:67a9:c378:7c65:c1e6:82e2:e662'
'f7c1:bd87:4da5:e709:d471:3d61:c8a7:639'
'e443:df78:9558:867f:5ba9:1fb0:7a02:4204'
mac_address()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.mac_address()
...
'c5:d7:14:84:f8:cf'
'9b:f4:b7:6f:47:90'
'47:30:80:4b:9e:32'
'25:a9:f1:33:b5:de'
'a1:68:f4:e2:85:1f'
port_number(is_system=False, is_user=False, is_dynamic=False)

Returns a network port number https://tools.ietf.org/html/rfc6335

Parameters:
  • is_system – System or well-known ports
  • is_user – User or registered ports
  • is_dynamic – Dynamic / private / ephemeral ports
Return type:

int

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.port_number()
...
50494
55125
5306
33936
63691
safe_domain_name()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.safe_domain_name()
...
'example.net'
'example.net'
'example.com'
'example.org'
'example.com'
safe_email()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.safe_email()
...
'vhshmy@example.org'
'mhdys47@example.com'
'hjlyly@example.org'
'hwmnkhyn@example.com'
'mhmdrd24@example.org'
slug(value=None)

Django algorithm

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.slug()
...
'sapiente-quidem-in'
'maiores-illo-quos'
'labore-nesciunt'
'magnam-eligendi'
'nulla-dolorum'
tld()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.tld()
...
'ir'
'ir'
'net'
'com'
'org'
uri()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.uri()
...
'https://www.twsh.org/explore/posts/author.htm'
'http://www.nwrd.com/explore/categories/faq.php'
'http://www.ptrwshymy.com/'
'http://www.khshtyrny.com/register.htm'
'http://adhr.com/terms.php'
uri_extension()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.uri_extension()
...
'.jsp'
'.php'
'.htm'
'.html'
'.htm'
uri_page()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.uri_page()
...
'terms'
'about'
'homepage'
'main'
'register'
uri_path(deep=None)
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.uri_path()
...
'posts/tag'
'explore/tag'
'explore/category'
'categories'
'main/main'
url(schemes=None)
Parameters:schemes – a list of strings to use as schemes, one will chosen randomly.

If None, it will generate http and https urls. Passing an empty list will result in schemeless url generation like “://domain.com”.

Returns:a random url string.
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.url()
...
'https://bnk.com/'
'https://www.srmyh.com/'
'http://khshy.org/'
'http://frsh.com/'
'https://sny.ir/'
user_name()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.user_name()
...
'vhshmy'
'bwlfdlwthq'
'ysmwt'
'ard82'
'ylysnyy'

faker.providers.job

class faker.providers.job.fa_IR.Provider(generator)

Bases: faker.providers.job.Provider

job()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.job()
...
'خبر\u200cنگار'
'افسر'
'راننده'
'خلبان'
'هنرمند'

faker.providers.person

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

Bases: faker.providers.person.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.fa_IR.Provider(generator)

Bases: faker.providers.phone_number.Provider

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()
...
'+98 76 6048 7647'
'086 3824 2194'
'+98 892 4115 7815'
'+98 28 9387 7840'
'+98 13 8016 0975'