Language sv_SE¶
faker.providers.address¶
fake.latitude()
# Decimal('86.9408335')
fake.street_name()
# u'Kyrkv\xe4gen'
fake.address()
# u'J\xe4rnv\xe4gsgatan 88\n30881 Malm\xf6'
fake.street_address()
# u'Stationstorget 67'
fake.postcode()
# u'83773'
fake.country_code(representation="alpha-2")
# u'LK'
fake.longitude()
# Decimal('52.825699')
fake.country()
# u'Nauru'
fake.city_name()
# u'Trollh\xe4ttan'
fake.street_prefix()
# u'Idrotts'
fake.street_suffix()
# u'v\xe4gen'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('-82.882572')
fake.city_suffix()
# u'Ville'
fake.building_number()
# u'19'
fake.city()
# u'Lund'
fake.state()
# u'V\xe4sterbottens l\xe4n'
faker.providers.automotive¶
fake.license_plate()
# u'I66-23I'
faker.providers.bank¶
fake.bban()
# 'GJAE8378185790492'
fake.bank_country()
# 'GB'
fake.iban()
# 'GB14BXNT6049006357328'
faker.providers.barcode¶
fake.ean(length=13)
# u'9746502985797'
fake.ean13()
# u'4612641063809'
fake.ean8()
# u'89293812'
faker.providers.color¶
fake.rgb_css_color()
# u'rgb(185,223,99)'
fake.color_name()
# u'LightSteelBlue'
fake.rgb_color()
# u'195,32,213'
fake.safe_hex_color()
# u'#660000'
fake.safe_color_name()
# u'purple'
fake.hex_color()
# u'#b4488f'
faker.providers.company¶
fake.company()
# u'Ekstr\xf6m Karlsson HB'
fake.company_suffix()
# u'HB'
fake.catch_phrase()
# u'Intuitive coherent info-mediaries'
fake.bs()
# u'enhance bricks-and-clicks paradigms'
faker.providers.credit_card¶
fake.credit_card_security_code(card_type=None)
# u'419'
fake.credit_card_provider(card_type=None)
# u'Discover'
fake.credit_card_full(card_type=None)
# u'VISA 13 digit\nVeronica Pettersson\n4872268322334 05/22\nCVC: 181\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '02/25'
fake.credit_card_number(card_type=None)
# u'676246290347'
faker.providers.currency¶
fake.cryptocurrency_code()
# 'XPM'
fake.currency_code()
# 'ZAR'
fake.currency_name()
# 'Seborga luigino'
fake.cryptocurrency_name()
# 'Vertcoin'
fake.cryptocurrency()
# ('LSK', 'Lisk')
fake.currency()
# ('TMT', 'Turkmenistan manat')
faker.providers.date_time¶
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2019, 6, 2, 7, 38, 58)
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0x7fff96309b90>
fake.date_between_dates(date_start=None, date_end=None)
# datetime.date(2019, 5, 15)
fake.date_time_between(start_date="-30y", end_date="now", tzinfo=None)
# datetime.datetime(2006, 9, 28, 17, 55, 2)
fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2013, 7, 4)
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2019, 5, 11, 17, 57, 21)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2019, 4, 17)
fake.day_of_week()
# 'Friday'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2014, 5, 28, 19, 17, 36)
fake.date_between(start_date="-30y", end_date="today")
# datetime.date(2007, 6, 20)
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2000, 10, 28, 13, 6, 38)
fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '1970-01-09'
fake.am_pm()
# 'PM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2019, 5, 15, 4, 21, 21)
fake.date_object(end_datetime=None)
# datetime.date(1985, 5, 23)
fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2019, 3, 31)
fake.iso8601(tzinfo=None, end_datetime=None)
# '2010-11-26T02:55:08'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2019, 5, 31)
fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2014, 2, 23)
fake.month()
# '03'
fake.year()
# '1992'
fake.day_of_month()
# '16'
fake.unix_time(end_datetime=None, start_datetime=None)
# 1175920652
fake.timezone()
# u'Pacific/Fiji'
fake.century()
# u'IV'
fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(1954, 4, 21)
fake.time_object(end_datetime=None)
# datetime.time(21, 14, 24)
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2019, 3, 18, 2, 55, 57)
fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(1988, 3, 28, 18, 42, 20)
fake.time(pattern="%H:%M:%S", end_datetime=None)
# '01:23:23'
fake.date_this_month(before_today=True, after_today=False)
# datetime.date(2019, 5, 7)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2019, 4, 28, 22, 2, 46)
fake.month_name()
# 'November'
fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(1489, 12, 11, 15, 54, 29)
fake.time_delta(end_datetime=None)
# datetime.timedelta(6819, 31227)
faker.providers.file¶
fake.unix_device(prefix=None)
# u'/dev/vdf'
fake.mime_type(category=None)
# u'video/x-matroska'
fake.file_path(depth=1, category=None, extension=None)
# u'/enim/odio.bmp'
fake.unix_partition(prefix=None)
# u'/dev/xvdd0'
fake.file_name(category=None, extension=None)
# u'velit.mp3'
fake.file_extension(category=None)
# u'avi'
faker.providers.internet¶
fake.ascii_free_email(*args, **kwargs)
# 'andreassonsigne@gmail.com'
fake.image_url(width=None, height=None)
# u'https://www.lorempixel.com/165/292'
fake.tld()
# u'net'
fake.email(*args, **kwargs)
# u'linnpetersson@swipnet.se'
fake.url(schemes=None)
# u'https://hansson.se/'
fake.ipv4_private(network=False, address_class=None)
# '10.215.157.76'
fake.user_name(*args, **kwargs)
# u'bosvensson'
fake.uri_extension()
# u'.html'
fake.uri_page()
# u'privacy'
fake.free_email_domain(*args, **kwargs)
# u'spray.se'
fake.safe_email(*args, **kwargs)
# u'mpersson@example.net'
fake.ascii_email(*args, **kwargs)
# 'larsstrand@sjogren.com'
fake.ipv4_network_class()
# u'c'
fake.ipv4_public(network=False, address_class=None)
# '192.23.199.133'
fake.ascii_company_email(*args, **kwargs)
# 'hakanssonmaria@sundberg.com'
fake.domain_name(*args, **kwargs)
# u'wikstrom.se'
fake.ipv4(network=False, address_class=None, private=None)
# '150.111.84.189'
fake.domain_word(*args, **kwargs)
# u'josefsson'
fake.slug(*args, **kwargs)
# u'distinctio-est-iure'
fake.uri_path(deep=None)
# u'tag'
fake.company_email(*args, **kwargs)
# u'tobiasjohansson@petersson.net'
fake.uri()
# u'http://www.nilsson.se/category/category/login.html'
fake.ipv6(network=False)
# '5fbb:9872:9499:dc41:ce18:b308:c1ca:99ad'
fake.free_email(*args, **kwargs)
# u'rolofsson@telia.com'
fake.ascii_safe_email(*args, **kwargs)
# 'maria58@example.net'
fake.mac_address()
# u'00:bb:d9:74:29:5a'
faker.providers.isbn¶
fake.isbn10(separator="-")
# u'1-338-37115-0'
fake.isbn13(separator="-")
# u'978-0-468-75777-7'
faker.providers.job¶
fake.job()
# 'Nurse, mental health'
faker.providers.lorem¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Qui odio expedita exercitationem. Rem recusandae esse molestiae.\nSit fuga similique quam neque autem. Ipsa a tempora quibusdam. Sapiente minus adipisci consequuntur.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Repudiandae cum earum nesciunt culpa sunt. Laborum odit ab explicabo provident. Aperiam quo vero quia magni.',
# u'Omnis aspernatur sequi labore ab soluta velit. Illum occaecati dolorem adipisci aliquid perferendis nihil laborum.',
# u'Omnis commodi consequatur at. Quidem nam praesentium ex est a.']
fake.words(nb=3, ext_word_list=None)
# [u'at', u'illum', u'nulla']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Quidem labore placeat velit recusandae.',
# u'Iste esse inventore accusantium accusantium eius non.',
# u'Deserunt occaecati reiciendis reiciendis hic maiores occaecati.']
fake.word(ext_word_list=None)
# u'omnis'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Modi eaque laborum neque molestiae nostrum. Delectus fuga modi quia rem. Laborum recusandae alias doloremque id porro quae.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Explicabo perferendis ipsa quidem.'
faker.providers.misc¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'@Q9ViPYuW5'
fake.locale()
# u'ff_SN'
fake.binary(length=1048576)
# bytearray(b'Sf\x9f\x1e\x9cN\x82\xdbk)M\x1dQ\xcb\xb9y\xe17dU\x8d1\xeb\x1een\xdd\xab\x1e\xb6L>\xdc\xb2\x9bI0\xe1)\xca\x97\xfbN/\xab\xd8\x0e\t\xc56\xd4\n\xf8\xe4\xf7\xe9\x87\xa3\xfb\xfc\xact\x92\x84\x0e\x9e%\xc5i\x0c\xeb\x98\xfcu\xf7\x93z\x95\xbfb\xd4\xc1\xbc\x12\x1c\x84\xa2f(\xf4\xbd\xa2f\xc0<\x16z\xc3\xba\x89!\x90\xa1/\xc7\xaap_l\xc8\r\xf3\xbfF\x13>\xb9k\xf04\xf15\xd6\x1eV\xfd\xa2\xf7/\xc5\xb25\x942\xd4\'J9\x81\xa9\xafD\xcfxh^\xa5GTY\x99\'^\xe9\xc2h>\x9b%\x88\x8e\x00)\x16\x8e\x81!\xd9+\xafj\xc7L\xdc\xe4!\x01\x86\tH)\x9a\x8cr\x88A\x04j\x97\xad\x81G\x04\xfe\xbe\xc5\xfe:y\x02\x1c\xd6\xf7I\xb9RX\x90\xcf2Z\x03*\x92\xf3\xcc\xbdt\x89\xb2\x84\xa4)\x90\x11\xbb~\x17\x99\xb8O.d\xaa`\xd3E\x04\xf0\xf19@"\x18=(e\xf4\x8cT\xa2\x7f\xdf\xee\xd7V\xe4\x8c\x86n5P-\x99\x94|W\x1f\xd5\xceBw\xc7\x7f\xed\xf6\xc6%e\xf1\x03\xe7\xbb\xe4\xfersW\xc0\xb1\x15:\xd7\xd9o\xe8\x12\x90\xd0\x1d\xa7\x01\xe8\rq\x9f\xb6m\xef\xd0\x87\x89\xd2\xe685_5\xa5\xc8\x06#"A\xd2:\xbfR\xa2w\xccF\xbcH9\x07\x1f\x898\x86\xe7\xa6d"\xb7\x8c\x0f\xb5\xbak\xdd9\xfb4\xeb823\xc2\x81\x14\x1b<\xf3\x06\xad!\xab\xd8-2\xf7\xe9\xb2\xf4\x04\x1fG\x19w\x97\xfa\x05\xb8d\xf3>^\x8dV\xbahYy\xcd\x05\x18B\x88\x02P\x08i)\xa0\xde\x8c6.b\x16\xad\xc7\r\xe6|\x14\xf6\xa2\xf3\x90\xa9\x1a\xf3$Lm\xea\xb8u\x89\xc7DA\x05\xcd\xbb\x19\xb1"\xa4\xcft\x08\xb1\x9a\x89\x9b\xbf?\x0c\xd1\xa4\xa8\x8a\x08\x01s\n$\xb9\x1e\xc9|\x85\x91\'x\xaeP\n\xcde\xf0\x84\x0f\xa8\xe5\xf3\xf1\xcd\x80c\xb7\xc2\x19\xe9W\x0e\xbe9$T\x82\xff\x16\xd1[_SN\x8c\x03\xb8\x88\xfd\xa3\xc6\x13\xca\xa2|\xe8\xf2\x1e<\xbc\xf5V\x8aR|U\x9f\xca\x92\x94*\xae)\x1a\x9d\xd8G\xd9\xee\x8f\xdf\xffUu\x9a\x87!+z\x86w\xb5\\\x89\x1c\xd5\xbaH\xa5\xe8P\xc8F\xb4\x97\xdf@\x05\xd3F\xfd\x02\x10\xd9Am<\x9b\x93\x10\xb27%m\xa7\xc1\xdb(i\x1b\xbc\xb5\x85[\x1c2\x97\xe15J\xa2\xfd\xde\x9e\x1f\x8f\xd7s{ota\xa9\xd4\xb3\x1a.\xbbnT\xa3\xc0r\x95\x1eZxF\xe7"{U\x82\x80h\x81\xd6\xc7\xadH\xde\xf7\xdal\xd2\xc62\x1c\xea\x14pi\x1dq\x87\xeb\xef\x05\xe4\x1d\xb4Ko\xae\xaf\xd3\xe3\xe2\xcd;n\x86s\xbcM\xcf\xeb\xc7\xe8\xbe\x00\xbe\xb33\xfd\xe8f\xfd\x94\x1b_\xf4)+\xa7\xa1x\xa6\xf3t\xd7+n\xf0m\xc3\xc1\xea\xba\x97h\x1a\x9dNr\x80{.\x165\xc8p^<\xcc\x8a\'ww\xebP\xcee\xf7\xeen\xb8\t=\x83dI\xde\xf85\x00\xf3\x14\xc6\xa6\xdah\xf1\xf5\xab\x16\x8b\xa5\x94\x95f\x82\xbd1\xee\x8f\xaez8\x0f\xf9"}\xd4\xee\x9alK\xc2\xaf\x1f*\xa5X3<-\xb0\xaa\x85\x82\xce\xc2\xbe\xb1"+m{\xaa(\xf5\xdb\xe6\xfa\xd0~\\\xba\x15\xb8|\xe4\xfc\xa1\x89\xfb\x9d\xd25,\xbbHS\x11I\xc5\xa3m\xf27\xaa\x11qy2\x95fsJ[^\xc1h\xd5yB\x04\xc1rP^\x1dXtMu\xd9\xdc\xfbQZ\xe9N\xee\x12l(X}\x04\x8e\x9c\xae~\xff\xa9\xbb\x01\xb5\xf3\x05l\x11~#\x84w\x94\xa9B\xd4>\xff\x15\xeb\x1b3\x1f8\x7f\xed \xf5\xb5Xo\x9a\xdfu\xb6\xd4\xdb\xf6,\xcb\x91U\xa8\xc6W\xd9\x9c\xc5\xe8>\xe7]\x16\x16U~;~\xef\xe8\x90po\xe4\xcb\xf6@)\xb1IDa\xbd\xea\xf7\x99\xba\n\xee\x9f\xee\xda`\xad\x18;\xc5\x1a\xaa\x86\xe8e}\x15\xe8\xdfI\x10I\xc6\xa6p\x07\xa7\x8b\xe6\xe8\xcd\xa4.\xe9\x8cQ\x92\xde\xd6\xeb\xf2\xd2%\x87_\xd8SIU\xa8Z\xdb)\x9cb\xf9pI|\x0f5w\xf4\x0f\r\xc7\xf6C\x02\xf4\'\xf8\x10\xce')
fake.md5(raw_output=False)
# 'f1379aa61c73f29a7232f11cdefe618f'
fake.sha1(raw_output=False)
# 'a14de3b6d0a88454871b49258903990cfc107c1c'
fake.null_boolean()
# True
fake.sha256(raw_output=False)
# '1aad8945fa8c4284cddcfd93ca8ac236f8e0bff0c26e5c5ddd8de2837ddee191'
fake.uuid4()
# '9baccd2d-7c55-09d5-10f7-7fb1b4bf7880'
fake.language_code()
# u'ts'
fake.boolean(chance_of_getting_true=50)
# False
faker.providers.person¶
fake.last_name_male()
# u'Jonsson'
fake.name_female()
# u'Ruth Dahlgren'
fake.prefix_male()
# u''
fake.prefix()
# u''
fake.name()
# u'Anna Strand'
fake.suffix_female()
# u''
fake.name_male()
# u'Per Eliasson'
fake.first_name()
# u'Inga'
fake.suffix_male()
# u''
fake.suffix()
# u''
fake.first_name_male()
# u'Per'
fake.first_name_female()
# u'Margareta'
fake.last_name_female()
# u'Pettersson'
fake.last_name()
# u'N\xe4slund'
fake.prefix_female()
# u''
faker.providers.phone_number¶
fake.phone_number()
# u'0808-783 57'
fake.msisdn()
# '6614149241602'
faker.providers.profile¶
fake.simple_profile(sex=None)
# { 'address': u'Skoltorget 15\n21020 \xd6rnsk\xf6ldsvik',
# 'birthdate': datetime.date(1994, 12, 29),
# 'mail': u'erikssonmikael@googlemail.com',
# 'name': u'Siv Svensson',
# 'sex': 'F',
# 'username': u'tordivarsson'}
fake.profile(fields=None, sex=None)
# { 'address': u'Fabriksgatan 42\n91623 Trelleborg',
# 'birthdate': datetime.date(1942, 7, 21),
# 'blood_group': 'A+',
# 'company': u'Ottosson HB',
# 'current_location': (Decimal('87.0179425'), Decimal('-14.781298')),
# 'job': 'Community education officer',
# 'mail': u'kjohansson@swipnet.se',
# 'name': u'Erik Johansson',
# 'residence': u'J\xe4rnv\xe4gsgatan 480\n17443 Karlskrona',
# 'sex': 'M',
# 'ssn': u'910304-7016',
# 'username': u'karinnilsson',
# 'website': [ u'http://www.andersson.se/',
# u'https://www.hansson.se/',
# u'https://lundstrom.se/',
# u'http://www.friberg.com/']}
faker.providers.python¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# [ u'fXEwvCydjAYxVVIxwzpk',
# u'YXaItItKswumFjklmUVP',
# Decimal('-9.37931076483E+14'),
# 8453,
# u'AwcHtiOpQeNToPiTsWYY',
# u'https://www.nilsson.com/index/',
# u'UUUvRxabyzYWBysARqvw',
# u'https://www.eriksson.com/homepage/',
# u'bUmfBIoyjkipMGwikfaW']
fake.pystr(min_chars=None, max_chars=20)
# u'zbzZAtSjNnDLBLohJkLk'
fake.pystruct(count=10, *value_types)
# ( [ u'pZTPtJvXajZPiQwvVQEZ',
# -29.6,
# u'PHZFqSuueJHJqzcsPbpu',
# u'ETXGuPWDPVYetLuHZyny',
# u'teresia81@petersson.com',
# u'http://svensson.com/list/main/',
# 5422,
# u'LXZgGkERBpHYUxTlroSI',
# u'hzLbCpvLNEhcbOfOcfAf',
# u'http://www.gustafsson.com/register.php'],
# { u'aliquam': 8163,
# u'inventore': u'therese57@olsson.org',
# u'ipsa': u'ingelaeriksson@gmail.com',
# u'iusto': datetime.datetime(1994, 6, 15, 1, 44, 34),
# u'maiores': Decimal('5197347.73427'),
# u'modi': u'SuphERrOviuCwgWJthEJ',
# u'nam': u'elsa62@swipnet.se',
# u'nobis': 6163,
# u'officia': u'http://soderlund.com/',
# u'similique': 6701},
# { u'architecto': { 4: u'kristinamagnusson@naslund.org',
# 5: [ u'landersson@spray.se',
# datetime.datetime(2018, 10, 5, 22, 37, 54),
# u'nilssonhans@live.se'],
# 6: { 4: Decimal('-942388970204'),
# 5: u'hVdNMjsjvRwKuyDlkmsM',
# 6: [ u'rfHXRVDqhKljfCPfUBFJ',
# -86683.8869340407]}},
# u'aspernatur': { 1: u'GBeomnlgMQqOoqoIFTwd',
# 2: [ u'WIsMWzxjFvNYITIqlscv',
# u'CckfOKdEyujBMRltcMiU',
# u'lvHUxTmSMbxYZDEsiRGP'],
# 3: { 1: u'nelswvCPhoHZoGEuaVGu',
# 2: 7059,
# 3: [2435, 6713]}},
# u'cupiditate': { 7: u'https://www.hedberg.com/',
# 8: [ datetime.datetime(2017, 2, 8, 22, 25, 48),
# u'qELMAvulAQcuXPoocAjI',
# u'LPuFySiCWYOfiKwtYyod'],
# 9: { 7: datetime.datetime(2000, 4, 26, 14, 3, 33),
# 8: 3573,
# 9: [u'xikUNIzjwEDzgkbQnuUs', 8810]}},
# u'enim': { 3: u'YqQYCllUxxYQESqbfrcy',
# 4: [ u'aAnysAQsAxRZvkUzvABP',
# u'PAilKlXVlIRpwoAQfSLa',
# u'pRgkDtHDKykdnoySGlwt'],
# 5: { 3: u'XZRTVQalpyPFsKlTHgeB',
# 4: u'RxcILBaMWMXqyNnkeFWI',
# 5: [ u'CdBiorvlmjVXDmKgMxBD',
# u'rzOkgMpIdnNYlwdOorOX']}},
# u'iusto': { 8: u'svenssonhenrik@andersson.se',
# 9: [ u'WDVNuaokAXMiBEYBqSgu',
# 3409,
# u'arXenMItlRRxIeFyGAdb'],
# 10: { 8: 6066,
# 9: u'https://olausson.net/index/',
# 10: [ u'fxREomPxBISSdbfQlpmZ',
# u'adsAnyPkLHShtWxmKjIg']}},
# u'molestias': { 9: u'lQSPxvlHFUWONNyLgCWK',
# 10: [ 6529,
# u'MJRGknKyyMoImoKKRCnM',
# u'http://karlsson.org/wp-content/categories/terms.asp'],
# 11: { 9: u'vYFcRMLAsnbRskmShFZD',
# 10: datetime.datetime(1981, 3, 29, 19, 5, 39),
# 11: [ u'zrtOHsLyisXHQBsOnPeJ',
# 51961516.39]}},
# u'nemo': { 2: 7682,
# 3: [-53262061723743.2, 3021, u'uxWrCOhFffMJCQubeCTc'],
# 4: { 2: u'zCLzTyFQUTUTZRLotYXZ',
# 3: u'bTPvWLTvPMWRFhAlTQQp',
# 4: [ u'bmoRtnVAGFDjcGaOeVzn',
# u'nTDSFTRpADPaOwwazKoF']}},
# u'repudiandae': { 6: u'OZIUBZbdZotgLHEAQVPm',
# 7: [ u'mnZQRkUctziBemVCRCQP',
# datetime.datetime(2001, 4, 24, 9, 1, 54),
# 826],
# 8: { 6: u'OIcZuNLSbygXUBQmuVIw',
# 7: u'TSrFYKqkEGspsuyhFIvR',
# 8: [ u'ingrid34@lindqvist.com',
# u'MNnXqSFuIIGODAzmdecN']}},
# u'vero': { 5: 2272,
# 6: [ 7641,
# u'ujpjOqhTTzCVKmTaGTLd',
# u'yvWgjTAKdqzcumLVtsPx'],
# 7: { 5: 28.617518,
# 6: Decimal('1731228.91923'),
# 7: [ Decimal('82862102630.3'),
# datetime.datetime(2010, 12, 22, 22, 8, 19)]}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# -4670041.68765143
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('-505.96632748')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ datetime.datetime(2008, 12, 4, 14, 53, 36),
# u'uEOsFLWDZQVSecOqyQJD',
# u'fRdHYoCUjoEjjxwPYJSa',
# u'XkXdDQFLwivBDbpHNafN',
# Decimal('-9640.52155236'),
# datetime.datetime(1983, 12, 8, 4, 22, 43),
# datetime.datetime(1979, 9, 25, 16, 11)]
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( u'https://www.svensson.net/category/',
# u'anEXzvuRSchKZsYAvPKJ',
# 4337,
# u'kxGZQzdyHGafLODMnjgt',
# u'uLZQtMLTZrJOpBzmpfHz',
# u'nilssonulrika@telia.com',
# u'OcbSrXJuZXHQrHMrEogn',
# 9174,
# -18988.80727994,
# 632,
# 4506,
# 5777,
# datetime.datetime(1986, 3, 21, 18, 1, 33))
fake.pybool()
# True
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([99323346969.77, u'fHjiKoeInMKokNFFxlhZ', datetime.datetime(1992, 8, 26, 21, 55, 3), 4183, u'http://borjesson.org/register.asp', u'nMwmtOmDLpXntNylCaOj', datetime.datetime(2001, 9, 20, 23, 32, 55), u'tseDiniYFHqJmrHABbIY', u'EfEmVeGIHbVHoNvsTmrV', Decimal('-630744757.211'), 7418, -477767619143206.0, u'EqrYHwAUvmqplRqUNIPT'])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'a': u'https://www.nilsson.net/wp-content/list/faq/',
# u'commodi': 8606,
# u'dicta': u'sVOGEbTvnYlBvYrtlfGS',
# u'doloribus': u'https://www.johansson.com/categories/app/faq/',
# u'excepturi': u'fqIPslLDaqieoqWkavbY',
# u'facilis': u'AjpqAhfwBXokcdkSbbRE',
# u'iusto': u'cqDwqHWqExuBDjkVpLvq',
# u'nulla': datetime.datetime(2001, 6, 28, 6, 22, 44),
# u'optio': datetime.datetime(1994, 2, 19, 7, 57, 47),
# u'reprehenderit': u'YUDXvHXMStpGLkkhLhjK',
# u'similique': datetime.datetime(2012, 8, 31, 14, 28, 9),
# u'ut': -1060.30997121051}
fake.pyint()
# 9733
faker.providers.ssn¶
fake.ssn(min_age=18, max_age=90)
# u'680323-8721'
faker.providers.user_agent¶
fake.mac_processor()
# u'U; Intel'
fake.firefox()
# u'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_9_1; rv:1.9.2.20) Gecko/2010-08-16 07:43:20 Firefox/3.8'
fake.linux_platform_token()
# u'X11; Linux i686'
fake.opera()
# u'Opera/9.61.(Windows 98; Win 9x 4.90; ia-FR) Presto/2.9.181 Version/12.00'
fake.windows_platform_token()
# u'Windows NT 5.2'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0)'
fake.user_agent()
# u'Opera/8.36.(X11; Linux x86_64; quz-PE) Presto/2.9.161 Version/12.00'
fake.linux_processor()
# u'i686'
fake.chrome(version_from=13, version_to=63, build_from=800, build_to=899)
# u'Mozilla/5.0 (Macintosh; PPC Mac OS X 10_11_1) AppleWebKit/5332 (KHTML, like Gecko) Chrome/36.0.851.0 Safari/5332'
fake.mac_platform_token()
# u'Macintosh; U; PPC Mac OS X 10_10_4'
fake.safari()
# u'Mozilla/5.0 (Windows; U; Windows 98) AppleWebKit/532.34.6 (KHTML, like Gecko) Version/4.0.2 Safari/532.34.6'