Language uk_UA¶
faker.providers.address
¶
fake.longitude() # -154.139006
fake.building_number() # 23361
fake.street_address() # 667 Овчаренко Mills Apt. 451
fake.postalcode_plus4() # 04233-6121
fake.city_prefix() # West
fake.military_ship() # USCGC
fake.city() # West Janeborough
fake.zipcode_plus4() # 80216-8594
fake.state_abbr() # CT
fake.latitude() # 1.752877
fake.street_suffix() # Club
fake.city_suffix() # furt
fake.military_dpo() # Unit 5044 Box 7251
fake.country() # Russian Federation
fake.secondary_address() # Suite 915
fake.geo_coordinate(center=None, radius=0.001) # -5.045588
fake.postalcode() # 97459
fake.address() # 2171 Jane Via Apt. 629 East Johnview, GA 46173-8553
fake.state() # Indiana
fake.military_state() # AA
fake.street_name() # Дацюк Plaza
fake.zipcode() # 89064
fake.postcode() # 76315-0491
fake.military_apo() # PSC 0479, Box 6866
faker.providers.barcode
¶
fake.ean(length=13) # 5625125941448
fake.ean13() # 5534015514634
fake.ean8() # 00176804
faker.providers.color
¶
fake.rgb_css_color() # rgb(224,46,32)
fake.color_name() # DarkGreen
fake.rgb_color_list() # (200, 2, 202)
fake.rgb_color() # 236,97,188
fake.safe_hex_color() # #339900
fake.safe_color_name() # silver
fake.hex_color() # #66f99a
faker.providers.company
¶
fake.company() # Романенко-Юрченко
fake.company_suffix() # Group
fake.catch_phrase() # Polarized maximized neural-net
fake.bs() # implement synergistic action-items
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None) # 385
fake.credit_card_full(card_type=None, validate=False, max_check=10) # JCB 15 digit John Ґерета 309673483006476 03/25 CVC: 808
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y") # 12/19
fake.credit_card_number(card_type=None, validate=False, max_check=10) # 2100157486125290
fake.credit_card_provider(card_type=None) # Diners Club / Carte Blanche
faker.providers.currency
¶
fake.currency_code() # LAK
faker.providers.date_time
¶
fake.date_time_ad() # 0035-07-02 23:41:22
fake.month() # 12
fake.am_pm() # PM
fake.iso8601() # 2002-02-12T14:51:15
fake.date_time_this_century() # 2009-05-29 11:44:49
fake.date_time() # 2009-03-16 13:50:44
fake.month_name() # May
fake.date_time_this_month() # 2016-03-10 07:29:21
fake.date_time_this_decade() # 2012-03-02 11:12:14
fake.day_of_week() # Saturday
fake.day_of_month() # 24
fake.time(pattern="%H:%M:%S") # 09:00:00
fake.date_time_between(start_date="-30y", end_date="now") # 1991-03-27 15:41:35
fake.unix_time() # 699932629
fake.date_time_this_year() # 2016-03-14 08:24:07
fake.timezone() # Pacific/Efate
fake.century() # XII
fake.date(pattern="%Y-%m-%d") # 2004-12-23
fake.year() # 1987
faker.providers.file
¶
fake.mime_type(category=None) # video/mp4
faker.providers.internet
¶
fake.ipv4() # 253.84.17.35
fake.url() # http://.com/
fake.company_email() # i@.info
fake.uri() # http://.net/home.php
fake.image_url(width=None, height=None) # http://placekitten.com/423/317
fake.tld() # com
fake.free_email() # john.@hotmail.com
fake.slug(*args, **kwargs) # voluptas-sed-facere
fake.free_email_domain() # yahoo.com
fake.domain_name() # .com
fake.uri_extension() # .php
fake.ipv6() # 3379:e043:639f:f98d:32d8:278a:1e98:9b6a
fake.safe_email() # y@example.com
fake.user_name(*args, **kwargs) # john.
fake.uri_path(deep=None) # main/app
fake.email() # o@.com
fake.uri_page() # terms
fake.mac_address() # fe:5f:f5:7a:03:e6
faker.providers.job
¶
fake.job() # Педагог
faker.providers.lorem
¶
fake.text(max_nb_chars=200) # Omnis sed placeat eos consequuntur ea odio. Error id ut ut sit sit. Explicabo pariatur explicabo perferendis qui et in sed. Reprehenderit adipisci aut natus enim distinctio v oluptatibus maiores qui.
fake.sentence(nb_words=6, variable_nb_words=True) # Nisi inventore atque et harum autem animi.
fake.word() # nihil
fake.paragraphs(nb=3) # [u'Culpa illum vero soluta repellat. Atque dicta natus qua erat. Aut est consequatur quo quam ut autem. Quis id volup tas atque commodi.', u'Eius dolor nostrum nobis unde cumqu e error. Exercitationem tempora esse ipsa nulla veritatis. Exercitationem porro aut consequatur aut eveniet. Officia numquam enim corporis.', u'Voluptas iure omnis consequatu r modi quam modi est. Consequuntur dignissimos aut consect etur magnam eaque molestiae. Explicabo officiis suscipit m inus. Cupiditate iure odio aperiam.']
fake.words(nb=3) # [u'et', u'voluptatem', u'velit']
fake.paragraph(nb_sentences=3, variable_nb_sentences=True) # Accusantium impedit est tempora veritatis vel maiores dict a dolor. Modi laboriosam quibusdam et repudiandae. Sit lab ore voluptate cupiditate enim in dolore est. Consequatur v oluptas blanditiis sint quo corrupti et.
fake.sentences(nb=3) # [u'Et tempore est numquam voluptatibus optio.', u'Dolorem assumenda consequatur velit voluptas facilis rerum et.', u 'Corrupti odit laboriosam architecto amet enim modi dolore s.']
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True) # AKTyKpGG^^
fake.locale() # fr_RU
fake.md5(raw_output=False) # 3808794721216de72f653283c05499d3
fake.sha1(raw_output=False) # ab874bbe58675fdc755e88cf98cb73ef68b4323c
fake.null_boolean() # True
fake.sha256(raw_output=False) # b4049543e4169a3f9889dfb4dce46925b7a7a9e4f36ca413409453fb27 9de4b9
fake.country_code() # ID
fake.language_code() # ru
fake.boolean(chance_of_getting_true=50) # False
faker.providers.person
¶
fake.last_name_male() # Оліфіренко
fake.name_female() # пані Аніта Зайченко
fake.prefix_male() # пан
fake.prefix() # (u'\u043f\u0430\u043d',)
fake.name() # пані Лариса Ільєнко
fake.name_male() # пан Амвросій Наливайко
fake.first_name() # Jane
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://ww w..info/'], 'username': u'jane.', 'name': u"\u0422\u0435\u 0440\u0435\u0437\u0430 \u0414\u0435\u043c'\u044f\u043d\u04 47\u0443\u043a", 'blood_group': 'AB-', 'residence': u'263 \u041c\u0430\u0442\u0432\u0456\u0454\u043d\u043a\u043e Sta tion Suite 643\nPort Janemouth, NH 47222', 'company': u'\u 0428\u0438\u043d\u043a\u0430\u0440\u0435\u043d\u043a\u043e -\u0411\u0430\u0431\u0435\u043d\u043a\u043e', 'address': u '027 \u041e\u0432\u0441\u0456\u0454\u043d\u043a\u043e Fiel ds Suite 993\nWest Janemouth, GA 17087', 'birthdate': '199 2-09-09', 'sex': 'F', 'job': u'\u0413\u0440\u0430\u0444\u0 456\u043a', 'ssn': u'938377517487', 'current_location': (D ecimal('-23.790429'), Decimal('-28.576105')), 'mail': u'n@ yahoo.com'}
fake.simple_profile() # {'username': u'.john', 'name': u'\u0412\u0456\u0442\u0430\ u043b\u0456\u0439 \u0421\u0438\u0440\u043e\u0442\u0435\u04 3d\u043a\u043e', 'birthdate': '2001-01-04', 'sex': 'F', 'a ddress': u'7883 \u041f\u0456\u0434\u0434\u0443\u0431\u043d \u0438\u0439 Club\nNew John, KY 81343', 'mail': u'.john@gm ail.com'}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types) # [u'Facilis neque.', u'Excepturi quas.', 8486, u'http://www ..biz/app/list/tag/privacy.php', u'Perferendis iste.', u'L aborum est.', 3584, Decimal('1.59660377746E+14'), u'.jane@ hotmail.com', datetime(1997, 10, 11, 0, 38, 41), u'Dicta n isi fugit.', 6344.33443596]
fake.pystr(max_chars=20) # Exercitationem.
fake.pyfloat(left_digits=None, right_digits=None, positive=False) # -66397464644.0
fake.pystruct(count=10, *value_types) # ([datetime(1977, 3, 20, 17, 37, 42), u'jane.@gmail.com', u 'Ea tenetur et.', u'jane39@hotmail.com', 6157, datetime(19 81, 12, 4, 10, 37, 37), u'At aut impedit amet.', 6422, u'B eatae expedita.', 8937], {u'saepe': 2662937.8, u'sit': 790 3, u'voluptas': u'Consequatur.', u'voluptatum': 4222, u'ev eniet': datetime(1995, 7, 10, 5, 50, 20), u'enim': -285991 95.6337, u'et': u'y@.biz', u'soluta': u'john.@hotmail.com' , u'veritatis': 561}, {u'voluptas': {9: u'jane17@gmail.com ', 10: [u'x@.com', datetime(2004, 9, 19, 20, 35, 36), u'Et tempore dolor.'], 11: {9: 14357062342.0, 10: u'Exercitati onem est.', 11: [5088, 9738]}}, u'enim': {8: {8: [u'Iste q uas vero.', 4608], 6: u'In expedita et.', 7: u'g@.com'}, 6 : 6879, 7: [u'http://.com/', u'Doloremque totam.', u'Verit atis sit.']}, u'ea': {0: Decimal('-9.5'), 1: [u'Sequi est. ', 6324117.64, 9095], 2: {0: u'jane.@.com', 1: u'Aliquam d ignissimos.', 2: [u'Reiciendis ut.', 7898]}}, u'dolores': {1: 8938384408.2538, 2: [1032, datetime(1983, 10, 8, 1, 36 , 52), u'Ea voluptatem.'], 3: {1: datetime(1971, 6, 29, 12 , 40, 23), 2: 711.654, 3: [u'Mollitia omnis eius.', dateti me(2006, 10, 5, 14, 17, 12)]}}, u'ipsam': {2: u'Corporis v oluptatem.', 3: [u'Ea et aut saepe.', u'Similique.', u'Cup iditate sit in.'], 4: {2: u'Est neque.', 3: 597, 4: [u'Vol uptatem facilis.', u'Cupiditate dolorum.']}}, u'rerum': {8 : -765.917, 9: [453564184.5, u'Eum odio quo quas.', u'jane 08@hotmail.com'], 10: {8: 8839, 9: u'Reiciendis enim vel.' , 10: [u'http://www..info/app/category/privacy.html', u'Ne sciunt ipsum quia.']}}, u'error': {4: u'Dolor quia molliti a.', 5: [u'Veritatis expedita.', datetime(2010, 2, 4, 0, 2 4, 13), u'u@.info'], 6: {4: u'Excepturi aut non.', 5: u'Op tio enim minus et.', 6: [u'Accusamus.', Decimal('9.3120932 1267E+12')]}}, u'minus': {5: 6510232.458461, 6: [u'Eaque s ed iure.', u'Et id id fugit.', Decimal('-8759912.47')], 7: {5: u'Iure eligendi.', 6: -2.757, 7: [u'Libero aut ea ips a.', Decimal('-624221877571')]}}, u'quo': {8: [u'Voluptas architecto.', u'jane.@yahoo.com', u'Enim impedit rerum.'], 9: {8: u'Aut et doloribus.', 9: [7947904401056.74, u'f@.i nfo'], 7: u'g@gmail.com'}, 7: datetime(2004, 1, 14, 21, 46 , 21)}, u'consequatur': {3: u'Non adipisci ab.', 4: [u'Cul pa molestiae.', u'Ea eligendi.', 9095], 5: {3: u'Autem in vitae.', 4: 3344, 5: [u'Doloremque tenetur.', u'http://www ..biz/']}}})
fake.pydecimal(left_digits=None, right_digits=None, positive=False) # -6.89742321097E+12
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types) # [u'Tenetur tempore.', datetime(1977, 7, 2, 18, 30, 14), 69 39, u'Vitae expedita.', 6074, 681, datetime(1990, 8, 2, 14 , 45, 31), 8107, u'Eius fuga rerum.', -492.0, u'Eum vel of ficiis.', Decimal('-9681.5267769'), u'Cupiditate nihil.']
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types) # (u'http://www..com/tags/faq.asp', Decimal('6102788.0'), u' Facere occaecati ab.', Decimal('-48518200630.2'), u'Quod i d esse qui et.', 310, u'Incidunt.', u'Ipsa odio.', -722306 1.9, 8509, 1.331)
fake.pybool() # True
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types) # set([Decimal('-2199648.11136'), u'http://www..biz/tag/main /wp-content/author.php', u'.jane@gmail.com', Decimal('1681 290.91206'), u'http://www..com/list/category/faq.jsp', u'V oluptas incidunt.', 1999, u'Est iusto.', 9.855323, 4445, d atetime(1979, 7, 26, 19, 4, 1), u'http://.biz/tag/post.htm l', u'Omnis repellat.', u'Totam quis adipisci.'])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types) # {u'sequi': Decimal('-2255731197.83'), u'iste': u'Repellat eius.', u'accusamus': u'Aliquam voluptas.', u'ea': u'Et en im iste.', u'accusantium': u'Non sunt.', u'quam': u'Maiore s voluptas.', u'facilis': 816, u'quia': u'Quia qui labore ut.'}
fake.pyint() # 6319
faker.providers.phone_number
¶
fake.phone_number() # 365-68-23
faker.providers.ssn
¶
fake.ssn() # 509144448114
faker.providers.user_agent
¶
fake.mac_processor() # Intel
fake.firefox() # Mozilla/5.0 (Windows 95; en-US; rv:1.9.0.20) Gecko/2010-04 -11 02:02:28 Firefox/3.8
fake.linux_platform_token() # X11; Linux i686
fake.opera() # Opera/9.85.(X11; Linux x86_64; en-US) Presto/2.9.161 Versi on/11.00
fake.windows_platform_token() # Windows NT 6.2
fake.internet_explorer() # Mozilla/5.0 (compatible; MSIE 8.0; Windows CE; Trident/4.0 )
fake.user_agent() # Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_8_9; rv:1.9.4.2 0) Gecko/2014-05-07 23:53:45 Firefox/3.6.20
fake.chrome() # Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/5362 (KHTML, l ike Gecko) Chrome/14.0.897.0 Safari/5362
fake.linux_processor() # x86_64
fake.mac_platform_token() # Macintosh; PPC Mac OS X 10_5_1
fake.safari() # Mozilla/5.0 (Windows; U; Windows CE) AppleWebKit/532.11.3 (KHTML, like Gecko) Version/4.0.4 Safari/532.11.3