Language bg_BG¶
faker.providers.address
¶
fake.longitude() # -117.827429
fake.building_number() # 3967
fake.street_address() # 6924 Богослав Expressway Suite 920
fake.postalcode_plus4() # 20913-2098
fake.city_prefix() # Lake
fake.military_ship() # USCGC
fake.city() # Таралинговаfurt
fake.zipcode_plus4() # 57021-3504
fake.state_abbr() # MI
fake.latitude() # 76.3363725
fake.street_suffix() # Harbor
fake.city_suffix() # borough
fake.military_dpo() # Unit 9141 Box 1897
fake.country() # Pitcairn Islands
fake.secondary_address() # Suite 973
fake.geo_coordinate(center=None, radius=0.001) # -15.722676
fake.postalcode() # 22293
fake.address() # 366 Данелина Lake Suite 191 Бумовville, MI 72603
fake.state() # Alabama
fake.military_state() # AA
fake.street_name() # Мартин Union
fake.zipcode() # 84475
fake.postcode() # 18354
fake.military_apo() # PSC 2570, Box 6166
faker.providers.barcode
¶
fake.ean(length=13) # 9676819192932
fake.ean13() # 3912638510806
fake.ean8() # 26303604
faker.providers.color
¶
fake.rgb_css_color() # rgb(95,39,123)
fake.color_name() # DarkRed
fake.rgb_color_list() # (20, 180, 51)
fake.rgb_color() # 151,210,187
fake.safe_hex_color() # #221100
fake.safe_color_name() # silver
fake.hex_color() # #9dfcbf
faker.providers.company
¶
fake.company() # Юрганчев КДА
fake.company_suffix() # KDA
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None) # 506
fake.credit_card_full(card_type=None, validate=False, max_check=10) # VISA 13 digit Ерол Китов 4532733661555 02/26 CVC: 23
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y") # 11/18
fake.credit_card_number(card_type=None, validate=False, max_check=10) # 6011924058098596
fake.credit_card_provider(card_type=None) # JCB 15 digit
faker.providers.currency
¶
fake.currency_code() # XAF
faker.providers.date_time
¶
fake.date_time_ad() # 0598-09-02 22:16:47
fake.month() # 03
fake.am_pm() # PM
fake.iso8601() # 2012-09-06T02:27:09
fake.date_time_this_century() # 2006-08-24 02:13:16
fake.date_time() # 2005-01-02 01:54:36
fake.month_name() # October
fake.date_time_this_month() # 2016-03-02 23:11:46
fake.date_time_this_decade() # 2011-09-17 17:30:18
fake.day_of_week() # Wednesday
fake.day_of_month() # 11
fake.time(pattern="%H:%M:%S") # 17:34:01
fake.date_time_between(start_date="-30y", end_date="now") # 2003-07-21 05:14:58
fake.unix_time() # 371732685
fake.date_time_this_year() # 2016-03-14 08:21:31
fake.timezone() # Pacific/Port_Moresby
fake.century() # XIX
fake.date(pattern="%Y-%m-%d") # 1997-12-02
fake.year() # 1987
faker.providers.file
¶
fake.mime_type(category=None) # model/x3d+binary
faker.providers.internet
¶
fake.ipv4() # 249.52.241.222
fake.url() # http://www..com/
fake.company_email() # .@.info
fake.uri() # http://www..com/
fake.image_url(width=None, height=None) # http://placekitten.com/383/958
fake.tld() # com
fake.free_email() # 39@hotmail.com
fake.slug(*args, **kwargs) # quia-possimus
fake.free_email_domain() # yahoo.com
fake.domain_name() # .com
fake.uri_extension() # .html
fake.ipv6() # 8dfe:66bc:48df:6868:68f0:3d52:2df5:4c1b
fake.safe_email() # q@example.com
fake.user_name(*args, **kwargs) # g
fake.uri_path(deep=None) # app
fake.email() # 34@gmail.com
fake.uri_page() # faq
fake.mac_address() # e3:d4:1c:bf:2b:a7
faker.providers.job
¶
fake.job() # Research officer, government
faker.providers.lorem
¶
fake.text(max_nb_chars=200) # Aperiam assumenda vitae autem voluptas. Est nisi voluptatu m omnis officiis voluptatem eum. Perspiciatis quaerat quae rat accusantium quam.
fake.sentence(nb_words=6, variable_nb_words=True) # Temporibus quidem quasi modi.
fake.word() # qui
fake.paragraphs(nb=3) # [u'Qui et dolorum aspernatur beatae praesentium illo debit is quibusdam. Adipisci occaecati dolorem assumenda quia ma gni. Numquam dolorum voluptates corrupti maxime.', u'Quae id pariatur quia et maiores. Aperiam officiis non molestia s est sit voluptas. Earum ullam qui est sequi velit quod m axime. Harum omnis ut quam aut.', u'Fugiat aliquid laborum voluptatem aperiam magnam possimus. Inventore aliquam qui s occaecati minima nulla ut enim. Maxime aut dignissimos d olores maxime quia possimus. Qui ut aut atque omnis quis r eiciendis ab sed. Laudantium sed dolores sit consequuntur dolor id.']
fake.words(nb=3) # [u'voluptas', u'voluptas', u'omnis']
fake.paragraph(nb_sentences=3, variable_nb_sentences=True) # Minus ut molestiae quia rerum. Beatae odio nobis dolor. Ac cusamus in et iure harum a est dolorem.
fake.sentences(nb=3) # [u'Excepturi voluptatem et aspernatur pariatur nesciunt au tem voluptates.', u'Temporibus suscipit dolores exercitati onem et inventore commodi.', u'Corporis sunt accusantium e t quam autem pariatur.']
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True) # m(lpLgN!A2
fake.locale() # ru_CN
fake.md5(raw_output=False) # 18e23b757e30baea5c165a9368200118
fake.sha1(raw_output=False) # faf5a74daf36482ab6ca3790014f7a027bfa9ff3
fake.null_boolean() # False
fake.sha256(raw_output=False) # 89f88f9fb1940c706058a836ecd05b32b108bbb7eb46b1f10bde05b504 6ecca8
fake.country_code() # ID
fake.language_code() # es
fake.boolean(chance_of_getting_true=50) # True
faker.providers.person
¶
fake.last_name_male() # Монтянов
fake.name_female() # Г-ца Мимоза Катърова
fake.prefix_male() # Г-н
fake.prefix() # (u'\u0413-\u043d', u'\u0414\u0440.')
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://.b iz/', u'http://www..com/'], 'username': u'.', 'name': u'\u 0414\u0440. \u0427\u0435\u0440\u0435\u0448\u0430 \u041f\u0 440\u044a\u043d\u0434\u0430\u0447\u043a\u0430', 'blood_gro up': 'A+', 'residence': u'08814 \u0417\u0432\u0435\u0437\u 0434\u0435\u043c\u0438\u0440\u0430 Ferry Suite 975\n\u0412 \u044a\u0437\u0432\u044a\u0437\u043e\u0432chester, MS 6307 3', 'company': u'\u041a\u043e\u0434\u0443\u043a\u043e\u043 2 \u041c\u0430\u043d\u0433\u044a\u0444\u043e\u0432\u0430 \ u0421\u0414', 'address': u'8533 \u0412\u044a\u0437\u0432\u 044a\u0437\u043e\u0432 Lodge\n\u0421\u043e\u043f\u0430\u04 34\u0436\u0438\u0435\u0432\u0430mouth, AS 52218', 'birthda te': '1979-10-07', 'sex': 'M', 'job': 'Arboriculturist', ' ssn': u'749-19-4755', 'current_location': (Decimal('23.395 120'), Decimal('-43.128907')), 'mail': u'48@gmail.com'}
fake.simple_profile() # {'username': u'.', 'name': u'\u0412\u0438\u0434\u044e \u04 1f\u043b\u043e\u0449\u0430\u043a\u043e\u0432', 'birthdate' : '1992-01-13', 'sex': 'M', 'address': u'9193 \u0411\u043e \u043d\u043a\u043e Motorway Suite 953\n\u0427\u0443\u0442\ u0443\u0440\u043a\u043e\u0432burgh, NJ 04753', 'mail': u'. @yahoo.com'}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types) # (u'http://.com/login/', u'88@.com', 38332912602230.7, u'As sumenda ut ut ea.', u'Earum dolores atque.', u'Ipsa quam a ssumenda.', u'Eos ut aliquam.', 921, u'http://.org/explore /faq/', u'Tenetur dolores.')
fake.pystr(max_chars=20) # Molestiae ea vel.
fake.pyfloat(left_digits=None, right_digits=None, positive=False) # -708019.169607
fake.pystruct(count=10, *value_types) # ([u'Voluptatem.', Decimal('-282095474568'), 9732, u'Esse o mnis.', 8980, u'Eum praesentium.', u'w@yahoo.com', u'h@.bi z', Decimal('-71.8'), u'Delectus eveniet.'], {u'in': u'htt p://www..com/author.php', u'commodi': u'Voluptas odit ut.' , u'quis': u'Consequatur.', u'repudiandae': Decimal('-7.78 8173'), u'eaque': datetime(1995, 7, 24, 7, 27, 36), u'aut' : 753976.11683, u'porro': datetime(1970, 7, 10, 15, 1, 12) , u'reiciendis': u'.@.com', u'cupiditate': u'.@.com'}, {u' nostrum': {5: 5309, 6: [u'http://www..net/index/', u'Tempo ribus quas et.', 1556806225.5], 7: {5: u'Repellendus.', 6: u'Recusandae adipisci.', 7: [u'Fugit et eaque aut.', u'.@ .com']}}, u'unde': {8: {8: [u'http://www..com/post.html', u'Officia hic magnam.'], 6: datetime(1973, 12, 9, 6, 11, 5 6), 7: u'Numquam enim.'}, 6: 1759, 7: [datetime(2001, 8, 1 4, 23, 21, 15), u'Molestiae dolore ea.', u'e@gmail.com']}, u'ratione': {2: datetime(1982, 12, 24, 6, 59, 59), 3: [-5 73539271549.9, u'http://www..com/homepage/', u'.@hotmail.c om'], 4: {2: 3313, 3: u'http://www..com/home.php', 4: [u'- .@.info', 1494]}}, u'fugiat': {4: u'Et excepturi qui.', 5: [datetime(1994, 8, 22, 21, 8, 35), -148193.52, u'Dolores aperiam.'], 6: {4: 356, 5: u'http://www..info/homepage.htm l', 6: [datetime(1984, 9, 17, 7, 26, 4), u'Tenetur consequ atur.']}}, u'nihil': {8: [u'Eos enim ea.', u'Molestias.', u'http://.com/main/wp-content/posts/register.htm'], 9: {8: u'Debitis esse ea.', 9: [25348430.95753, 3138], 7: u'.@gm ail.com'}, 7: u'http://.com/login/'}, u'sapiente': {1: dat etime(1974, 9, 17, 16, 2, 43), 2: [u'Nemo ea nostrum ex.', 8456, u'Culpa sed ipsa rem.'], 3: {1: u'Sed velit quae.', 2: u'Earum voluptates.', 3: [Decimal('5.90753315471E+14') , u'http://www..com/']}}, u'ex': {9: datetime(2007, 8, 8, 9, 39, 14), 10: [Decimal('-9.91404295744E+14'), u'Architec to possimus.', Decimal('9.07884467497E+13')], 11: {9: -679 16048856726.0, 10: -35463.208, 11: [u'.@.info', u'Voluptat em quaerat.']}}, u'aut': {8: u'Eos quisquam hic.', 9: [dat etime(2008, 6, 17, 0, 44, 35), u'Ea sint laborum.', u'http ://www..com/'], 10: {8: 6534, 9: 5405, 10: [datetime(1978, 10, 22, 0, 27, 57), u'http://.org/explore/login/']}}, u'i n': {0: 5458, 1: [datetime(1977, 10, 22, 7, 24, 33), 36575 076607484.4, datetime(1979, 6, 20, 5, 21, 10)], 2: {0: 213 0, 1: u'Maiores accusamus.', 2: [u'http://www..com/', date time(1971, 2, 9, 17, 41, 22)]}}, u'earum': {3: u'Expedita expedita.', 4: [7174, Decimal('-96.25'), Decimal('-5.8838' )], 5: {3: u'Iure assumenda quae.', 4: u'Debitis quia.', 5 : [u'Voluptate porro est.', u'Voluptates eum eum.']}}})
fake.pydecimal(left_digits=None, right_digits=None, positive=False) # -9.57
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types) # [u'.@yahoo.com', Decimal('547432030.958'), u'.@.com', u'Qu aerat voluptatem.', -926.20114, u'http://www..com/', 95.55 5, datetime(2000, 7, 17, 15, 33, 18), 9341, 8265]
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types) # (datetime(1986, 11, 2, 20, 11, 52), 644405351.27, u'Maiore s laudantium.', u'Quae quia odio.', u'Et voluptatem aut.', 6519, 7992, u'Ut nulla sint sunt.', u'Ut et a commodi.', u'.@gmail.com', 4501)
fake.pybool() # True
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types) # set([704, Decimal('188644934454'), u'Similique maiores.', u'Omnis ut doloribus.', u'Laborum in iste cum.', Decimal(' -7.44021372587E+13'), Decimal('-978.517796878'), u'.@.net' , u'Hic saepe atque.', u'Dignissimos quaerat.', 2265, date time(1976, 9, 13, 12, 22, 21)])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types) # {u'ad': datetime(1975, 2, 8, 3, 28), u'natus': u'Repellat sit aut.', u'officiis': u'Autem harum.', u'excepturi': dat etime(2014, 6, 17, 14, 17, 46), u'enim': u'Aperiam dolor.' , u'accusantium': 2883, u'nam': 65483896557.0, u'pariatur' : 7345, u'aut': u'Nobis voluptas.', u'error': 916.7579, u' qui': u'y@.biz', u'nobis': datetime(1991, 10, 23, 8, 45, 5 1), u'optio': u'http://.com/tag/search/blog/post/', u'omni s': datetime(1984, 12, 17, 20, 42, 40)}
fake.pyint() # 1656
faker.providers.phone_number
¶
fake.phone_number() # 0250 916 285
faker.providers.ssn
¶
fake.ssn() # 735-81-4326
faker.providers.user_agent
¶
fake.mac_processor() # U; Intel
fake.firefox() # Mozilla/5.0 (X11; Linux x86_64; rv:1.9.7.20) Gecko/2012-08 -21 14:42:16 Firefox/3.6.13
fake.linux_platform_token() # X11; Linux i686
fake.opera() # Opera/9.83.(Windows NT 5.01; sl-SI) Presto/2.9.163 Version /10.00
fake.windows_platform_token() # Windows 98
fake.internet_explorer() # Mozilla/5.0 (compatible; MSIE 7.0; Windows NT 5.01; Triden t/5.1)
fake.user_agent() # Opera/9.74.(Windows CE; it-IT) Presto/2.9.183 Version/10.0 0
fake.chrome() # Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/5342 (KHTML, l ike Gecko) Chrome/15.0.845.0 Safari/5342
fake.linux_processor() # x86_64
fake.mac_platform_token() # Macintosh; Intel Mac OS X 10_6_2
fake.safari() # Mozilla/5.0 (Windows; U; Windows NT 5.1) AppleWebKit/535.3 7.2 (KHTML, like Gecko) Version/4.0.3 Safari/535.37.2