Language ko_KR¶
faker.providers.address¶
fake.latitude() # -76.548972
fake.street_name() # 임유예로
fake.address() # 충청남도 문석다마을 용환동 5267 (498-658)
fake.street_address() # 별통완시 3734 403동 611호
fake.postcode() # 780-991
fake.longitude() # 79.353751
fake.country() # 키르기스스탄
fake.secondary_address() # 37-8
fake.street_suffix() # 로
fake.geo_coordinate(center=None, radius=0.001) # 43.661633
fake.city_suffix() # 구
fake.building_number() # 536
fake.city() # 강욱시
fake.state() # 대전광역시
faker.providers.barcode¶
fake.ean(length=13) # 9578094915315
fake.ean13() # 1121149781861
fake.ean8() # 84378460
faker.providers.color¶
fake.rgb_css_color() # rgb(100,148,125)
fake.color_name() # Maroon
fake.rgb_color_list() # (193, 190, 73)
fake.rgb_color() # 207,188,135
fake.safe_hex_color() # #448800
fake.safe_color_name() # purple
fake.hex_color() # #886fda
faker.providers.company¶
fake.company() # (주) 완
fake.company_suffix() # (주)
fake.catch_phrase() # 인체 공학적인 환경 친화적 유연성
fake.bs() # 배송 24/7 기술
faker.providers.credit_card¶
fake.credit_card_security_code(card_type=None) # 4120
fake.credit_card_full(card_type=None, validate=False, max_check=10) # VISA 16 digit 이 희 4556691693831857 01/19 CVC: 941
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y") # 06/23
fake.credit_card_number(card_type=None, validate=False, max_check=10) # 38774946587413
fake.credit_card_provider(card_type=None) # Discover
faker.providers.currency¶
fake.currency_code() # PHP
faker.providers.date_time¶
fake.date_time_ad() # 1577-01-06 23:31:51
fake.month() # 05
fake.am_pm() # PM
fake.iso8601() # 1970-02-15T15:01:47
fake.date_time_this_century() # 2004-10-14 01:09:08
fake.date_time() # 1999-06-09 13:37:08
fake.month_name() # January
fake.date_time_this_month() # 2016-03-09 03:04:27
fake.date_time_this_decade() # 2011-03-10 03:43:53
fake.day_of_week() # Friday
fake.day_of_month() # 17
fake.time(pattern="%H:%M:%S") # 20:05:08
fake.date_time_between(start_date="-30y", end_date="now") # 1986-05-14 21:11:47
fake.unix_time() # 296973236
fake.date_time_this_year() # 2016-03-14 08:14:22
fake.timezone() # Africa/Porto-Novo
fake.century() # XIII
fake.date(pattern="%Y-%m-%d") # 2016-02-13
fake.year() # 2014
faker.providers.file¶
fake.mime_type(category=None) # model/x3d+vrml
faker.providers.internet¶
fake.ipv4() # 210.228.16.78
fake.url() # http://.com/
fake.company_email() # .@.com
fake.uri() # http://www..net/
fake.image_url(width=None, height=None) # http://placehold.it/375x963
fake.tld() # com
fake.free_email() # .@hotmail.com
fake.slug(*args, **kwargs) # dignissimos-ullam
fake.free_email_domain() # hotmail.com
fake.domain_name() # .com
fake.uri_extension() # .htm
fake.ipv6() # 4142:21bd:6337:f29c:65c7:2899:f211:edba
fake.safe_email() # 42@example.com
fake.user_name(*args, **kwargs) # g
fake.uri_path(deep=None) # category/explore
fake.email() # j@yahoo.com
fake.uri_page() # homepage
fake.mac_address() # 40:9c:13:08:58:61
faker.providers.job¶
fake.job() # Therapist, speech and language
faker.providers.lorem¶
fake.text(max_nb_chars=200) # Rem sunt dolorem sequi cumque. Voluptas ut et ullam ipsam eligendi omnis. Ullam vel quia vero ipsam aspernatur vero.
fake.sentence(nb_words=6, variable_nb_words=True) # Quod fugit est commodi commodi beatae dolor.
fake.word() # molestiae
fake.paragraphs(nb=3) # [u'Voluptas nisi laudantium ea dolore voluptas voluptatem sed. Et dolorem natus in sint voluptatem. Quis ex quos quo s expedita. Rerum voluptates voluptatibus est adipisci.', u'Quia tenetur commodi magni tempora qui quis. Quae totam quaerat aut adipisci aliquid dolorem. Et eligendi dicta ne que qui molestias nesciunt autem. In quibusdam adipisci ea que.', u'Rerum perferendis et odio iste perferendis. Simil ique impedit ipsum quis officiis repellendus. Sit nam occa ecati cumque voluptatem.']
fake.words(nb=3) # [u'error', u'quaerat', u'at']
fake.paragraph(nb_sentences=3, variable_nb_sentences=True) # Unde veniam sit aut consequatur est omnis laboriosam. Aut ut ipsam quod alias nemo dolor. Libero occaecati harum qua s aperiam.
fake.sentences(nb=3) # [u'Aperiam omnis repudiandae veniam quam.', u'Nesciunt omn is sunt occaecati est quasi nihil ratione.', u'Rerum qui r em neque eaque eius ullam voluptatem.']
faker.providers.misc¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True) # KiAPSx3vnz
fake.locale() # el_TH
fake.md5(raw_output=False) # b0df2f1f34f04124698e5ab75a3f9528
fake.sha1(raw_output=False) # 88e9f7216c12c125fd46fb242eba5996f7913b32
fake.null_boolean() # False
fake.sha256(raw_output=False) # 49354a070e782bc93971903220ce2ffbe3f32a6f4c8c9073b16cb229c2 3a83b7
fake.country_code() # SM
fake.language_code() # el
fake.boolean(chance_of_getting_true=50) # False
faker.providers.person¶
fake.last_name_male() # 철
fake.name_female() # 후종
fake.name() # 백성
fake.name_male() # 장협한
fake.first_name() # 노
fake.first_name_male() # 최
fake.first_name_female() # 돈
fake.last_name_female() # 용
fake.last_name() # 영
faker.providers.profile¶
fake.profile(fields=[]) # {'website': [u'http://.com/', u'http://www..net/', u'http: //.com/', u'http://.com/'], 'username': u'42', 'name': u'\ ub0a8\uad81\uc5f0', 'blood_group': '0-', 'residence': u'\u acbd\uc0c1\ubd81\ub3c4 \ubc31\ub828\uc1a1\uc2dc \ubb18\ubc c4\uc11d\ub3d9 5 303 (950-078)', 'company': u'\ud611\uc120 \uc724', 'address': u'\ucda9\uccad\ub0a8\ub3c4 \uc2e0\uc70 4\ube44\uad70 \ucca0\uacbd\uc131\ub85c 852 3-5 (670-476)', 'birthdate': '2001-06-20', 'sex': 'F', 'job': 'Financial adviser', 'ssn': u'011-03-9143', 'current_location': (Deci mal('-45.6334025'), Decimal('80.324896')), 'mail': u'a@yah oo.com'}
fake.simple_profile() # {'username': u'c', 'name': u'\uad89\uc9c0', 'birthdate': ' 2013-10-30', 'sex': 'F', 'address': u'\uacbd\uc0c1\ubd81\u b3c4 \ubc94\uba85\uc2dc \n \ucca0\ub78c\uc0c1\ub3d9 5835 0 99 320-255', 'mail': u'e@hotmail.com'}
faker.providers.python¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types) # (u'Impedit quaerat.', u'20@yahoo.com', u'.@yahoo.com', u'S ed culpa est illum.', u'Non rerum ut omnis.', u'Vel ducimu s esse et.', u'Officiis quae.', u'http://www..com/main.php ')
fake.pystr(max_chars=20) # Voluptas mollitia.
fake.pyfloat(left_digits=None, right_digits=None, positive=False) # 3.97371758794e+14
fake.pystruct(count=10, *value_types) # ([u'Repellendus sed.', u'http://.com/list/main/search/regi ster/', u'Quo aspernatur cum.', u'Eum aliquam.', u'http:// www..biz/app/category/privacy/', datetime(1980, 4, 3, 13, 34, 56), u'Nihil nostrum.', u'32@.com', datetime(1994, 12, 30, 21, 22, 23), 6366], {u'omnis': u'http://.com/categori es/main.html', u'eaque': 2325, u'quam': datetime(1990, 11, 25, 5, 55, 20), u'fuga': 3314, u'quia': datetime(1993, 2, 7, 5, 31, 17), u'aut': u'Praesentium quis.', u'qui': u'Vo luptatem expedita.', u'et': Decimal('-59245939182.3'), u'a liquam': u'Ratione commodi qui.', u'earum': Decimal('34013 07535.0')}, {u'quidem': {4: u'.@.com', 5: [u'Est velit fug iat.', 8106, 70112880327.1], 6: {4: datetime(1977, 7, 2, 6 , 33, 10), 5: u'Nulla ab dolor ipsa.', 6: [Decimal('3.9193 3069983E+14'), 4034]}}, u'sit': {3: 8557, 4: [6718.6, 7093 22803.0, datetime(2006, 1, 21, 19, 19, 5)], 5: {3: 328, 4: u'Sed voluptas dolor.', 5: [u'l@gmail.com', u'Aperiam neq ue qui.']}}, u'dolor': {8: [-7024950698.0, Decimal('96.646 0365'), u'Voluptates eligendi.'], 9: {8: datetime(2001, 10 , 31, 7, 40, 25), 9: [u'Occaecati et quas.', 5431], 7: 759 5.253503}, 7: u'Maiores quo esse.'}, u'beatae': {1: u'Est laudantium.', 2: [1177, 7922, u'Ullam eum vero.'], 3: {1: 4332, 2: u'Tempora odit.', 3: [u'http://.org/', u'.@.com'] }}, u'aliquid': {8: Decimal('8.53548029095E+12'), 9: [date time(1983, 12, 30, 3, 12, 51), u'Architecto rerum.', -7408 214.69], 10: {8: 1542, 9: 8136.23, 10: [u'http://www..com/ home.asp', 9605]}}, u'placeat': {9: u'Rerum corrupti.', 10 : [-2180594441381.0, Decimal('-16.4'), 3380], 11: {9: u'Et dignissimos.', 10: datetime(2004, 2, 9, 16, 23, 50), 11: [7437, u'Ratione odit quo.']}}, u'provident': {2: 9685, 3: [u'k@.com', u'Vel et et molestias.', 267], 4: {2: u'Adipi sci recusandae.', 3: u'55@.net', 4: [Decimal('4.0766302104 8E+14'), u'Ut odio laudantium.']}}, u'enim': {8: {8: [u'ht tp://.com/faq.htm', u'Omnis magnam.'], 6: u'Veniam quia qu i.', 7: 4848}, 6: u'http://www..com/about/', 7: [9.1513429 2, datetime(2002, 9, 19, 8, 51, 8), datetime(1977, 10, 21, 2, 51, 14)]}, u'reiciendis': {5: u'Nobis accusantium.', 6 : [u'Non dolor eum rerum.', u'.@.org', u'Aut non libero.'] , 7: {5: u'Alias ut tempora.', 6: u'http://.net/terms/', 7 : [Decimal('-6.24427903762E+12'), u'http://www..info/']}}, u'consequatur': {0: u'f@.com', 1: [u'Laudantium qui.', -8 .46948498989, u'Et dolor facere.'], 2: {0: datetime(2002, 11, 3, 1, 47, 11), 1: u'Consequuntur.', 2: [u'Sunt autem i ncidunt.', u'Commodi dolor.']}}})
fake.pydecimal(left_digits=None, right_digits=None, positive=False) # -2.95711423529E+13
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types) # [9236, u'Voluptatem dicta.', u'Reprehenderit.', u'52@.com' , u'.@.com', u'Eos maiores natus.', datetime(2010, 4, 28, 9, 4, 26), 1565, u'Eum earum magnam.', -619.101291287, Dec imal('4.77479'), 9102, u'Nesciunt soluta non.']
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types) # (u'Velit et in dolor.', Decimal('48.0'), u'Natus excepturi .', 4841, 9902, u'Earum sit ut.', Decimal('28252077838.8') , u'http://www..com/categories/about.asp', u'Ab excepturi et est.', 672434593200062.0, 6644191.0)
fake.pybool() # True
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types) # set([u'Eligendi sed fugiat.', u'd@.org', datetime(1970, 9, 6, 10, 41, 20), u'r@.com', datetime(1988, 10, 13, 3, 23, 27), u'Voluptatum dolor.', u'Eos sed iure aut.', 238, u'As sumenda error.', 9524, 1339, 8091, Decimal('-71345551.237' )])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types) # {u'consequuntur': 41.0, u'est': 7830, u'ratione': u'http:/ /.com/app/blog/homepage/', u'quis': -5081.138432, u'debiti s': 4273, u'ut': u'Fugiat sapiente.', u'facilis': u'.@yaho o.com', u'tenetur': u'Voluptatem ab vel.', u'repudiandae': u'Incidunt velit.', u'omnis': u'Aut quasi officiis.'}
fake.pyint() # 9006
faker.providers.phone_number¶
fake.phone_number() # 064-356-0912
faker.providers.ssn¶
fake.ssn() # 556-58-8916
faker.providers.user_agent¶
fake.mac_processor() # Intel
fake.firefox() # Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4; rv:1.9.2.20 ) Gecko/2012-05-26 22:29:39 Firefox/3.6.2
fake.linux_platform_token() # X11; Linux i686
fake.opera() # Opera/9.58.(X11; Linux i686; en-US) Presto/2.9.189 Version /12.00
fake.windows_platform_token() # Windows 95
fake.internet_explorer() # Mozilla/5.0 (compatible; MSIE 8.0; Windows 98; Trident/5.0 )
fake.user_agent() # Opera/8.17.(X11; Linux i686; sl-SI) Presto/2.9.160 Version /11.00
fake.chrome() # Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_7) AppleWebKit /5312 (KHTML, like Gecko) Chrome/15.0.851.0 Safari/5312
fake.linux_processor() # x86_64
fake.mac_platform_token() # Macintosh; Intel Mac OS X 10_8_4
fake.safari() # Mozilla/5.0 (iPod; U; CPU iPhone OS 3_1 like Mac OS X; en- US) AppleWebKit/532.7.5 (KHTML, like Gecko) Version/4.0.5 Mobile/8B114 Safari/6532.7.5