Language de_DE¶
faker.providers.address
¶
fake.latitude()
# Decimal('60.505565')
fake.street_name()
# u'Mosemannstr.'
fake.address()
# u'Lindauplatz 123\n56380 Perleberg'
fake.street_address()
# u'K\xf6sterstra\xdfe 5/4'
fake.postcode()
# u'19554'
fake.country_code(representation="alpha-2")
# u'PH'
fake.longitude()
# Decimal('150.565701')
fake.country()
# u'T\xfcrkei'
fake.city_name()
# u'Tuttlingen'
fake.street_suffix()
# u'Street'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('173.992889')
fake.city_suffix()
# u'Ville'
fake.building_number()
# u'2'
fake.street_suffix_long()
# u'Gasse'
fake.street_suffix_short()
# u'weg'
fake.city()
# u'Soltau'
fake.state()
# u'Rheinland-Pfalz'
faker.providers.automotive
¶
fake.license_plate()
# u'SAD-N-83'
faker.providers.bank
¶
fake.bban()
# '907275008215071621'
fake.bank_country()
# 'DE'
fake.iban()
# 'DE85511685443728287007'
faker.providers.barcode
¶
fake.ean(length=13)
# u'3962617290465'
fake.ean13()
# u'9986285700204'
fake.ean8()
# u'79029636'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(61,135,128)'
fake.color_name()
# u'Aqua'
fake.rgb_color()
# u'243,51,76'
fake.safe_hex_color()
# u'#119900'
fake.safe_color_name()
# u'white'
fake.hex_color()
# u'#660ad5'
faker.providers.company
¶
fake.company()
# u'Schmidt AG & Co. KG'
fake.company_suffix()
# u'KG'
fake.catch_phrase()
# u'Synergistic solution-oriented encryption'
fake.bs()
# u'morph real-time info-mediaries'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'127'
fake.credit_card_provider(card_type=None)
# u'VISA 16 digit'
fake.credit_card_full(card_type=None)
# u'VISA 16 digit\nLorenz Mangold\n4416929787953421 10/27\nCVC: 762\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '11/23'
fake.credit_card_number(card_type=None)
# u'6011141674266784'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'DRC'
fake.currency_code()
# 'HKD'
fake.currency_name()
# 'Cuban peso'
fake.cryptocurrency_name()
# 'Ripple'
fake.cryptocurrency()
# ('NEO', 'NEO')
fake.currency()
# ('BND', 'Brunei dollar')
faker.providers.date_time
¶
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2018, 8, 30, 3, 50, 53)
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0xf5c2e968>
fake.date_between_dates(date_start=None, date_end=None)
# datetime.date(2018, 8, 17)
fake.date_time_between(start_date="-30y", end_date="now", tzinfo=None)
# datetime.datetime(1992, 7, 28, 4, 0, 51)
fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2015, 11, 24)
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 8, 13, 4, 18, 8)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2018, 8, 8)
fake.day_of_week()
# 'Sunday'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2012, 9, 12, 18, 58, 35)
fake.date_between(start_date="-30y", end_date="today")
# datetime.date(1992, 11, 27)
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2012, 7, 16, 23, 9, 10)
fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '1973-01-27'
fake.am_pm()
# 'PM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2018, 8, 17, 8, 10, 40)
fake.date_object(end_datetime=None)
# datetime.date(1986, 4, 30)
fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2018, 6, 29)
fake.iso8601(tzinfo=None, end_datetime=None)
# '2005-12-28T09:48:27'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2018, 8, 28)
fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2012, 8, 5)
fake.month()
# '11'
fake.year()
# '1989'
fake.day_of_month()
# '13'
fake.unix_time(end_datetime=None, start_datetime=None)
# 796836911
fake.timezone()
# u'Africa/Khartoum'
fake.century()
# u'III'
fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(1989, 6, 8)
fake.time_object(end_datetime=None)
# datetime.time(16, 35, 48)
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 1, 25, 9, 49)
fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(1984, 4, 17, 8, 59, 37)
fake.time(pattern="%H:%M:%S", end_datetime=None)
# '13:58:01'
fake.date_this_month(before_today=True, after_today=False)
# datetime.date(2018, 8, 16)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2018, 8, 8, 7, 30, 48)
fake.month_name()
# 'April'
fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(1212, 4, 27, 6, 47, 48)
fake.time_delta(end_datetime=None)
# datetime.timedelta(13916, 46862)
faker.providers.file
¶
fake.unix_device(prefix=None)
# u'/dev/vdb'
fake.mime_type(category=None)
# u'video/quicktime'
fake.file_path(depth=1, category=None, extension=None)
# u'/deserunt/earum.webm'
fake.unix_partition(prefix=None)
# u'/dev/vdo2'
fake.file_name(category=None, extension=None)
# u'dolores.webm'
fake.file_extension(category=None)
# u'mp3'
faker.providers.internet
¶
fake.ascii_free_email(*args, **kwargs)
# 'klausholsten@gmx.de'
fake.image_url(width=None, height=None)
# u'https://placeholdit.imgix.net/~text?txtsize=55&txt=567x364&w=567&h=364'
fake.tld()
# u'com'
fake.email(*args, **kwargs)
# u'xenia62@web.de'
fake.url(schemes=None)
# u'https://www.heydrich.com/'
fake.ipv4_private(network=False, address_class=None)
# '192.168.80.94'
fake.user_name(*args, **kwargs)
# u'jann20'
fake.uri_extension()
# u'.html'
fake.uri_page()
# u'post'
fake.free_email_domain(*args, **kwargs)
# u'web.de'
fake.safe_email(*args, **kwargs)
# u'raymondmargraf@example.org'
fake.ascii_email(*args, **kwargs)
# 'maike24@vogt.de'
fake.ipv4_network_class()
# u'a'
fake.ipv4_public(network=False, address_class=None)
# '149.135.121.249'
fake.ascii_company_email(*args, **kwargs)
# 'ackermannrenata@klemm.net'
fake.domain_name(*args, **kwargs)
# u'sager.de'
fake.ipv4(network=False, address_class=None, private=None)
# '116.227.247.237'
fake.domain_word(*args, **kwargs)
# u'hande'
fake.slug(*args, **kwargs)
# u'molestiae-autem'
fake.uri_path(deep=None)
# u'app'
fake.company_email(*args, **kwargs)
# u'engin72@hauffer.de'
fake.uri()
# u'http://www.scholl.com/privacy.html'
fake.ipv6(network=False)
# 'c529:7f82:1e32:1404:c983:5c13:f243:943d'
fake.free_email(*args, **kwargs)
# u'ynerger@gmail.com'
fake.ascii_safe_email(*args, **kwargs)
# 'nohlmanssevim@example.org'
fake.mac_address()
# u'7c:a2:c2:f6:71:0b'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'1-263-31182-2'
fake.isbn13(separator="-")
# u'978-0-7661-8459-6'
faker.providers.job
¶
fake.job()
# 'Surveyor, mining'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Veritatis omnis autem animi quam dolorem. Inventore atque unde corrupti repellendus. Nulla modi nihil.\nVero temporibus cum laudantium minus adipisci eveniet. Consectetur corporis modi dolorem dolor.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Ratione magnam animi ut. Doloremque modi impedit nemo omnis. Animi quod temporibus id consequuntur sapiente. Quam adipisci facere.',
# u'Aliquam voluptatem dicta mollitia. Porro commodi inventore veniam ut fuga.',
# u'Similique consequuntur modi. Alias assumenda nemo libero cupiditate cumque aliquid. Blanditiis quos harum accusantium placeat.']
fake.words(nb=3, ext_word_list=None)
# [u'placeat', u'laborum', u'vitae']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Vel molestiae voluptatum inventore.',
# u'Doloremque esse fugit maxime amet quia quasi.',
# u'Aliquid minus labore voluptas architecto nostrum aut.']
fake.word(ext_word_list=None)
# u'laborum'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Sunt cupiditate nihil. Quae necessitatibus est dignissimos dolor fugiat.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Autem quam dolorum dignissimos suscipit ratione placeat.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u't0k1EYGo#p'
fake.locale()
# u've_ZA'
fake.binary(length=1048576)
# bytearray(b'S\xbcE\x0c\xec\x18\xa4R\xb9\x1f~^\xa69Z\xe4\x84\xe2\x96\xe0\xd0c\xbaN\xf4nh\xed\xaa\xf2&\x0b\xe3! \xf9k\x10\xaf\xce\x1ak\x9b\xc3O\xfa"\x0bg\x9a\x87\xc6\xfc\xc3`>"\xfa\r\x17\x93\xdd\x19\xcf\xf6\xeb\x88 \xeaY\x08\xe5\xd6\x89\xfb\xa2\x86\xf2bo)\xa1B\x08B\xbc\x83\xad\x02F\x89K\xf9s\x99\xfa\xa5\xeeV\xcb\x86\x01\x8f\xf0\xae\xad\xefb\xcc(\xa7F\xdc\xd9\\\x0b\xe7\xfb"\xdb\xda\xc9\xcfl\xcb\xcd\x16hz\xdd\x916\xb9+<\xf1W\x04\x1b=\xc23\xe1\x89\xdb\x91\xa9Dv\x11\xb2\xf8\x04\x8d\xac\x8f=\xe0\x02\xd9s9\xa9\x89\x1c\xd9\x1a\t\x08\xe6\x9a\x18\xe5\xbf.\xeeJb3\x8b\x0e\x89\xcas\xb64\xf3\xa0H\x89\xed\xbb\xdc\x0f\xdb\xa7O\x89\xb5\xf5\xc5\xec\xfd\x97\xafp\x8e\xfc\x18\xf3V\x99A{\xb0\xcf\x0f\xc4\xcbU\x84\x9b~o\x1fi/\x1e\xbc\xe1\x00;Y\x08=\xae_\x1e\x14\xd8\x13L\x8b\xae\xf1"\xfd5D\xb5*\xf6\xc2\x8aV\xb5F\x7f\xbc\xaf\x92\xbbs\x1a\xf7D\xda\x8a\xa7\xea\xd6\n\xe9;7\xbc\x9a^HuX\'\x16g\x85\n\xf1\x8b\xbc~1\xc2(\xc3\x86\xc8S\nx\x0f\xc1N"\xa7\xd3\xca\x1f\xa51\xf8s;Q\xe4\x96\x0f@\xad\xeb\xf5C\x9f\x82\xa73u\xaa\x07/\xdaS\xe5U\x02\xaa\xad\xa5\x1b\xc4\x97\t\xbd8i\x03\xe5\xae6\x8cE\xa6\xf4\xcc7.;S\x8c\x19\xa7\x8c\xf5\x90.\x90s\t+\xed\xcd\x10I\x12N\xe6\x0f\xd6\xaf\xb7\xb6\xb3*\xf7\xd9\x17Qx\xd0c\x08\xd9s\x00:\x96\xcd\x843\xe5\xfe_Z\xf67\xd9\xd6\x1c\xb4\xba\x8de2\xdaql\xe3\x8f0f\x01\xfe%A8\x04k66KW\x8eI\xba\xf3\xf4#g\xd2\xa1A\xf8G\xf7\xd7\xa4\xbb\x04\xc93\xda\x1c\x14\xee\xa6b\x89\x9fa\x03\x9e*\xc0RM\xfa\x841\xd4C\xdd4\xec@\xa3|[\xcb\x17\xfd\x86pt UQ\xd2\xa1\x97~\x00c\xa5\xb7Ja\x1a\x84\x17\n\x8b\x06\x1fp\x8f\x83\x180mJ\xdf\x0b/g\xae\xe1\xb7Y\x15\x86V\xf8\x08\x91\xbe\xef\xdd=E\x16\x18TY\xea \xb7\x02\x11\xc9\xfa\x95\xab\x1eF\t\xa5\xcd\x0b9\x90\'\x04\xb0F\x10mE\xf4D\x1a\xf2\x01,cG\x97\x14\x98\xf6 5\xfc\xc3\x7fgc\xbc\xd8\x00\xeb8\xb5r\x9d\xaf}l\xa5\x18\x83\xd1\x92\xf7\x8e!f\x1a\xdb\xfc\x9d\xec\x91X<\xa5r@\xaf+9\xf01\xa1\xf9\xe8\xf7;\xb7\xa4\x9e\xe9+\x9b\xa6\x9c\x88\x9cz\xd9\xf2\x81S\xee\x18r\x9e9"\x80<5B\x1c\x97\xa2\xce\xbc\xef!Kz\xbe\xba\xce\x80\xfeB\x9eD\xb6F\x90\ry\x19\xecmZ\xb3u\xb9\x1eM\xad,\x8a\xc7\x85\x169\xfa\x8fY\xff\xa2h+5\xfbK\x80e\x81\xa5\xa5U\xa3\rg\xd3C\xa7}>\xe8\xfa\xd9\xbd\xcd\x0b\xe8e(\x04]\xc4r\xcd\xb6>\x89\xe7K\x97b\x93|=\x92\xb2\x9bH\xd4\xa8\xb5{\x97v\xa1\xd5\x97\xc3\x8c1\x1b\xb4\xd2\xfbuS\xf2\xb8B\x14(/\xd5\x97(\xb3\xf4\x92\xb2\x1d\xe6\x1b\x14\x90\xbb\x91:nM\xf8@\x82J*\t|u\x03\xfd+\xc6\xca>f\xecy6\x82r\x0e\xe9\xf8\xbc.Ja\xee\xd6\xd50\x1d62dE\xc0P\xb6\xb7\xbd~\xe8\xb8\xed^\x9e<\x9f\x9b\x19SV\x9f\xd8\xfc+\xa7E\\:o\xd2\x91\r\xcf\xee\xa2\xb5\x84\xfa\x0b\xd8\xff\xbe\xac&Ytv3\xed\x02\x81/9\x9a\xad\x80\xfc:\xd0Y\xab7\xf9A\xbb\x83!:\x13\xa2\x92\x80\r\xa4d\x10Z\xa7\xdf\x1a\xf4\x95\xd2 \xea\xa6\x14\xaa?\x1b`\x90s\xa7\xda\xde\xdf\xbe-vM0\xfaf\xc2\xc8\x16\xbe\x05\x0cR\xae\xeb\xb3\x83>\x01\x82\xab@58\xc5[\xef\x80\xf5\xb4YK^X\x0b\xa3f\xa3~$\xf5\xb5\xa57\xbe{\xd0F\xee_"\xa1\xe0\xb1\xfe.6\xdc\x07\xeb\xc2\xb3\xe6\x07\x8f\xac%Gu\x9d>?\x95\x14\x15V\xc0\x9dJy\x9f\xbd\xac\xd9\xd0>\xedFc\xad\xa5)\x06@_\xc0\xbf\x11\xd248\xe4)M\xeb\x9e\x13\x90\x80\xa8\x00\xbe\x8cJ\x18l<\xf07\x95\x8d')
fake.md5(raw_output=False)
# '28645495484fb094e5bc4d7ed93f8233'
fake.sha1(raw_output=False)
# 'd9c0c498657e2d3e4d2518ccd9b48db5326ad4a9'
fake.null_boolean()
# True
fake.sha256(raw_output=False)
# 'ee29ee1586907eca30ea5915fd24a7b91014a947f769d409df99300fbd7a99c3'
fake.uuid4()
# '8f1defe9-798e-87c4-0393-80bb12943440'
fake.language_code()
# u'doi'
fake.boolean(chance_of_getting_true=50)
# True
faker.providers.person
¶
fake.last_name_male()
# u'Roht'
fake.name_female()
# u'Prof. Violetta Scheuermann'
fake.prefix_male()
# u'Ing.'
fake.prefix()
# u'Univ.Prof.'
fake.name()
# u'Annegrete He\xdf MBA.'
fake.suffix_female()
# u'B.Eng.'
fake.name_male()
# u'Frau Irmhild Junk B.Eng.'
fake.first_name()
# u'Adelheid'
fake.suffix_male()
# u'MBA.'
fake.suffix()
# u'B.A.'
fake.first_name_male()
# u'Marco'
fake.first_name_female()
# u'Marieluise'
fake.last_name_female()
# u'Schottin'
fake.last_name()
# u'Zirme'
fake.prefix_female()
# u'Frau'
faker.providers.phone_number
¶
fake.phone_number()
# u'+49(0)5004743876'
fake.msisdn()
# '0242231135537'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'Benthinplatz 2/5\n52722 Oranienburg',
# 'birthdate': datetime.date(1937, 3, 31),
# 'mail': u'waltrautkrein@web.de',
# 'name': u'Eduard Hauffer MBA.',
# 'sex': 'M',
# 'username': u'svea01'}
fake.profile(fields=None, sex=None)
# { 'address': u'Ottogasse 392\n12344 Schw\xe4bisch Gm\xfcnd',
# 'birthdate': datetime.date(1931, 5, 29),
# 'blood_group': 'AB-',
# 'company': u'Wulf e.V.',
# 'current_location': (Decimal('13.376444'), Decimal('169.540598')),
# 'job': 'Immigration officer',
# 'mail': u'heusersaskia@hotmail.de',
# 'name': u'Ingo Eimer B.Eng.',
# 'residence': u'Flantzstra\xdfe 2/0\n75249 Bersenbr\xfcck',
# 'sex': 'F',
# 'ssn': u'054-54-4896',
# 'username': u'patriziariehl',
# 'website': [u'https://spiess.com/', u'http://www.adler.org/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# set([1186, u'http://staude.org/home.asp', u'http://www.paffrath.de/categories/posts/register/', 8333, u'iHIpNnRHebzuoKdvTCpg', 9686, u'zbJIgaLyaHSgyoKXVXUc', Decimal('-47279666.822')])
fake.pystr(min_chars=None, max_chars=20)
# u'FaLLHWxYOzWRPHCwllRU'
fake.pystruct(count=10, *value_types)
# ( [ u'matthaeiagnes@gmx.de',
# 9130,
# u'RDJrFoGbqAoQgGJotAKy',
# u'http://haering.com/privacy/',
# 8.7242272185,
# u'vladokarz@gmail.com',
# u'http://www.schacht.de/',
# datetime.datetime(1988, 5, 27, 6, 51, 20),
# Decimal('5.61365577285E+12'),
# u'VMwyGikGaQqIJdWsuwAP'],
# { u'ab': u'PFNjejBnbZKHeapgDmwU',
# u'aut': Decimal('-91.25'),
# u'corrupti': 5676,
# u'eum': u'MzuYMxiYFYQDtgktSBab',
# u'fugiat': datetime.datetime(1986, 7, 9, 10, 25, 19),
# u'in': u'http://kambs.com/',
# u'perferendis': datetime.datetime(2009, 12, 20, 13, 47, 52),
# u'quibusdam': u'JpQGAzIfNalrlWYeUSsB',
# u'quisquam': u'https://www.gertz.de/posts/search.jsp',
# u'tenetur': u'YuoanVPLvIyRuphsiGrF'},
# { u'aperiam': { 7: u'JhfHRFKETcVygTbWGsss',
# 8: [-952787.22, 2817, u'sALBNLbkTSuKCJtLmytl'],
# 9: { 7: u'TirdnmKRQiMPoLpNIInE',
# 8: u'XLAunLwGgPAuhhdAZvqq',
# 9: [ u'https://www.rudolph.com/',
# -631277230188.79]}},
# u'explicabo': { 3: 7886,
# 4: [ u'WyvZJRlyTubAnTHWHObB',
# 6484,
# u'https://www.holzapfel.de/privacy.htm'],
# 5: { 3: u'YanJbjAAdWVSpjPWGspo',
# 4: -411442877211414.0,
# 5: [ u'http://www.schuchhardt.de/post.jsp',
# u'https://www.jaehn.com/categories/app/author.html']}},
# u'facere': { 8: u'FiktIiTPhukYGiynswXc',
# 9: [ datetime.datetime(2003, 11, 7, 5, 34, 10),
# u'http://haering.de/search.html',
# 7385],
# 10: { 8: u'HGxRNMEipuAYIiSjQgDw',
# 9: 5537,
# 10: [ u'IeghbvYFEWoWfvJDVQfi',
# Decimal('5.1184471738E+14')]}},
# u'fugit': { 5: u'ZYZuNEvRcRLdDUrmkubT',
# 6: [u'hjaehn@muehle.com', 9157, u'flindau@yahoo.de'],
# 7: { 5: -58511911951059.0,
# 6: 4408,
# 7: [ u'http://eberth.de/author/',
# u'http://www.conradi.de/about/']}},
# u'minus': { 9: u'gawTxWPKfIsIPKbjOecC',
# 10: [ u'http://www.hartmann.de/list/category/',
# 7519,
# Decimal('0.3187')],
# 11: { 9: 9901,
# 10: Decimal('85933396977.6'),
# 11: [1190, u'WejeKsrKVhuybwUTakgu']}},
# u'nam': { 6: 7050,
# 7: [ u'qDOLcHeFLCcKHKNNsBYF',
# 9.0,
# u'FSSrtevsdrNjbUEDbcUv'],
# 8: { 6: 2652789.97,
# 7: Decimal('73783224.0'),
# 8: [ u'uXopgqmrZTcfhjmNjnBJ',
# datetime.datetime(2004, 6, 28, 19, 2, 3)]}},
# u'nihil': { 2: u'cNFNNQrBVCswASonQpsj',
# 3: [u'BQKWdkYsPMiwHjmzasgE', 4947643.0, 6545],
# 4: { 2: u'spiessirina@hornich.net',
# 3: u'ZpJmTobEcBNfRqmFKjmF',
# 4: [ u'https://www.gude.de/',
# u'kznxNfweQUSUxNgJqAPb']}},
# u'reiciendis': { 4: 2033,
# 5: [ Decimal('-2.13'),
# datetime.datetime(1986, 4, 1, 20, 2, 55),
# u'SvmUjnEKDHaCuETekCAr'],
# 6: { 4: u'https://www.klemm.de/main.htm',
# 5: u'mLErVYUdwprXsWWutXbn',
# 6: [329, Decimal('1838236.397')]}},
# u'sed': { 1: u'http://www.seifert.de/main/',
# 2: [ Decimal('9.2219878974E+12'),
# 8897,
# u'zHqUFPlIHIlaMhFiLXav'],
# 3: { 1: Decimal('-430803.0'),
# 2: datetime.datetime(2010, 7, 2, 17, 54, 54),
# 3: [ datetime.datetime(1994, 3, 19, 20, 51, 21),
# u'YkMmtBmeHwBoqFusHsBA']}},
# u'velit': { 0: u'danielle22@stumpf.com',
# 1: [ Decimal('3077.73895976'),
# u'klaus-peter06@gmail.com',
# 308],
# 2: { 0: u'rLIkzSmUOMdysmbLSOEO',
# 1: Decimal('5762935.607'),
# 2: [ datetime.datetime(2002, 4, 12, 20, 57, 44),
# u'ehvvrUWAxkgReuMvzLAr']}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# 493570160.349
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('454.342089')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ 6541,
# -644956722731387.0,
# u'https://www.seidel.de/faq/',
# 7424,
# u'http://www.keudel.de/',
# u'yjmfiODgnnASovILqzYX',
# 30.6422]
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( 3585,
# 8418,
# datetime.datetime(1997, 3, 24, 0, 3, 27),
# u'AtsqtefnWDLTtIELJfms',
# u'isolde03@hellwig.de',
# 67083376602523.9,
# u'EprdyqMWsQCdXbHtPmrH',
# u'https://www.scheuermann.com/privacy.jsp',
# u'guelsen12@yahoo.de',
# 274,
# u'TSzDZdCmryewhFymSWGn',
# u'yroht@thies.com',
# 5758,
# 8293)
fake.pybool()
# False
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([datetime.datetime(2011, 11, 30, 22, 31, 37), u'https://huhn.com/post.html', u'VFAnhjMWauoFqdVqQFla', u'http://www.wilmsen.com/tags/wp-content/category/', u'KBKUCSjsUdVxayXoAUsn', -6844509.5342, u'eUpVGwfQEgNpvnCGhTXV'])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'deleniti': u'uneureuther@gmx.de',
# u'esse': Decimal('-94678313562.5'),
# u'ex': u'PnAsVDGiAjECWfIbmWDU',
# u'facere': 3230,
# u'itaque': Decimal('161.246885559'),
# u'placeat': datetime.datetime(1989, 6, 29, 10, 34, 5)}
fake.pyint()
# 1504
faker.providers.ssn
¶
fake.ssn(taxpayer_identification_number_type="SSN")
# u'500-64-3671'
fake.ein()
# u'12-0545506'
fake.itin()
# u'983-88-6078'
faker.providers.user_agent
¶
fake.mac_processor()
# u'Intel'
fake.firefox()
# u'Mozilla/5.0 (Windows NT 4.0; cy-GB; rv:1.9.1.20) Gecko/2017-02-25 18:42:29 Firefox/3.8'
fake.linux_platform_token()
# u'X11; Linux x86_64'
fake.opera()
# u'Opera/8.89.(Windows NT 5.1; mk-MK) Presto/2.9.189 Version/10.00'
fake.windows_platform_token()
# u'Windows NT 5.0'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/3.1)'
fake.user_agent()
# u'Mozilla/5.0 (compatible; MSIE 6.0; Windows 98; Win 9x 4.90; Trident/3.1)'
fake.linux_processor()
# u'i686'
fake.chrome(version_from=13, version_to=63, build_from=800, build_to=899)
# u'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_1) AppleWebKit/5310 (KHTML, like Gecko) Chrome/58.0.823.0 Safari/5310'
fake.mac_platform_token()
# u'Macintosh; U; Intel Mac OS X 10_12_6'
fake.safari()
# u'Mozilla/5.0 (Windows; U; Windows NT 5.0) AppleWebKit/535.7.6 (KHTML, like Gecko) Version/4.0 Safari/535.7.6'