Language fa_IR¶
faker.providers.address¶
fake.latitude() # -71.1531175
fake.street_name() # معروف جاده
fake.address() # 33212 علی اصغر آزاد راه سوئیت 896 n, سیستان و بلوچستان 70993
fake.street_address() # 972 تهرانی دره
fake.postcode() # 3048273920
fake.longitude() # -8.572453
fake.country() # آنتیگوا و باربودا
fake.geo_coordinate(center=None, radius=0.001) # 76.401491
fake.secondary_address() # واحد 363
fake.street_suffix() # جزیره
fake.city_prefix() # جنوب
fake.city_suffix() # Ville
fake.building_number() # 9641
fake.city() # n
fake.state() # مرکزی
faker.providers.barcode¶
fake.ean(length=13) # 3796799464877
fake.ean13() # 6250433485583
fake.ean8() # 52478642
faker.providers.color¶
fake.rgb_css_color() # rgb(184,174,138)
fake.color_name() # Plum
fake.rgb_color_list() # (224, 12, 241)
fake.rgb_color() # 173,184,31
fake.safe_hex_color() # #aa3300
fake.safe_color_name() # maroon
fake.hex_color() # #b5b1fa
faker.providers.company¶
fake.company() # محجوب, هوشیار and دایی
fake.company_suffix() # LLC
fake.catch_phrase() # Reactive even-keeled encryption
fake.bs() # mesh open-source action-items
faker.providers.credit_card¶
fake.credit_card_security_code(card_type=None) # 452
fake.credit_card_full(card_type=None, validate=False, max_check=10) # JCB 16 digit محمد اشتری 1800074213216513 10/22 CVC: 729
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y") # 06/19
fake.credit_card_number(card_type=None, validate=False, max_check=10) # 4916007010970952
fake.credit_card_provider(card_type=None) # Mastercard
faker.providers.currency¶
fake.currency_code() # XAF
faker.providers.date_time¶
fake.date_time_ad() # 0854-10-21 03:27:10
fake.month() # 02
fake.am_pm() # PM
fake.iso8601() # 1970-08-13T21:23:31
fake.date_time_this_century() # 2015-03-27 16:31:15
fake.date_time() # 1989-08-19 07:53:16
fake.month_name() # August
fake.date_time_this_month() # 2016-03-11 19:50:25
fake.date_time_this_decade() # 2015-05-13 01:56:43
fake.day_of_week() # Thursday
fake.day_of_month() # 13
fake.time(pattern="%H:%M:%S") # 21:42:37
fake.date_time_between(start_date="-30y", end_date="now") # 2002-07-14 14:40:10
fake.unix_time() # 866886112
fake.date_time_this_year() # 2016-03-14 08:14:58
fake.timezone() # Africa/Asmera
fake.century() # XVI
fake.date(pattern="%Y-%m-%d") # 1973-09-10
fake.year() # 1978
faker.providers.file¶
fake.mime_type(category=None) # video/x-matroska
faker.providers.internet¶
fake.ipv4() # 28.121.46.11
fake.url() # http://www..biz/
fake.company_email() # 50@.com
fake.uri() # http://.com/tag/wp-content/terms/
fake.image_url(width=None, height=None) # http://placekitten.com/754/378
fake.tld() # com
fake.free_email() # 59@yahoo.com
fake.slug(*args, **kwargs) # est-qui-enim
fake.free_email_domain() # hotmail.com
fake.domain_name() # .com
fake.uri_extension() # .html
fake.ipv6() # 926a:8d52:4975:d2c2:5b61:2336:6b19:1742
fake.safe_email() # .@example.org
fake.user_name(*args, **kwargs) # b
fake.uri_path(deep=None) # search/category/search
fake.email() # .@.net
fake.uri_page() # index
fake.mac_address() # bd:16:0e:64:4e:ed
faker.providers.job¶
fake.job() # Medical sales representative
faker.providers.lorem¶
fake.text(max_nb_chars=200) # Ut quis eos eos modi error earum. Vel necessitatibus nihil quae consequuntur quidem tenetur. Reprehenderit deleniti delectus sapiente perspiciatis ut laboriosam.
fake.sentence(nb_words=6, variable_nb_words=True) # Dolorem laborum nulla et voluptas itaque excepturi ut.
fake.word() # similique
fake.paragraphs(nb=3) # [u'Aut unde voluptas ut consequatur et aliquam est maiores . Minima similique qui et fuga. Dolor eveniet error tenetu r et. Nam iure nobis id sit velit ut error. Nisi dolores e ligendi ea deserunt.', u'Occaecati quisquam ut consequatur iusto odio voluptatibus. Voluptate rerum consequatur omni s ut ullam sunt aperiam nobis. Magni rerum commodi ut cumq ue ratione. Distinctio consequatur ex facere.', u'Sit quis quam iusto vitae fuga rem autem. Consequuntur veniam repud iandae in fugiat nemo quo molestiae quia. Suscipit velit i psum in optio a nisi excepturi.']
fake.words(nb=3) # [u'sunt', u'ducimus', u'quam']
fake.paragraph(nb_sentences=3, variable_nb_sentences=True) # Qui sint et ut sed vitae dolor. Pariatur dignissimos et sa epe voluptatem enim.
fake.sentences(nb=3) # [u'Aut ut voluptas voluptates rerum.', u'Facilis ullam vel it sunt veritatis cupiditate quo.', u'Illum numquam totam quia quia molestiae perspiciatis placeat nihil.']
faker.providers.misc¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True) # YGmjDXam@6
fake.locale() # cn_BR
fake.md5(raw_output=False) # 99d9968c0b7401af77563d36600ec9a3
fake.sha1(raw_output=False) # 19e0cf4b7cd6ce97e09b9b7f5a983dbdb0c1d70b
fake.null_boolean() # None
fake.sha256(raw_output=False) # c24736fb173982f3ab0608433d4b9931acee6aef3d62cb396b820f1497 499252
fake.country_code() # EG
fake.language_code() # cn
fake.boolean(chance_of_getting_true=50) # False
faker.providers.person¶
fake.last_name_male() # موسوی
fake.name_female() # سرکار خانم دکتر فاطمه زهرا چنگیزی
fake.prefix_male() # جناب آقای دکتر
fake.prefix() # جناب آقای دکتر
fake.name() # حسین شادروان
fake.name_male() # یگانه دادفر
fake.first_name() # مبین
fake.first_name_male() # عرفان
fake.first_name_female() # سارا
fake.last_name_female() # گلپایگانی
fake.last_name() # ظفری
fake.prefix_female() # سرکار خانم
faker.providers.profile¶
fake.profile(fields=[]) # {'website': [u'http://.com/', u'http://.com/', u'http://.c om/'], 'username': u'.', 'name': u'\u0633\u0631\u06a9\u062 7\u0631 \u062e\u0627\u0646\u0645 \u0627\u0644\u0646\u0627\ u0632 \u0632\u0645\u0627\u0646\u06cc ', 'blood_group': 'B+ ', 'residence': u'9376 \u0622\u0631\u06cc\u0627 \u06a9\u06 48\u0686\u0647\n_, \u0627\u06cc\u0644\u0627\u0645 4826', ' company': u'\u0639\u0644\u06cc \u067e\u0648\u0631 LLC', 'a ddress': u'2956 \u0647\u0627\u0634\u0645\u06cc \u0645\u06c c\u062f\u0627\u0646\n}, \u0642\u0632\u0648\u06cc\u0646 538 978', 'birthdate': '1988-03-03', 'sex': 'F', 'job': 'Techn ical brewer', 'ssn': u'216-86-4904', 'current_location': ( Decimal('59.2786685'), Decimal('-113.750399')), 'mail': u' .@yahoo.com'}
fake.simple_profile() # {'username': u'.', 'name': u'\u062c\u0646\u0627\u0628 \u06 22\u0642\u0627\u06cc \u062f\u06a9\u062a\u0631 \u062d\u062f \u06cc\u062b \u0633\u0644\u0637\u0627\u0646\u06cc ', 'birt hdate': '2009-03-09', 'sex': 'F', 'address': u'12578 \u062 7\u062d\u0633\u0627\u0646 \u0628\u0646 \u0628\u0633\u062a\ n , \u0642\u0645 439', 'mail': u'p@gmail.com'}
faker.providers.python¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types) # (u'Ut suscipit.', 552, 4393, Decimal('-7.287839'), Decimal ('-229173981.193'), u'Expedita earum.', -278.71365701, u'Q uis sint commodi.', u'Eligendi quam.', 861, u'Ea sint cons equatur.', u'Et doloremque quam.')
fake.pystr(max_chars=20) # Accusamus dolorum.
fake.pyfloat(left_digits=None, right_digits=None, positive=False) # 2275.37706
fake.pystruct(count=10, *value_types) # ([8858, 9906, 9719244899.39, u'Quas molestiae id.', Decima l('-7.04178061152E+12'), u'Aut explicabo.', u'Quaerat nihi l cum.', u'Rerum sunt laborum.', u'Eligendi totam aut.', - 1901446811.0], {u'est': 7185, u'quidem': u'Quod ex et dolo rem.', u'quasi': Decimal('792.34'), u'quam': u'Consequatur minima.', u'doloremque': 55787786901932.0, u'facilis': u' http://.com/search/terms.jsp', u'nihil': u'l@gmail.com', u 'aspernatur': -35865222010300.5, u'magnam': Decimal('6.949 98177118E+14')}, {u'est': {3: u'40@hotmail.com', 4: [u'htt p://www..com/tag/tag/faq/', u'http://.com/categories/searc h/category/index.html', u'http://.info/author.php'], 5: {3 : u'.@.com', 4: u'Corrupti doloribus.', 5: [7507, u'Autem laborum.']}}, u'et': {9: 5859925616.285, 10: [-686.2024912 31776, u'Ut et omnis maxime.', Decimal('68997457514.5')], 11: {9: u'http://.com/register.html', 10: u'Aliquam aspern atur.', 11: [datetime(1981, 10, 16, 15, 11, 10), Decimal(' 1240.3852664')]}}, u'beatae': {5: u'Recusandae qui.', 6: [ u'http://.com/about/', u'.@yahoo.com', 595172.13410318], 7 : {5: 9687, 6: u'http://www..biz/main/posts/category.html' , 7: [8080, datetime(1972, 4, 18, 3, 57, 13)]}}, u'similiq ue': {4: -779.972063154968, 5: [u'Magnam dolore eius.', u' Voluptatum.', -2628331770.0], 6: {4: u'Dolores sequi aut.' , 5: u'Quos repudiandae.', 6: [datetime(1981, 11, 14, 0, 9 , 49), u'Est ipsum.']}}, u'provident': {0: 2449, 1: [7298, u'Atque assumenda et.', u'46@hotmail.com'], 2: {0: u'Ad e t tempore.', 1: 3371, 2: [6466, datetime(2003, 7, 4, 21, 1 1, 24)]}}, u'rem': {8: u'http://www..info/', 9: [4661, u'h ttp://.biz/search/list/author/', datetime(1983, 11, 6, 13, 49, 29)], 10: {8: u'Fugiat magnam.', 9: Decimal('-8.24334 429223E+14'), 10: [u'http://.com/main/', 5312]}}, u'quae': {1: -56921106264176.3, 2: [u'Nostrum ducimus eum.', u'Sit quod eius illum.', 1239], 3: {1: u'q@.com', 2: Decimal('- 52212588422.3'), 3: [u'Placeat est aliquam.', datetime(197 0, 5, 30, 20, 5, 16)]}}, u'dicta': {8: {8: [Decimal('-15.2 58730433'), u'.@.org'], 6: 2254, 7: u'Ea magnam expedita.' }, 6: u'Dolorum distinctio.', 7: [u'Et suscipit aut.', 189 8, 6307]}, u'autem': {8: [8679, u'Vel delectus.', u'http:/ /www..org/'], 9: {8: 47.35685, 9: [u'http://.net/search/ta g/explore/about/', u'http://.info/home.html'], 7: 197}, 7: u'Sapiente dolor.'}})
fake.pydecimal(left_digits=None, right_digits=None, positive=False) # -1.25339453756
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types) # [1523, 9837, 1302, u'Sed ut accusantium.', -105365327439.0 , u'http://www..org/wp-content/blog/main.php', u'Sit moles tiae error.', datetime(2001, 3, 12, 3, 23, 47), u'Dignissi mos cum.', 248, u'Doloribus facere.']
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types) # (u'At est ipsa unde.', u'x@hotmail.com', u'.@.com', u'http ://.com/', u'Magnam omnis quia.', u'Esse est inventore.', 318619367.97018, 7661, 6558, -94616902392801.0)
fake.pybool() # False
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types) # set([1153, -815455.78, 7873, 8523, u'Voluptatem qui.', u'D icta eaque earum.', -8.8202])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types) # {u'est': u'Nisi doloribus.', u'sint': u'Veritatis iste.', u'libero': u'Rerum non similique.', u'aut': u'http://.info /main.asp', u'dolor': 4932, u'quae': u'Est sint dolore.'}
fake.pyint() # 2360
faker.providers.phone_number¶
fake.phone_number() # +98 920 036 1772
faker.providers.ssn¶
fake.ssn() # 857-02-6124
faker.providers.user_agent¶
fake.mac_processor() # PPC
fake.firefox() # Mozilla/5.0 (Windows NT 6.2; it-IT; rv:1.9.0.20) Gecko/201 5-03-05 08:49:58 Firefox/3.8
fake.linux_platform_token() # X11; Linux x86_64
fake.opera() # Opera/9.21.(X11; Linux x86_64; en-US) Presto/2.9.168 Versi on/12.00
fake.windows_platform_token() # Windows 98; Win 9x 4.90
fake.internet_explorer() # Mozilla/5.0 (compatible; MSIE 7.0; Windows 95; Trident/4.0 )
fake.user_agent() # Mozilla/5.0 (X11; Linux i686) AppleWebKit/5330 (KHTML, lik e Gecko) Chrome/14.0.800.0 Safari/5330
fake.chrome() # Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/5362 (KHTML, l ike Gecko) Chrome/15.0.893.0 Safari/5362
fake.linux_processor() # i686
fake.mac_platform_token() # Macintosh; U; Intel Mac OS X 10_6_6
fake.safari() # Mozilla/5.0 (iPod; U; CPU iPhone OS 4_0 like Mac OS X; sl- SI) AppleWebKit/535.21.2 (KHTML, like Gecko) Version/4.0.5 Mobile/8B118 Safari/6535.21.2