Language cs_CZ¶
faker.providers.address
¶
fake.latitude() # 0.812784
fake.street_name() # Mírová
fake.address() # Nám. Republiky 648 573 06 Loštice
fake.street_address() # Mongolská 2/3
fake.postcode() # 090 66
fake.longitude() # 171.815067
fake.country() # Nikaragua
fake.city_name() # Bezdružice
fake.street_suffix() # Street
fake.geo_coordinate(center=None, radius=0.001) # -79.468002
fake.city_suffix() # Ville
fake.building_number() # 11
fake.street_suffix_long() # náměstí
fake.street_suffix_short() # nám.
fake.city() # Třemošná
fake.state() # Karlovarský kraj
faker.providers.barcode
¶
fake.ean(length=13) # 4658211108761
fake.ean13() # 4299964831980
fake.ean8() # 50495719
faker.providers.color
¶
fake.rgb_css_color() # rgb(130,174,8)
fake.color_name() # DeepSkyBlue
fake.rgb_color_list() # (153, 25, 96)
fake.rgb_color() # 101,23,221
fake.safe_hex_color() # #aa4400
fake.safe_color_name() # navy
fake.hex_color() # #daa900
faker.providers.company
¶
fake.company() # Benešová
fake.company_suffix() # o.s.
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None) # 1567
fake.credit_card_full(card_type=None, validate=False, max_check=10) # JCB 15 digit Igor Tichá 308845693162668 10/16 CVC: 422
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y") # 01/20
fake.credit_card_number(card_type=None, validate=False, max_check=10) # 30010372762321
fake.credit_card_provider(card_type=None) # VISA 16 digit
faker.providers.currency
¶
fake.currency_code() # GGP
faker.providers.date_time
¶
fake.date_time_ad() # 1077-11-04 17:58:14
fake.month() # 02
fake.am_pm() # PM
fake.iso8601() # 1989-10-07T23:45:36
fake.date_time_this_century() # 2009-12-04 21:33:46
fake.date_time() # 1985-06-29 03:48:38
fake.month_name() # June
fake.date_time_this_month() # 2016-03-02 14:24:51
fake.date_time_this_decade() # 2011-07-27 16:15:42
fake.day_of_week() # Thursday
fake.day_of_month() # 05
fake.time(pattern="%H:%M:%S") # 22:14:13
fake.date_time_between(start_date="-30y", end_date="now") # 1996-06-14 20:11:40
fake.unix_time() # 231000463
fake.date_time_this_year() # 2016-03-14 08:22:25
fake.timezone() # Africa/Bissau
fake.century() # I
fake.date(pattern="%Y-%m-%d") # 1988-09-02
fake.year() # 1988
faker.providers.file
¶
fake.mime_type(category=None) # video/mp4
faker.providers.internet
¶
fake.ipv4() # 179.117.151.213
fake.url() # http://imkov.com/
fake.company_email() # rzeman@astn.com
fake.uri() # http://www.svoboda.com/index/
fake.domain_word(*args, **kwargs) # astn
fake.image_url(width=None, height=None) # http://www.lorempixum.com/154/821
fake.tld() # net
fake.free_email() # erik54@gmail.com
fake.slug(*args, **kwargs) # voluptatem-quia
fake.free_email_domain() # gmail.com
fake.domain_name() # kopeck.com
fake.uri_extension() # .php
fake.ipv6() # f646:aef1:94cd:bc3e:09ef:e449:69a3:6967
fake.safe_email() # zdenka.pokorna@example.net
fake.user_name(*args, **kwargs) # michal.novakova
fake.uri_path(deep=None) # tag/category
fake.email() # prochazka.ludmila@gmail.com
fake.uri_page() # login
fake.mac_address() # 1e:63:19:bf:77:fb
faker.providers.job
¶
fake.job() # Energy engineer
faker.providers.lorem
¶
fake.text(max_nb_chars=200) # Cupiditate deserunt ut et enim autem commodi. Consequatur aperiam nesciunt rerum quos voluptate. Dicta animi odit om nis.
fake.sentence(nb_words=6, variable_nb_words=True) # Vel aut quo ut qui.
fake.word() # quo
fake.paragraphs(nb=3) # [u'Veritatis et cum voluptatum. Neque quis reiciendis hic magni eius. Non in architecto rerum et dignissimos volupta tem qui. Officia non atque qui id eius iste.', u'Corporis quas dolorem rerum veritatis culpa dolorum omnis. Minima b landitiis deleniti sed veritatis sapiente accusantium face re laudantium. Enim et libero amet optio magni laborum nih il.', u'Nesciunt dolor eum quaerat et. Ut hic voluptatem r epellendus recusandae est asperiores eius. Dolores itaque eaque qui quae labore alias sed. Sed ea et reprehenderit s unt.']
fake.words(nb=3) # [u'voluptatibus', u'assumenda', u'eos']
fake.paragraph(nb_sentences=3, variable_nb_sentences=True) # Ab vero et eum. Harum ut aut illum beatae rem fuga vel. Ex ercitationem vel hic cumque ipsum fuga.
fake.sentences(nb=3) # [u'Sunt velit impedit labore quia.', u'Sed dolores volupta s illo sunt.', u'Explicabo aut vitae accusantium nam.']
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True) # (BcAu+9e#l
fake.locale() # en_NL
fake.md5(raw_output=False) # d593e086be3a02de3eea0131c7a20cb8
fake.sha1(raw_output=False) # ac6246ab7c0b876309adfab74acb5c328fe5f43f
fake.null_boolean() # None
fake.sha256(raw_output=False) # fd8ba00919bd971602097c4e9b21597074f564be392d4c001fb3dba8f2 447cef
fake.country_code() # HR
fake.language_code() # es
fake.boolean(chance_of_getting_true=50) # True
faker.providers.person
¶
fake.last_name_male() # Moravec
fake.name_female() # Antonín Procházka
fake.prefix_male() # pan
fake.prefix() # (u'pan', u'JUDr.', u'Ing.', u'Bc.', u'Mgr.', u'MUDr.', u'R NDr.')
fake.name() # Přemysl Veselý
fake.suffix_female() # Ph.D.
fake.name_male() # Kristýna Soukupová
fake.first_name() # Květa
fake.suffix_male() # DiS.
fake.suffix() # Ph.D.
fake.first_name_male() # Radomír
fake.first_name_female() # Emilie
fake.last_name_female() # Horáková
fake.last_name() # Říhová
fake.prefix_female() # paní
faker.providers.profile
¶
fake.profile(fields=[]) # {'website': [u'http://astn.org/', u'http://kol.com/', u'ht tp://ermk.org/', u'http://beneov.com/'], 'username': u'kry stof.kralova', 'name': u'Tereza Soukupov\xe1', 'blood_grou p': '0-', 'residence': u'\u017dilinsk\xe1 5/1\n607 87 Jihl ava', 'company': u'Ma\u0161ek', 'address': u'Na Z\xe1honec h 793\n841 05 Kr\xe1sn\xe1 L\xedpa', 'birthdate': '2009-09 -30', 'sex': 'M', 'job': 'Geographical information systems officer', 'ssn': u'376-36-2233', 'current_location': (Dec imal('47.5134405'), Decimal('-94.780738')), 'mail': u'gmas kova@yahoo.com'}
fake.simple_profile() # {'username': u'dominika.maresova', 'name': u'Alois Krej\u0 10d\xed', 'birthdate': '1971-09-18', 'sex': 'M', 'address' : u'K N\xe1dr\u017ei 884\n525 95 Kyn\u0161perk nad Oh\u015 9\xed', 'mail': u'cduskova@gmail.com'}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types) # set([u'Qui quos rerum.', Decimal('-422.711644'), datetime( 1977, 1, 13, 2, 12, 32), u'http://kuera.biz/app/register.h tml', u'Sed ut sed et.', 318, datetime(1972, 10, 16, 6, 38 , 48), datetime(1985, 2, 18, 14, 34, 35), u'magdalena54@no votn.com'])
fake.pystr(max_chars=20) # Ut id minima.
fake.pyfloat(left_digits=None, right_digits=None, positive=False) # -16470.43428
fake.pystruct(count=10, *value_types) # ([datetime(1975, 2, 16, 14, 57), u'Ratione aut sed.', u'Co rrupti vel aut.', 880, u'Impedit sed modi.', Decimal('-874 2893563.68'), u'http://www.krejov.com/category/author/', u 'Quia aut dolorem.', datetime(1982, 1, 3, 8, 37, 11), -693 066.73008], {u'minima': u'Perspiciatis labore.', u'officia ': u'Soluta quia rem.', u'similique': u'Impedit laboriosam .', u'unde': Decimal('4190504.68'), u'eaque': Decimal('-3. 28830472444E+14'), u'eius': 232, u'ex': datetime(1977, 9, 27, 8, 41, 59), u'dolore': 821, u'et': u'Nesciunt et esse. ', u'mollitia': u'natalie.masek@hotmail.com'}, {u'exercita tionem': {5: u'marta.pospisil@kov.net', 6: [u'Et numquam e a quae.', 6019, u'Recusandae cumque.'], 7: {5: u'patrik27@ gmail.com', 6: u'xjelinkova@gmail.com', 7: [u'Iste molesti ae iure.', 6842]}}, u'quis': {9: u'http://pokorn.info/tags /blog/category/author.html', 10: [u'mpolak@gmail.com', u'N am commodi est.', 3897], 11: {9: u'Doloribus odio.', 10: u 'Maxime natus beatae.', 11: [Decimal('466282591919'), u'ht tp://www.polkov.com/homepage.htm']}}, u'quia': {8: u'tkuce rova@yahoo.com', 9: [u'Ad ab qui nostrum.', u'Molestias an imi.', datetime(2009, 6, 16, 18, 37, 54)], 10: {8: -123768 .758092, 9: datetime(1978, 2, 21, 21, 35, 33), 10: [5997, u'Facere cumque sunt.']}}, u'eaque': {0: u'Est rerum quas enim.', 1: [9377, Decimal('543.0'), u'Ut ipsum assumenda.' ], 2: {0: u'Delectus modi qui.', 1: 2355, 2: [u'http://www .blakov.net/explore/main/terms.html', 75164866565127.8]}}, u'ducimus': {8: [u'http://www.hjek.com/home/', u'Et ex au t soluta.', u'Modi laborum iste.'], 9: {8: u'Nostrum sed m axime.', 9: [Decimal('626159.154494'), -1705783471789.0], 7: 76231227.337}, 7: -27133.33}, u'quod': {2: datetime(197 1, 3, 22, 12, 9, 31), 3: [-841.521414, Decimal('-428980680 212'), u'Et quos laudantium.'], 4: {2: u'In et soluta.', 3 : 9097, 4: [datetime(1977, 2, 4, 15, 8, 52), u'Quasi paria tur.']}}, u'quae': {1: datetime(2006, 7, 10, 18, 46, 40), 2: [u'stepanek.drahomira@vlkov.com', Decimal('-960.8667108 6'), -52489825751.775], 3: {1: u'http://www.blakov.com/app /app/tags/post.html', 2: 9576, 3: [9829, 1685]}}, u'et': { 3: datetime(1982, 1, 1, 8, 39, 48), 4: [u'http://www.ha.co m/category.html', 9418, u'http://astn.com/terms.html'], 5: {3: 94018454052990.7, 4: Decimal('-6601.89287086'), 5: [2 720, datetime(1997, 6, 18, 9, 23, 11)]}}, u'deserunt': {8: {8: [-893747.935, 2836], 6: u'http://www.vlek.org/categor y/faq.html', 7: datetime(1995, 4, 27, 12, 27, 19)}, 6: 228 0, 7: [u'vladislav.kucera@ern.com', u'Sed nisi et.', 8575] }, u'consequatur': {4: u'Ea tempore laborum.', 5: [1814, u 'Corrupti voluptates.', u'Et dolorem velit.'], 6: {4: u'Ve lit omnis quae et.', 5: datetime(1980, 4, 30, 2, 58, 36), 6: [u'monika90@tpnkov.com', u'Nihil aliquam qui.']}}})
fake.pydecimal(left_digits=None, right_digits=None, positive=False) # 6.90719099862E+14
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types) # [datetime(1997, 9, 10, 3, 44, 28), u'http://ern.net/login. asp', -5230.8735291162, u'http://www.jelnkov.biz/wp-conten t/main/category/category.html', 1620, u'Nihil et facilis.' , u'Ipsum eligendi aut.', 70201268085.1, u'Et in nam quide m.', u'Est repudiandae.', u'http://nmec.com/post/', 97455. 12, 7548, u'rzemanova@hov.com']
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types) # (u'Dolore minus esse.', u'Vel optio eveniet.', u'kralova.l udmila@gmail.com', u'http://www.vesel.info/author.jsp', De cimal('-169212.888'), Decimal('8.22734429103E+14'), dateti me(2008, 1, 11, 20, 49, 56))
fake.pybool() # True
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types) # set([u'Eos eum delectus.', 4450, u'Error voluptatem.', 695 1, Decimal('26177.47'), u'A quidem atque.', u'http://www.m al.org/explore/search.jsp', -5841082.43, u'pkratochvilova@ yahoo.com', u'In doloribus sit.', u'Saepe mollitia.'])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types) # {u'suscipit': 9439, u'neque': u'http://hov.com/blog/posts/ login/', u'unde': -90.3, u'dolor': 5702, u'perferendis': u 'Consequuntur.', u'est': 8247, u'dolore': Decimal('-502113 468.211'), u'rem': 179651264533.67, u'qui': u'cermakova.do minika@ha.info', u'aliquam': datetime(2008, 7, 24, 8, 10, 54)}
fake.pyint() # 5185
faker.providers.phone_number
¶
fake.phone_number() # 775 794 763
faker.providers.ssn
¶
fake.ssn() # 404-18-7348
faker.providers.user_agent
¶
fake.mac_processor() # U; PPC
fake.firefox() # Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_5_7; rv:1.9.4.2 0) Gecko/2011-06-29 01:20:09 Firefox/3.6.7
fake.linux_platform_token() # X11; Linux x86_64
fake.opera() # Opera/8.14.(X11; Linux i686; en-US) Presto/2.9.183 Version /12.00
fake.windows_platform_token() # Windows NT 4.0
fake.internet_explorer() # Mozilla/5.0 (compatible; MSIE 6.0; Windows 95; Trident/3.1 )
fake.user_agent() # Mozilla/5.0 (Windows 95) AppleWebKit/5351 (KHTML, like Gec ko) Chrome/15.0.814.0 Safari/5351
fake.chrome() # Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_8_8) AppleWeb Kit/5320 (KHTML, like Gecko) Chrome/14.0.836.0 Safari/5320
fake.linux_processor() # i686
fake.mac_platform_token() # Macintosh; U; PPC Mac OS X 10_8_8
fake.safari() # Mozilla/5.0 (iPod; U; CPU iPhone OS 4_2 like Mac OS X; en- US) AppleWebKit/531.9.4 (KHTML, like Gecko) Version/4.0.5 Mobile/8B114 Safari/6531.9.4