Language lv_LV¶
faker.providers.address
¶
fake.longitude()
# Decimal('-28.887876')
fake.building_number()
# u'14670'
fake.street_address()
# u'67574 Leons Mountain'
fake.postalcode_plus4()
# u'76883-0312'
fake.city_prefix()
# u'West'
fake.military_ship()
# u'USCGC'
fake.country_code()
# u'LV'
fake.city()
# u'North Zelma'
fake.zipcode_plus4()
# u'27950-7976'
fake.state_abbr()
# u'SD'
fake.latitude()
# Decimal('-37.372683')
fake.street_suffix()
# u'Drives'
fake.city_suffix()
# u'furt'
fake.military_dpo()
# u'Unit 6612 Box 6180'
fake.country()
# u'Monaco'
fake.secondary_address()
# u'Suite 717'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('-21.605597')
fake.postalcode()
# u'17651'
fake.address()
# u'733 Sta\u0146islavs Throughway\nAntonsberg, CA 63497'
fake.state()
# u'Hawaii'
fake.military_state()
# u'AE'
fake.street_name()
# u'Rudz\u012btis Plaza'
fake.zipcode()
# u'66906'
fake.postcode()
# u'85130'
fake.military_apo()
# u'PSC 8537, Box 6528'
faker.providers.automotive
¶
fake.license_plate()
# u'MRD-8406'
faker.providers.barcode
¶
fake.ean(length=13)
# u'4736722363920'
fake.ean13()
# u'3169786512903'
fake.ean8()
# u'19405742'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(166,129,163)'
fake.color_name()
# u'Olive'
fake.rgb_color()
# u'125,145,33'
fake.safe_hex_color()
# u'#557700'
fake.safe_color_name()
# u'olive'
fake.hex_color()
# u'#6d993d'
faker.providers.company
¶
fake.company()
# u'Auni\u0146\u0161, Egl\u012btis and Skuji\u0146\u0161'
fake.company_suffix()
# u'Group'
fake.catch_phrase()
# u'User-friendly responsive concept'
fake.bs()
# u'utilize distributed deliverables'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'604'
fake.credit_card_provider(card_type=None)
# u'Diners Club / Carte Blanche'
fake.credit_card_full(card_type=None)
# u'JCB 16 digit\nAigars Zvirbulis\n3158247494828057 01/19\nCVC: 613\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '07/23'
fake.credit_card_number(card_type=None)
# u'3337804359292839'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'POT'
fake.currency_code()
# 'USD'
faker.providers.date_time
¶
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2017, 6, 24, 5, 41, 58)
fake.date_time_between(start_date="-30y", end_date="now", tzinfo=None)
# datetime.datetime(2006, 7, 27, 1, 36, 9)
fake.time(pattern="%H:%M:%S")
# '05:48:48'
fake.date_time_ad(tzinfo=None)
# datetime.datetime(626, 3, 30, 4, 33, 23)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2017, 6, 29)
fake.day_of_week()
# 'Sunday'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2017, 4, 18, 3, 54, 3)
fake.time_object()
# datetime.time(6, 22, 1)
fake.iso8601(tzinfo=None)
# '1984-12-08T23:58:26'
fake.time_delta()
# datetime.timedelta(10827, 86377)
fake.am_pm()
# 'AM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2017, 7, 21, 7, 42, 40)
fake.date_object()
# date(1978, 9, 29)
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2017, 7, 25, 16, 32, 42)
fake.date_time(tzinfo=None)
# datetime(1994, 7, 27, 0, 17, 37)
fake.date(pattern="%Y-%m-%d")
# '2004-09-24'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2017, 8, 6)
fake.month()
# '10'
fake.unix_time()
# 1247983632
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2017, 7, 19, 22, 38, 32)
fake.day_of_month()
# '21'
fake.year()
# '2003'
fake.timezone()
# u'Africa/Mbabane'
fake.century()
# u'XIV'
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2017, 1, 29, 12, 25, 41)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2017, 7, 7, 4, 27, 18)
fake.month_name()
# 'December'
faker.providers.file
¶
fake.file_path(depth=1, category=None, extension=None)
# u'/ducimus/nam.wav'
fake.mime_type(category=None)
# u'text/html'
fake.file_name(category=None, extension=None)
# u'nihil.mov'
fake.file_extension(category=None)
# u'tiff'
faker.providers.internet
¶
fake.url()
# u'https://www.auni\u0146\u0161-egl\u012btis.com/'
fake.company_email()
# u'viesturs68@l\u016bsis-purmals.info'
fake.uri()
# u'http://\u0101boli\u0146\u0161-spro\u0123is.info/'
fake.domain_word(*args, **kwargs)
# u'skuji\u0146\u0161'
fake.ipv4(network=False)
# '16.3.230.43'
fake.domain_name(levels=1)
# u'roze-rieksti\u0146\u0161.biz'
fake.tld()
# u'com'
fake.uri_path(deep=None)
# u'explore/tag'
fake.free_email()
# u'z\u0101l\u012btisteodors@yahoo.com'
fake.slug(*args, **kwargs)
# u'et-ducimus-ratione'
fake.free_email_domain()
# u'hotmail.com'
fake.uri_extension()
# u'.html'
fake.ipv6(network=False)
# '226b:7511:9bdb:5108:8bbe:3ea5:2ee5:a5e9'
fake.user_name(*args, **kwargs)
# u'hlagzdi\u0146\u0161'
fake.image_url(width=None, height=None)
# u'https://placeholdit.imgix.net/~text?txtsize=55&txt=527x376&w=527&h=376'
fake.email()
# u'normunds68@hotmail.com'
fake.uri_page()
# u'terms'
fake.mac_address()
# u'5d:19:6b:ff:97:46'
fake.safe_email()
# u'ilm\u0101rscelms@example.org'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'1-86858-472-0'
fake.isbn13(separator="-")
# u'978-0-05-855010-8'
faker.providers.job
¶
fake.job()
# 'Set designer'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Id eos nisi eos neque similique consequatur explicabo. Enim vitae vitae quo aspernatur praesentium cumque illum. Autem aliquid adipisci libero excepturi dignissimos.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Inventore sed veniam et maxime. Est cupiditate explicabo autem molestias. Earum ad atque porro sapiente quaerat eligendi tempore in.',
# u'Est ducimus sapiente at labore modi ab. Explicabo harum facilis nemo asperiores cum doloremque sequi. Expedita quasi eveniet asperiores ullam eveniet nulla sapiente.',
# u'Quos hic pariatur eos. Dolorum facilis exercitationem dolores fuga a. Fugiat excepturi debitis repellendus deleniti ratione dignissimos nemo.']
fake.words(nb=3, ext_word_list=None)
# [u'praesentium', u'vel', u'veniam']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Enim voluptas sint recusandae ex praesentium error quod.',
# u'Tempore architecto reprehenderit quaerat occaecati porro.',
# u'Commodi molestiae beatae maiores dolorum beatae excepturi.']
fake.word(ext_word_list=None)
# u'sit'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Sed incidunt eaque pariatur. Tenetur corporis fuga provident fugit aperiam. Beatae voluptates ut libero repellat. Pariatur a aliquid vel accusamus.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Quasi quo quo nihil saepe beatae repellendus error.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'o9xfNKEx%('
fake.locale()
# u'mg_MG'
fake.binary(length=1048576)
# bytearray(b'^\xf3H\xc1P\xf8w\x92\x85\xab\x91O\x95\xefj,(\r\xaat*\x81\xb2x{S\xbd\xf4N\x9fS\xd1\xe4\xef\xd7$\xc5\xd1<\xf17\xff\xb8\x90~\x07\xf8\xb9\xf2X\x7f\xd9X\xf2\x14\x01&[\x02\x83w\x8a\x88\xe2nz\xc0\x7f\xc6\xccNr*\x8bJ\xac\xd6\xc1\x88Q\xb2\xaf3_\xea\n!\xb3\x9a\x89\x89\xc1\xff\xf6\x18\xafu\xb5A\x91@\x05w\x0e\t]d\xebg\x12\t\xf6\xda$\xba*B\xd5\x90sF\xe3\xa2{\xa9\n\x12\xfb\xff\xdeB0b\xd2\xf7\'\xd6O@\x00\xa3\xdd+8\x99\xa3\xe0\xf8gV@8*05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ce\xb03I2f\x93\x1e;\x80\xf4\x07!\xacJ\xf9\x06Z\x16\xadA-\x82\x99\xe55l\x1f\xa2Z\x96\xad\x183\x95\xc65g\xf5\x93Ju\xee7+\x9d\xd6\xf1\x84\xc1\xce\xa2)\x81z\x8b\x1d\x08\x99\xf2\xbb\x1eQv\xdf\xe4\xe3z:\xa6\xc0\xf5\xbc\xd5ugL\xd4d>\xc7\xea\x0c#\x96\x92\xedtt\xec\x1a')
fake.md5(raw_output=False)
# '3766cceda9380fe7181c03f05ab65f8d'
fake.sha1(raw_output=False)
# 'eeaa945437d7a006867343a1c373fcd9c02ada30'
fake.null_boolean()
# None
fake.sha256(raw_output=False)
# '73b5a578f9c4a3b26624ccea5939ae35d90054a4b209f3b596982abec6a9ac5c'
fake.uuid4()
# 'cf84e377-674d-e012-9c6b-275ee55338f2'
fake.language_code()
# u'ar'
fake.boolean(chance_of_getting_true=50)
# True
faker.providers.person
¶
fake.last_name_male()
# u'V\u012bksna'
fake.name_female()
# u'P\u0113rkons, Tekla'
fake.prefix_male()
# ''
fake.prefix()
# ''
fake.name()
# u'Sta\u0146islavs Paegle'
fake.suffix_female()
# ''
fake.name_male()
# u'Ruta Auni\u0146\u0161'
fake.first_name()
# u'Tr\u012bne'
fake.suffix_male()
# ''
fake.suffix()
# ''
fake.first_name_male()
# u'Baba'
fake.first_name_female()
# u'Zigr\u012bda'
fake.last_name_female()
# u'Pried\u012btis'
fake.last_name()
# u'Kr\u016bze'
fake.prefix_female()
# ''
faker.providers.phone_number
¶
fake.phone_number()
# u'+(371) 07774956'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'2992 V\u012btols Prairie\nPort Gr\u0113ta, IL 88987',
# 'birthdate': '1993-04-28',
# 'mail': u'l\u0101bele@yahoo.com',
# 'name': u'K\u013cavi\u0146\u0161, Sanita',
# 'sex': 'M',
# 'username': u'pzirnis'}
fake.profile(fields=None, sex=None)
# { 'address': u'859 \u0100boli\u0146\u0161 Haven Apt. 462\nSouth Margaretamouth, PW 21601-1269',
# 'birthdate': '1986-09-03',
# 'blood_group': 'AB-',
# 'company': u'Polis-Avoti\u0146\u0161',
# 'current_location': (Decimal('88.8251335'), Decimal('69.668152')),
# 'job': 'Personal assistant',
# 'mail': u'm\u0101ra56@hotmail.com',
# 'name': u'Sarm\u012bte Avoti\u0146\u0161',
# 'residence': u'1049 Edv\u012bns Throughway\nErneststown, NY 37957',
# 'sex': 'M',
# 'ssn': u'003-70-9765',
# 'username': u'bv\u012bksna',
# 'website': [u'http://www.l\u016bsis-k\u013cavi\u0146\u0161.com/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# ( u'http://www.pried\u012btis-b\u0113rzi\u0146\u0161.com/index/',
# Decimal('8941.0'),
# u'https://spro\u0123is-kauli\u0146\u0161.com/categories/explore/author/',
# u'pCsSQUznQGKCATLdWClI',
# u'p\u0113rkonsaustra@kal\u0113js-strazdi\u0146\u0161.com',
# u'evija15@hotmail.com',
# 793,
# u'DGzFPZSxYDftaLVPTooj',
# u'http://www.skuja-purmals.com/')
fake.pystr(min_chars=None, max_chars=20)
# u'nxJIrHdVZVmhLLUxQYmz'
fake.pystruct(count=10, *value_types)
# ( [ u'OmdEDGyioloRoFiciwHh',
# u'bPRnRBtSxPSlqcCZwftF',
# u'https://www.paegle.com/main/tags/about/',
# 9414,
# u'ibriedis@hotmail.com',
# Decimal('-376904147576'),
# Decimal('74.0'),
# Decimal('11.9126149826'),
# u'sCedSKQAHMNkjmlxkBsI',
# u'z\u0101l\u012btisgrieta@yahoo.com'],
# { u'asperiores': u'LUfUvgFGcDeUCpolYkjF',
# u'atque': 16.88,
# u'dignissimos': u'LTpkkYqCfAXHQFWFEmmF',
# u'eaque': 9508,
# u'eius': datetime(2006, 5, 19, 1, 7, 16),
# u'illum': 501,
# u'occaecati': u'shdJTImmlgZWXHEkGjRq',
# u'odit': Decimal('-6.8'),
# u'officiis': datetime(2014, 4, 6, 8, 32, 18),
# u'tenetur': u'http://dzenis.com/category/main/login.htm'},
# { u'consequatur': { 3: 78,
# 4: [u'sVUNDDFkluLBesZTwTKE', 4459, 3650],
# 5: { 3: u'CVBAfrDwdOqCMntJiCen',
# 4: u'oziemelis@yahoo.com',
# 5: [ datetime(1989, 5, 25, 22, 16, 5),
# 1875]}},
# u'est': { 4: u'BbHWbQbMnZnNsvAhEOii',
# 5: [ u'rozelidija@hotmail.com',
# u'raimondsl\u016bsis@hotmail.com',
# 641],
# 6: { 4: u'RFtHwowtZjqBTilcecib',
# 5: u'hermanisliepa@rieksti\u0146\u0161.com',
# 6: [ datetime(2000, 3, 2, 4, 40, 31),
# Decimal('-711318.0')]}},
# u'iusto': { 7: u'ZoqgtAYNZCzBIgEWMKrj',
# 8: [ datetime(1996, 2, 20, 4, 48, 45),
# 1242,
# -7421288873395.35],
# 9: { 7: 3387,
# 8: u'f\u0101bols@gmail.com',
# 9: [Decimal('708.0'), u'UQrKbwGaRHCAoqeycskH']}},
# u'laudantium': { 9: Decimal('-796.263707121'),
# 10: [ 4954,
# 8316,
# u'minnakrasti\u0146\u0161@krasti\u0146\u0161.net'],
# 11: { 9: u'b\u0113rzi\u0146\u0161kristers@v\u012bksna.net',
# 10: Decimal('-3355488.0'),
# 11: [ u'https://pried\u012btis-podnieks.com/list/login.htm',
# u'rpurmals@yahoo.com']}},
# u'molestiae': { 2: u'RkbMZqnnTSzFAkwdkrUs',
# 3: [8899, u'rlNgdTpSjeTqudeIqnNp', 1147],
# 4: { 2: u'hermanisroz\u012btis@hotmail.com',
# 3: datetime(1996, 5, 3, 13, 57, 43),
# 4: [0.318095601326, 5405]}},
# u'nihil': { 0: 6436,
# 1: [ 4081,
# datetime(1991, 1, 3, 6, 30, 22),
# datetime(2014, 7, 18, 3, 49, 53)],
# 2: { 0: u'quItrttTatLDvyxqzdhx',
# 1: 2184,
# 2: [ datetime(2010, 3, 12, 8, 46, 24),
# u'TdEYvmwrynfwOYkxvvvR']}},
# u'omnis': { 1: Decimal('38373.1714653'),
# 2: [ 7382,
# datetime(1988, 12, 21, 23, 13, 51),
# u'TNVECBcklpHiFxmbAAdh'],
# 3: { 1: u'LgrzkZTctlhVlolvgJwC',
# 2: u'AbgOGhQliAWSAqERUMmk',
# 3: [ Decimal('-2261271.895'),
# u'HHzTyrDKZGdTKLCHiBFw']}},
# u'placeat': { 5: u'YhJZBZPCXAZpEIcUrILs',
# 6: [ 1736,
# u'ZjwcYgPgJLALpgKmgVQq',
# Decimal('439.5237613')],
# 7: { 5: u'lnxviBMMOoVkRcHkDTUF',
# 6: u'RlVNZLXaEruBXZsISdBf',
# 7: [72784072.86657, Decimal('73320296.853')]}},
# u'ullam': { 6: u'qDSHAsRwWKROyzYBjDiN',
# 7: [ 6795,
# u'lZmbtolWytvwRGJWEDUo',
# u'http://l\u0101cis-auzi\u0146\u0161.com/blog/search/tag/home.html'],
# 8: { 6: u'https://krievs.com/explore/homepage/',
# 7: Decimal('3813465953.49'),
# 8: [ Decimal('976283979.841'),
# u'http://www.liepa-b\u0113rzi\u0146\u0161.com/terms/']}},
# u'vitae': { 8: Decimal('107.29016851'),
# 9: [Decimal('55.9327192813'), 4054, 2925],
# 10: { 8: -3.822895954005,
# 9: 9894,
# 10: [u'qknZsnXBHRiZrEgcCLdC', 6744]}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# -215081240.2
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('-875645395769')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ u'http://www.v\u012btols-roze.com/category.html',
# 3627,
# 6130,
# u'cOBTGCwuVFBOBmGSuwsb',
# u'https://www.b\u0113rzi\u0146\u0161-sili\u0146\u0161.com/home.php',
# 2855,
# u'zNMHNEOekrntEiuDEVPI',
# u'kGaHTehMeouDoyqhgwUf',
# u'TBVpfDsLORzGstiWouxb',
# datetime(2003, 5, 28, 12, 43, 22),
# 57665561982.0,
# u'dmWkWAQwcwWsJfDWzyle',
# Decimal('-65.2026757247'),
# 6706]
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( 2531,
# datetime(1982, 6, 18, 15, 19, 32),
# 1001,
# u'VEfiloIXtnwJfSuTxruN',
# u'yaps\u012btis@puri\u0146\u0161-luksti\u0146\u0161.info',
# datetime(1996, 8, 29, 10, 42, 4),
# u'kXVqtlrdzgSRKkFDvhKM',
# u'paulalapsa@hotmail.com',
# u'qxdFAYZwDztZYgnloXJI')
fake.pybool()
# False
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([u'konraduszirnis@gmail.com', u'karina51@gmail.com', u'CFuMxSImUSOLpdydnSaF', datetime(1996, 8, 3, 20, 57, 12), 1602, -879616613396913.0, u'inGJZHhvFmTiQWTfIxwz', u'r\u016bdolfssaul\u012btis@v\u012bksna.info', Decimal('-583079816519'), u'https://www.krievi\u0146\u0161-lagzdi\u0146\u0161.net/app/wp-content/terms/', u'OcxtrXYxiQCHEfOXZAJf'])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'consequatur': 3708,
# u'dolores': u'tQKWmqjdDclIdUkMFuNo',
# u'eligendi': 60082080670.8,
# u'expedita': 0.65,
# u'impedit': 9802,
# u'ipsa': u'FCIgRwtiJhCcBXqdzKxs',
# u'ipsum': 6975,
# u'odio': 7476,
# u'quaerat': u'JxadwRWKVJqrYBgdvPbQ',
# u'quod': u'CGYDVOGMTYbBJStGjbtZ'}
fake.pyint()
# 3662
faker.providers.ssn
¶
fake.ssn()
# u'890-83-7386'
faker.providers.user_agent
¶
fake.mac_processor()
# u'Intel'
fake.firefox()
# u'Mozilla/5.0 (Windows NT 6.0; my-MM; rv:1.9.1.20) Gecko/2011-01-04 13:08:21 Firefox/3.6.4'
fake.linux_platform_token()
# u'X11; Linux x86_64'
fake.opera()
# u'Opera/8.91.(Windows NT 5.1; ar-SY) Presto/2.9.185 Version/11.00'
fake.windows_platform_token()
# u'Windows NT 4.0'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 7.0; Windows 98; Win 9x 4.90; Trident/5.0)'
fake.user_agent()
# u'Mozilla/5.0 (Windows 98; Win 9x 4.90) AppleWebKit/5331 (KHTML, like Gecko) Chrome/15.0.881.0 Safari/5331'
fake.chrome()
# u'Mozilla/5.0 (X11; Linux i686) AppleWebKit/5361 (KHTML, like Gecko) Chrome/15.0.877.0 Safari/5361'
fake.linux_processor()
# u'i686'
fake.mac_platform_token()
# u'Macintosh; U; Intel Mac OS X 10_8_5'
fake.safari()
# u'Mozilla/5.0 (Windows; U; Windows NT 5.0) AppleWebKit/531.44.2 (KHTML, like Gecko) Version/4.0 Safari/531.44.2'