Language no_NO¶
faker.providers.address
¶
fake.latitude()
# Decimal('47.885987')
fake.street_name()
# u'Olsenhaugen'
fake.address()
# u'Thorsenjordet 6B, 0000 Isaksen'
fake.street_address()
# u'Rasmussenhavna 2'
fake.postcode()
# u'6078'
fake.country_code(representation="alpha-2")
# u'FR'
fake.longitude()
# Decimal('174.380948')
fake.country()
# u'Russia'
fake.street_suffix()
# u'spranget'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('-148.946522')
fake.city_suffix()
# u'nes'
fake.building_number()
# u'27'
fake.city()
# u'Sandvik'
faker.providers.automotive
¶
fake.license_plate()
# u'915F'
faker.providers.bank
¶
fake.bban()
# '04362111238'
fake.bank_country()
# 'NO'
fake.iban()
# 'NO2341190872407'
faker.providers.barcode
¶
fake.ean(length=13)
# u'6452923531033'
fake.ean13()
# u'8925879509329'
fake.ean8()
# u'32134643'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(174,115,38)'
fake.color_name()
# u'BlueViolet'
fake.rgb_color()
# u'72,32,120'
fake.safe_hex_color()
# u'#11aa00'
fake.safe_color_name()
# u'olive'
fake.hex_color()
# u'#9aca16'
faker.providers.company
¶
fake.company()
# u'Dahl, Kristiansen og Haugen'
fake.company_suffix()
# u'& co.'
fake.catch_phrase()
# u'Distributed even-keeled conglomeration'
fake.bs()
# u'maximize scalable niches'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'041'
fake.credit_card_provider(card_type=None)
# u'Diners Club / Carte Blanche'
fake.credit_card_full(card_type=None)
# u'JCB 16 digit\nJan Eriksen\n3526802264575901 11/25\nCVC: 961\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '12/22'
fake.credit_card_number(card_type=None)
# u'3511517876641431'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'NEO'
fake.currency_code()
# 'TTD'
fake.currency_name()
# 'Gibraltar pound'
fake.cryptocurrency_name()
# 'Namecoin'
fake.cryptocurrency()
# ('BTC', 'Bitcoin')
fake.currency()
# ('UGX', 'Ugandan shilling')
faker.providers.date_time
¶
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2018, 8, 17, 5, 2, 17)
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0xf59ea9dc>
fake.date_between_dates(date_start=None, date_end=None)
# datetime.date(2018, 8, 16)
fake.date_time_between(start_date="-30y", end_date="now", tzinfo=None)
# datetime.datetime(1996, 9, 15, 19, 50, 57)
fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2018, 8, 12)
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 8, 16, 6, 40, 18)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2018, 8, 9)
fake.day_of_week()
# 'Tuesday'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2014, 8, 26, 0, 23, 21)
fake.date_between(start_date="-30y", end_date="today")
# datetime.date(2017, 12, 16)
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2013, 6, 12, 8, 2, 7)
fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '1996-12-30'
fake.am_pm()
# 'AM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2018, 8, 16, 9, 31, 48)
fake.date_object(end_datetime=None)
# datetime.date(1991, 6, 12)
fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2018, 5, 9)
fake.iso8601(tzinfo=None, end_datetime=None)
# '1995-05-15T03:41:58'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2018, 9, 7)
fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2008, 5, 23)
fake.month()
# '03'
fake.year()
# '2006'
fake.day_of_month()
# '15'
fake.unix_time(end_datetime=None, start_datetime=None)
# 362598261
fake.timezone()
# u'Africa/Lome'
fake.century()
# u'XXI'
fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(1928, 11, 23)
fake.time_object(end_datetime=None)
# datetime.time(23, 12, 58)
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 3, 29, 16, 7, 8)
fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(2013, 7, 5, 4, 39, 8)
fake.time(pattern="%H:%M:%S", end_datetime=None)
# '20:55:26'
fake.date_this_month(before_today=True, after_today=False)
# datetime.date(2018, 8, 2)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2018, 7, 25, 2, 14, 29)
fake.month_name()
# 'March'
fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(1261, 3, 5, 11, 27, 55)
fake.time_delta(end_datetime=None)
# datetime.timedelta(15945, 6636)
faker.providers.file
¶
fake.unix_device(prefix=None)
# u'/dev/vdt'
fake.mime_type(category=None)
# u'audio/ogg'
fake.file_path(depth=1, category=None, extension=None)
# u'/soluta/sed.avi'
fake.unix_partition(prefix=None)
# u'/dev/sdd7'
fake.file_name(category=None, extension=None)
# u'neque.webm'
fake.file_extension(category=None)
# u'html'
faker.providers.internet
¶
fake.ascii_free_email(*args, **kwargs)
# 'tovemoen@hotmail.com'
fake.image_url(width=None, height=None)
# u'https://dummyimage.com/227x666'
fake.tld()
# u'net'
fake.email(*args, **kwargs)
# u'bkarlsen@hotmail.com'
fake.url(schemes=None)
# u'http://moen.no/'
fake.ipv4_private(network=False, address_class=None)
# '192.168.99.107'
fake.user_name(*args, **kwargs)
# u'jgulbrandsen'
fake.uri_extension()
# u'.html'
fake.uri_page()
# u'author'
fake.free_email_domain(*args, **kwargs)
# u'hotmail.com'
fake.safe_email(*args, **kwargs)
# u'ysvendsen@example.org'
fake.ascii_email(*args, **kwargs)
# 'sirieriksen@kristensen.com'
fake.ipv4_network_class()
# u'c'
fake.ipv4_public(network=False, address_class=None)
# '2.245.130.73'
fake.ascii_company_email(*args, **kwargs)
# 'vnielsen@jakobsen-thomassen.no'
fake.domain_name(*args, **kwargs)
# u'lie-rasmussen.no'
fake.ipv4(network=False, address_class=None, private=None)
# '224.209.87.129'
fake.domain_word(*args, **kwargs)
# u'antonsen-knutsen'
fake.slug(*args, **kwargs)
# u'magni-placeat-a'
fake.uri_path(deep=None)
# u'tag'
fake.company_email(*args, **kwargs)
# u'nrasmussen@johnsen-nielsen.com'
fake.uri()
# u'http://soerensen.com/'
fake.ipv6(network=False)
# 'da4d:680:3a7f:760f:4a28:4973:a162:813'
fake.free_email(*args, **kwargs)
# u'malin17@gmail.com'
fake.ascii_safe_email(*args, **kwargs)
# 'jeriksen@example.org'
fake.mac_address()
# u'8c:f0:2b:fa:2f:b7'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'0-376-60137-X'
fake.isbn13(separator="-")
# u'978-1-81530-315-9'
faker.providers.job
¶
fake.job()
# 'Therapist, sports'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Rem ullam minus ut sed. Officia nemo iusto.\nVoluptates magnam animi dolore placeat sequi et. Necessitatibus modi laborum illo repudiandae.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Accusamus cum architecto deserunt. Odit quisquam quis iure sit.',
# u'Perferendis architecto doloremque voluptates beatae. Voluptatem est eos commodi facere. Ipsum cum at repellendus voluptates perspiciatis.',
# u'Natus vel tempore odit ipsam expedita alias. Aliquid consequatur numquam saepe.']
fake.words(nb=3, ext_word_list=None)
# [u'quod', u'voluptatum', u'ipsa']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Quas iste earum perspiciatis dolorem.',
# u'Voluptatem laboriosam accusantium quaerat hic perspiciatis labore.',
# u'Maxime eligendi veniam in blanditiis.']
fake.word(ext_word_list=None)
# u'pariatur'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Pariatur esse aperiam praesentium eius nam repellat. Voluptas id aliquid illum dolor iste. Ipsa incidunt necessitatibus nobis id sed.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Reiciendis eaque deleniti.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'1K1SUhdo_L'
fake.locale()
# u'ta_LK'
fake.binary(length=1048576)
# bytearray(b'\xf7\xe3z\x9d\xfd\xb5\xa5\x81?\x88\xf5\\\xe1\xf5\xf5\xac\xb9\x1a\x0c\xcc\xf0\xe9V\x1b\xa8\x98+[*6\xe1\xda\xbbb\xc7+\xb1\xf4@\x94\n5\x8cAx\xed\xc6\xcc\xc5K&\x07#\xd7\x11S:#Wg\xfc\xfd*\xa9g\x08\xfejj\xa1\x0c\xc5\xc4\xb4g\x8f\x06\xb8]\x16!V*\xaen\xf2 \xa5`\xbbA\xf2\n\xb5\xe6\x15\x81]\x93\x05\x06no\x98wx\xef-\x08.\xe83A\x0e.\x12 XB3+\x9c\xfe\xe0+\xea+\xc4M\xd9;\x00\xa9\x10\xd3\x8b\xa7\x02\xb9$\xb3u7\x9d\xfb\xcdm\x96\x8c\xaaPl\x80\xef\xf4\xfa\xa0dt\xc6\xd6\x8b\x92\xb05\xb61\xf6\x8c\xf1[\xef\xe8\xf4_\x01\xc4\x10\x954\x95a\xfc\x90\xdd\xa4\x17\x80\x05S\xda\x8f5\x86\xdf\x81\xf4H\xce\xd8\x95a\x86\x96\x12rK,\xd5(\xd1\x06\x87)\x06\n\xa8Xp/\xe6\xf4k\xba\x93\x97\xec\xfaG&\xf7\xc5\x9d\xc7\xc2\x1e\xc6\xf9\xce\x81\x08\xd6U\xcdF.\x8a\x91\xcd\x1ag\xe6Q\xa3\x9f\x97u\x1e@\xfb\xa8v\xae\x04x,\x95z\x1c\n\x94q\xa9H\x9fk\xf1\xae\xa1Ct\xe6\x81\x04\xbd\xfdt)w\xf5G\xcc\xc6\xc6:\x0eJ)\xe7\xe2#tT5yS\xf2\xe4\xb8yi>\x9eY\x81\x98\xa9\xa2\xe7\xde@,@8\xab\xdf0\x171\xc8\x03"[\xce\x9e\xc9(\xe3\xed\xe3\xe1\xa2|\x86\x9b*1\xe0\xb0/\xfc\x83\xfbv\x9b\xd5\xbev\x15zF\x1c\x988\x81\x1a\x05\t\xefj\xc0\xceV\xf3(\xa2\x00S\n\x0e-\x95\x1a\x95\xbe\xdaE\x96%\xd0U\x19\xe7O\xe7JZ\xd3\x9e\x98\x0fI~ND\xc9n\x9e\x9e\x11[\'\xc6\xce\xfa\x14Y\xc0\xfe\xa5\xf1\xda\xceM@e-j\xb5\x10\xf1\x18\xc6\'\x05\xe9}!|<5\xb0\xf8\x86\xa8C\x1f\x00Z\xbcT\xef\xbb\xea\xc0x)=]\x01\x1aW\x84\xa1O!\x0c|\x16\xfd\xe1\xbcb\xca\xe2e\xac\x87\xc1\xaa\xae\xac\x89\x8c/\x0e\xf1\xaf\x044\xa1S]q\x1b\xb5)\xa0%y\xa3\xe6\x9c{p\xcf\xf4\x080\xab@\xad\x93\xb7\xbf{\xab\xe5ug$P40\xd2\\ \xfa5q\x8a\xda\xa9\x8d\x90\xe6\xf7A6\xd1\x0b\xe5Wj\xfce\xe9\xe2Y \xaf\x04\xc0*\xa6\xaf\x87>\x07z\xd1\xaaw\xad@}\xb2\xa5\xcbi\xedh\te\xc3\x998E3]\x06\x9e\x93\xb6\xc63\x8d\xb2\'?\xbb\xc5\xe3\xe0\xf1\xaa-\x87\xdf\xe1\xa4\xd46\xa6\x12\xe5Y\x12D\x01P\x81\xe2}\xc9&\xd2!}\xd1\xca\x16\xb6\xf2>\'i\x84K\xe4\xde\xee\xf9\xdc\xd6:O\xe4p\xf9\x98\x94Lof\xb4&\xaf5\xb9\x04\x8cF\xcd\x8cX\x8c\x80\x0b\x1f\xa5\x14;\xaa\x07\x04\xd6\xb1\xbc\xa2\xaf\xc3\xa9\xdd\xfb\xeb\x05\xd6\xa1\xd8\x7f\xe4\x9c%\xa0\r\xd4\xcf\xbbW\x05y\x9eY\x0b\xc3\xdf\xd5\xa4\x99\xb9`\x87\xbb\x9e\xc2\t\xc6y=\x86\x0f\xec\xdcW\x97\x9d\x0e\xe28\xb4r\xb7\xf6\x88\xc3\x8d4\xa6Hn\xc9\xe9\xb4#\x05D\xc6\xe0\xc6|\xa9"\xe3<\xe9-87\x17V\xca|\x9d\x9a\\eF\t\x00\xbaQ\x1c\xf0?p\xe9Ks\x03\x0bc\x9a\x1b\xcc\xad\xad\xe6\x96\xae$\tY)\xa2\xa7\xd7\x0c\xa9}VO\xa7\x02\x131\xcb\xeb~:O\xaf\x855\x11[\xaf\xb9\xff`XM\xd6\xda\xd5\x94\xd5}*\xf9\x14\x86\xd5\n\xac\x16z\xc6d\xd9en\xa0\xe7\x93$\xaf=\xaa\xbdY\xc1I\x1e\x7f:@5\xf9\xd9\x8e\xf9\xc6fx\x0bL]e\x1a\x9c\r\xdb\xd4x$\x88\x03\xbe\x92\x98\xe7\x8b\xc9A\x13\xbe\x8d\x03\xca\xc4\x9cS&\xdb\xb77\x99\xd6\xd6\tO2\xe6\x83\x89\xb9\xd5[\xcf\xa0T\xd3\xf8\x9c5B\x82k5\x9cF\x8c=\xd85\x01\x12\xc2\xb90\x17\xb6\x826\'*P\x1d1k\xbd\xc2n\xdd7\xb6no\t\x14\xa7\xd2\xe7*F\xe3r\x9fW\xf3\xfeh\xf8\x80?*\xb6!\x0f\xaf\xe9\xa3B\x92\x06T\xe0B\x1aTR\xc1\x91\xf2\xca\xe9\x8b\xc8 \rD\xcf8\xb4C\x96\xa7\xb9\xbb\xec0=\x840=\xa5\xb77\xd4\x10\xf1\xab\xa8i\x9b\xba\xc2\x13\x07h\x90\xbb\xc3Q\x9d\xe6\x01\xd2\xdd\xe1\xe3\x84\xa3')
fake.md5(raw_output=False)
# '51cb82e4e708bcf4a2e96bc4373fbbd9'
fake.sha1(raw_output=False)
# '40a66195897fda55e9dd28ba0626331ab5b3814c'
fake.null_boolean()
# None
fake.sha256(raw_output=False)
# 'aa19570483fa7e503cb415fdd07964076e9466ea669046b6214c1230659a3718'
fake.uuid4()
# 'aac0aa34-ea09-a061-006b-b6eed40f0a26'
fake.language_code()
# u'ps'
fake.boolean(chance_of_getting_true=50)
# True
faker.providers.person
¶
fake.last_name_male()
# u'Jacobsen'
fake.name_female()
# u'Nina Andresen'
fake.prefix_male()
# u'Prof.'
fake.prefix()
# u'Prof.'
fake.name()
# u'Sigurd Isaksen'
fake.suffix_female()
# u''
fake.name_male()
# u'Sigurd Solheim-Haug'
fake.first_name()
# u'Eirik'
fake.suffix_male()
# u''
fake.suffix()
# u''
fake.first_name_male()
# u'Vidar'
fake.first_name_female()
# u'Marie'
fake.last_name_female()
# u'Haug'
fake.last_name()
# u'Solberg'
fake.prefix_female()
# u'Dr.'
faker.providers.phone_number
¶
fake.phone_number()
# u'432 55 149'
fake.msisdn()
# '7395626764320'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'Bakkejordet 4C, 5990 Gulbrandsen',
# 'birthdate': datetime.date(1937, 11, 13),
# 'mail': u'eolsen@gmail.com',
# 'name': u'H\xe5vard Mathisen',
# 'sex': 'M',
# 'username': u'ragnhild19'}
fake.profile(fields=None, sex=None)
# { 'address': u'Rasmussenmarka 45C, 8925 Thorsen',
# 'birthdate': datetime.date(2001, 7, 8),
# 'blood_group': 'B+',
# 'company': u'Str\xf8m, Aasen og Tangen',
# 'current_location': (Decimal('-77.317504'), Decimal('-148.746940')),
# 'job': 'Risk manager',
# 'mail': u'kristianruud@hotmail.com',
# 'name': u'Malin-Wenche Knutsen',
# 'residence': u'Jenssenflata 06G, 9464 Aas',
# 'sex': 'F',
# 'ssn': u'11097736318',
# 'username': u'irene44',
# 'website': [u'http://www.gulbrandsen.net/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# set([u'okristiansen@kristensen.no', u'TgpYDpbjaUJWjEwGoXxU', Decimal('-1.92535380258E+12'), 3536, Decimal('2.0577200181E+12'), datetime.datetime(2018, 3, 23, 12, 50, 11), 9020])
fake.pystr(min_chars=None, max_chars=20)
# u'jMFHDLMKlaImsYayozFn'
fake.pystruct(count=10, *value_types)
# ( [ datetime.datetime(1999, 9, 14, 5, 40, 49),
# 4127,
# u'vDmZtiaXeEGhgAmAIVHF',
# datetime.datetime(1982, 8, 26, 10, 26, 3),
# u'aBGxSVhBinODqhTPSuoV',
# u'zMSpEggvreMgCDTbgPnk',
# u'http://berg.net/category/',
# u'SBtOOLthKvoncyxmjZLJ',
# 6399,
# u'nvcNAQBJxkwivuMUtVrq'],
# { u'fugiat': Decimal('-1090023.2'),
# u'illum': 9510,
# u'ipsam': u'https://jensen-svendsen.com/posts/category/search.jsp',
# u'labore': u'druud@jacobsen.org',
# u'modi': u'CGGTGLUeyaTazrqMjPhU',
# u'nostrum': u'wsWszxuwAyXNNYIqzKbC',
# u'quaerat': u'IgxmYJwdLZNLIijfGNyE',
# u'rerum': 876,
# u'ut': 418420.6,
# u'voluptatum': u'BCFNahfTaPHbqnBiPZwO'},
# { u'cum': { 9: Decimal('-3580881534.36'),
# 10: [ u'eGTFotIqIzsJuOzBukcV',
# u'ZUNzgDSsmbHcKYCbhUJi',
# u'WMBYVvWNNchCFnreMXfc'],
# 11: { 9: u'mICBBcdeFGgLifXEMDdx',
# 10: 3542,
# 11: [ datetime.datetime(1985, 3, 21, 16, 57, 1),
# datetime.datetime(1971, 2, 5, 23, 21, 24)]}},
# u'distinctio': { 0: 956,
# 1: [ u'JrBMDkjtSNkSDcJPSEFZ',
# 4316,
# u'vildekristiansen@hotmail.com'],
# 2: { 0: 5526,
# 1: u'ZfvqZptFBUxLxjYQqsNl',
# 2: [ datetime.datetime(1988, 7, 11, 21, 42, 24),
# u'XWztBveBDlGTfVweCvrP']}},
# u'doloribus': { 1: u'http://edvardsen-eliassen.net/app/app/categories/homepage.htm',
# 2: [5588, u'EZczNXxgLMJvOyKgQbfm', 1.604258],
# 3: { 1: u'UVZydwhCrErxtiKsCUbO',
# 2: u'QMKJikSDxWySknNzvFao',
# 3: [ u'fIZzaqkbBeKNfsNabXGV',
# u'franksolheim@yahoo.com']}},
# u'dolorum': { 4: 8138,
# 5: [ u'line62@roenning.com',
# u'http://hanssen.no/category/category/register.php',
# Decimal('-44.5097299')],
# 6: { 4: u'QVapESLmdiMYTUkiZiQA',
# 5: 3844,
# 6: [ u'qyiURaTZromFpCHKvlMA',
# u'ohUlhZRAEnULYJiUViOe']}},
# u'illo': { 3: 6437,
# 4: [ datetime.datetime(2010, 6, 7, 21, 37, 23),
# u'wElgGIOdGACrHouhBRLl',
# 2309],
# 5: { 3: u'RAGLXtykPYbGeWFFFQbI',
# 4: u'EHAsHsxGKTtOBZsqmimZ',
# 5: [ datetime.datetime(1995, 3, 18, 18, 39, 24),
# u'https://halvorsen.no/']}},
# u'labore': { 8: datetime.datetime(2004, 12, 14, 21, 13, 59),
# 9: [ u'dDVMfBtYdfxrGihadtbs',
# datetime.datetime(1971, 11, 2, 23, 54, 2),
# 8176],
# 10: { 8: 3.2098396816844,
# 9: u'QLzYasWIJRMGJdPIdfOJ',
# 10: [ u'OVLXbgvUMAnRlawivQNx',
# u'oNlCtvNgqqFspphwkjBZ']}},
# u'repellendus': { 6: 3805,
# 7: [ u'jFSsLswsSFpHcDYSwUTC',
# u'jQzDoIkRphlAPmwJhHRk',
# u'ObQmcQlkmwQVJqcKURzG'],
# 8: { 6: u'dIctpclcPcchHheXvdsa',
# 7: u'PYlEznQqNPpjJJfAqWxW',
# 8: [ u'BpFVTdXwfhdWMJZlIDla',
# u'jali@simonsen-kristoffersen.net']}},
# u'sed': { 5: u'http://strand.com/',
# 6: [ Decimal('863487709883'),
# datetime.datetime(2009, 1, 26, 11, 2, 47),
# u'gJDXbLssbdyrqVhPsEHN'],
# 7: { 5: datetime.datetime(2001, 4, 24, 20, 38, 16),
# 6: 8717,
# 7: [ u'asoerensen@jacobsen-evensen.no',
# u'http://www.dahl.com/categories/wp-content/terms/']}},
# u'sint': { 2: u'wxmbediHTszLtPleNYpK',
# 3: [ u'mortensoerensen@gmail.com',
# datetime.datetime(1978, 8, 21, 10, 25, 30),
# u'vtBDUgdXXnptjWGYDkjG'],
# 4: { 2: u'http://www.knutsen.no/',
# 3: u'rmathisen@gmail.com',
# 4: [ datetime.datetime(1995, 8, 4, 6, 24, 50),
# -69735.5]}},
# u'sit': { 7: u'celiassen@hotmail.com',
# 8: [ u'bHuHbVhEYbJUiuKCTOdV',
# u'IGwfvcBCuHUGHOlALint',
# u'nQSoHNtOFBCWJPSgDbjU'],
# 9: { 7: u'https://naess.no/app/explore/about.html',
# 8: u'urasmussen@aas.no',
# 9: [ u'blund@haugland-halvorsen.org',
# u'rndxQeLpvLtyqrLdblsq']}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# 114661669.68928
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('-2737.0')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ datetime.datetime(2013, 6, 4, 18, 22, 26),
# datetime.datetime(1995, 9, 17, 20, 20, 47),
# u'CXESuARgizBkpTIKBCdZ',
# u'AzlaeHzbGidDsnPCKwAP',
# datetime.datetime(2013, 10, 12, 23, 32, 52),
# u'xOyzqBPnkDOotabVZsdL',
# u'sDHcPDDinYpcuptXMpqr',
# u'ATWwliIQWNtbcQXVVxzM']
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( u'MfHxOThUpEdPryTlgFSk',
# u'aandersen@jenssen.com',
# datetime.datetime(1977, 3, 27, 9, 37, 33),
# u'iFtihPdDctluYtlEZqJE',
# u'perkarlsen@ellingsen.com',
# Decimal('-8267258.6849'),
# datetime.datetime(1997, 6, 20, 21, 44, 23),
# datetime.datetime(1975, 6, 28, 3, 56, 1),
# 6430)
fake.pybool()
# True
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([datetime.datetime(1977, 12, 28, 2, 24, 43), u'http://antonsen.no/homepage.htm', u'cxxVzNYRxCfzZjJwGjOm', u'rgKdIdtxXrCUtRBFCEPl', u'sisselmyklebust@hotmail.com', 4122])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'animi': datetime.datetime(2015, 7, 10, 19, 33, 54),
# u'consequatur': 4037,
# u'consequuntur': -1581589.0,
# u'debitis': u'gJAYgUyWIHZMFEZmfDGz',
# u'occaecati': 4790,
# u'odio': u'iqZFlkbONPjbSYYlllzc',
# u'quam': Decimal('-3763961.27616'),
# u'quas': u'HBtAyeiSCdhTefSlrISn',
# u'rem': 4460516.21031,
# u'repellendus': u'https://www.solheim.com/app/explore/explore/about/'}
fake.pyint()
# 9239
faker.providers.ssn
¶
fake.ssn(dob=None, gender=None)
# u'28109710298'
faker.providers.user_agent
¶
fake.mac_processor()
# u'PPC'
fake.firefox()
# u'Mozilla/5.0 (X11; Linux i686; rv:1.9.5.20) Gecko/2013-10-27 12:03:24 Firefox/3.8'
fake.linux_platform_token()
# u'X11; Linux x86_64'
fake.opera()
# u'Opera/9.16.(Windows NT 4.0; pap-CW) Presto/2.9.182 Version/12.00'
fake.windows_platform_token()
# u'Windows NT 6.2'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 5.0; Windows NT 6.0; Trident/5.0)'
fake.user_agent()
# u'Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_12_2) AppleWebKit/5352 (KHTML, like Gecko) Chrome/26.0.840.0 Safari/5352'
fake.linux_processor()
# u'x86_64'
fake.chrome(version_from=13, version_to=63, build_from=800, build_to=899)
# u'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/5330 (KHTML, like Gecko) Chrome/37.0.801.0 Safari/5330'
fake.mac_platform_token()
# u'Macintosh; U; Intel Mac OS X 10_9_1'
fake.safari()
# u'Mozilla/5.0 (Macintosh; PPC Mac OS X 10_8_3 rv:6.0; ayc-PE) AppleWebKit/535.14.6 (KHTML, like Gecko) Version/5.0 Safari/535.14.6'