Language lv_LV¶
faker.providers.address
¶
fake.longitude()
# Decimal('-148.178370')
fake.building_number()
# u'99111'
fake.street_address()
# u'86555 Celms Grove Apt. 492'
fake.postalcode_plus4()
# u'60317-6306'
fake.city_prefix()
# u'New'
fake.military_ship()
# u'USCGC'
fake.country_code()
# u'BO'
fake.city()
# u'New L\u012bgamouth'
fake.zipcode_plus4()
# u'84291-5315'
fake.state_abbr()
# u'CT'
fake.latitude()
# Decimal('-14.2228515')
fake.street_suffix()
# u'Mountains'
fake.city_suffix()
# u'view'
fake.military_dpo()
# u'Unit 0661 Box 9355'
fake.country()
# u'Philippines'
fake.secondary_address()
# u'Apt. 799'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('-150.847388')
fake.postalcode()
# u'90278'
fake.address()
# u'7152 Ziemelis Heights\nRoz\u012btisbury, UT 38483'
fake.state()
# u'West Virginia'
fake.military_state()
# u'AA'
fake.street_name()
# u'Rud\u012bte Trail'
fake.zipcode()
# u'50240'
fake.postcode()
# u'78227-2003'
fake.military_apo()
# u'PSC 2990, Box 2698'
faker.providers.automotive
¶
fake.license_plate()
# u'469-RJQ9-91241'
faker.providers.barcode
¶
fake.ean(length=13)
# u'6439544440517'
fake.ean13()
# u'9244897152737'
fake.ean8()
# u'69594595'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(83,102,124)'
fake.color_name()
# u'DarkMagenta'
fake.rgb_color()
# u'200,48,101'
fake.safe_hex_color()
# u'#77ee00'
fake.safe_color_name()
# u'green'
fake.hex_color()
# u'#da45cb'
faker.providers.company
¶
fake.company()
# u'Birznieks, Kr\u0113sli\u0146\u0161 and Rubenis'
fake.company_suffix()
# u'Group'
fake.catch_phrase()
# u'Expanded tangible model'
fake.bs()
# u'syndicate sticky networks'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'050'
fake.credit_card_provider(card_type=None)
# u'JCB 15 digit'
fake.credit_card_full(card_type=None)
# u'Mastercard\nD\u0101rta V\u012bksna\n5395343431488564 07/26\nCVV: 911\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '03/27'
fake.credit_card_number(card_type=None)
# u'4343301234474179'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'VTC'
fake.currency_code()
# 'SGD'
faker.providers.date_time
¶
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2003, 11, 30, 11, 1, 38)
fake.date_time_between(start_date="-30y", end_date="now", tzinfo=None)
# datetime.datetime(1995, 4, 24, 16, 24, 21)
fake.time(pattern="%H:%M:%S")
# '10:37:12'
fake.date_time_ad(tzinfo=None)
# datetime.datetime(356, 11, 21, 21, 29, 43)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2017, 9, 1)
fake.day_of_week()
# 'Monday'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2017, 5, 30, 13, 41, 16)
fake.time_object()
# datetime.time(10, 2, 14)
fake.iso8601(tzinfo=None)
# '2002-01-30T18:55:03'
fake.time_delta()
# datetime.timedelta(12797, 75054)
fake.am_pm()
# 'PM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2017, 9, 6, 20, 17, 18)
fake.date_object()
# date(1976, 11, 29)
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2017, 9, 13, 6, 20, 33)
fake.date_time(tzinfo=None)
# datetime(2000, 2, 25, 1, 20, 24)
fake.date(pattern="%Y-%m-%d")
# '2003-03-24'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2017, 9, 19)
fake.month()
# '09'
fake.unix_time()
# 864547546
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2017, 9, 3, 20, 10, 47)
fake.day_of_month()
# '25'
fake.year()
# '2002'
fake.timezone()
# u'Asia/Dhaka'
fake.century()
# u'XVII'
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0xb5002cb0>
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2017, 8, 6, 4, 2, 40)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2017, 9, 2, 1, 49, 30)
fake.month_name()
# 'March'
faker.providers.file
¶
fake.file_path(depth=1, category=None, extension=None)
# u'/ducimus/provident.webm'
fake.mime_type(category=None)
# u'audio/vorbis'
fake.file_name(category=None, extension=None)
# u'quae.csv'
fake.file_extension(category=None)
# u'flac'
faker.providers.internet
¶
fake.url()
# u'https://www.roz\u012btis.com/'
fake.company_email()
# u'jd\u016bmi\u0146\u0161@roz\u012btis.com'
fake.uri()
# u'http://luksti\u0146\u0161-d\u016bmi\u0146\u0161.info/explore/search/homepage.htm'
fake.domain_word(*args, **kwargs)
# u'v\u012btols-auni\u0146\u0161'
fake.ipv4(network=False)
# '141.247.157.131'
fake.domain_name(levels=1)
# u'dzenis.info'
fake.tld()
# u'com'
fake.uri_path(deep=None)
# u'posts/category'
fake.free_email()
# u'guntarsvilks@yahoo.com'
fake.slug(*args, **kwargs)
# u'quam-est-enim-eaque'
fake.free_email_domain()
# u'yahoo.com'
fake.uri_extension()
# u'.html'
fake.ipv6(network=False)
# '5170:9852:8a4d:65a5:771a:19fa:236d:71f0'
fake.user_name(*args, **kwargs)
# u'briedisemma'
fake.image_url(width=None, height=None)
# u'https://dummyimage.com/887x90'
fake.email()
# u'krists43@gmail.com'
fake.uri_page()
# u'home'
fake.mac_address()
# u'56:0d:7e:8f:af:50'
fake.safe_email()
# u'elzakr\u016bze@example.com'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'0-652-73942-3'
fake.isbn13(separator="-")
# u'978-1-03-243661-6'
faker.providers.job
¶
fake.job()
# 'Translator'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Libero odio maiores temporibus placeat mollitia molestiae. Nesciunt impedit sint at incidunt. Esse voluptates repellat consectetur tempore. Dolore repudiandae impedit temporibus.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Esse eligendi eum magnam pariatur labore perspiciatis. Voluptate quidem placeat ad est dolorum possimus. Dolore assumenda fugit at deserunt minima corrupti.',
# u'Quis exercitationem deleniti alias cupiditate modi totam. Numquam explicabo asperiores culpa quaerat. Itaque nisi id quidem sed praesentium quaerat saepe. Voluptates illo enim dolorem fuga rerum.',
# u'Consequuntur sunt nam dolore eius accusantium. Laborum accusantium iure exercitationem voluptate necessitatibus. Minus deserunt vero fugiat iste.']
fake.words(nb=3, ext_word_list=None)
# [u'labore', u'nobis', u'eos']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Quod placeat voluptas quia ducimus totam expedita esse sequi.',
# u'Sit sit ducimus dolore cumque reprehenderit deserunt facere.',
# u'Quidem officiis iusto ducimus inventore soluta.']
fake.word(ext_word_list=None)
# u'cum'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Dolorum ab non ex repellendus iusto ab reprehenderit. Saepe dolorem iste perferendis praesentium corrupti explicabo. Modi libero veritatis distinctio nobis suscipit fugit. Earum mollitia molestias velit eius recusandae deleniti doloribus.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Omnis fuga aperiam porro facere natus qui delectus.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'H)16BTGx!!'
fake.locale()
# u'ko_KR'
fake.binary(length=1048576)
# bytearray(b'\xdb\x95\xc7d\xbb\xe1UA\xe53\x15\x9ax\xf7\xa5JHq\xa1o\x85m(\x80\xef\n\xf8\x0f\x0f+\xa9\xab\x01Aq\x00\x80u\xa2@\x1dd\xe1{P\xa3\xe8\'VSn2\xd4Q;Q\xd1\xeb\xbb\x0cYq\t\xe9\x8a\xc68\x90s\x02\x072\xf0\xef\xee7\xd2\x96\x85\xcbJ=\xa5\xae\xcc\xf51\x89\xde\xd0\xee>\xafca+\xde\xfc\xc5\xa5\x07\xf7\x85h\xa0C\xd2\x9a:?=\xc8\xc7\t\x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FK\xb61\x903\xe5\xce\x14Y2\xa0\xf4\xce\x99x!\x92\x10\xcfH\x80}z\xb3TQ\x8cl\xf1\xee\x92L\x8e\x05\xa2\xc9\x81\x82\x19\x1e,a\x85j\x86\xf5\xc4\t/\xe0\x1c./R\\\xe1\x00\xde,\xb7\x1b\xd4\xb9F\x92\xb7]7B\x19\xc7\x03\xed\x92d\xc5+\xbe(\x1e\x80\xac\xb0\xb5\x96\xc8\xcd\xaef\xfc\xf0\x84K|\xd1Q\x1a\x91e\x82\xc8\x1b\x99\x93\x8b\xd7\x00\x80Z\x13cY]]i\xfc\xe1\xb4\xe3\xa2\x82\xa8\x1b\xf9\xf1\xbf\xfcILH\x91\xeb\xc9')
fake.md5(raw_output=False)
# 'd30a5a9350aadff5d7af65bd7a1a5c15'
fake.sha1(raw_output=False)
# 'da26bcf9f1c49f25e424e179507d079afbec485f'
fake.null_boolean()
# False
fake.sha256(raw_output=False)
# '5d7d85c67f3cda4a8a1b9d19ded9e01f627cbee865c78f45b020f44b3c9f1aa2'
fake.uuid4()
# 'c2d3fce0-1d8e-7f2d-6c3a-8c40c3bfff5e'
fake.language_code()
# u've'
fake.boolean(chance_of_getting_true=50)
# True
faker.providers.person
¶
fake.last_name_male()
# u'Krasti\u0146\u0161'
fake.name_female()
# u'Henriks Kr\u016bze'
fake.prefix_male()
# ''
fake.prefix()
# ''
fake.name()
# u'Vita Kal\u0113js'
fake.suffix_female()
# ''
fake.name_male()
# u'Igors Caune'
fake.first_name()
# u'Gaida'
fake.suffix_male()
# ''
fake.suffix()
# ''
fake.first_name_male()
# u'\u0112valds'
fake.first_name_female()
# u'Rihards'
fake.last_name_female()
# u'Aps\u012btis'
fake.last_name()
# u'Zvirbulis'
fake.prefix_female()
# ''
faker.providers.phone_number
¶
fake.phone_number()
# u'+(371) 41390277'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'2604 Roze Drives Suite 476\nAl\u012bdafurt, AZ 56819-1180',
# 'birthdate': '1997-04-27',
# 'mail': u'\u0101bolspaula@gmail.com',
# 'name': u'Oskars V\u012btols',
# 'sex': 'F',
# 'username': u'elza72'}
fake.profile(fields=None, sex=None)
# { 'address': u'733 B\u0113rzi\u0146\u0161 Camp Suite 116\nLake Laimonisborough, CT 53804-8480',
# 'birthdate': '1980-09-29',
# 'blood_group': '0-',
# 'company': u'Zari\u0146\u0161-Luksti\u0146\u0161',
# 'current_location': (Decimal('-89.038291'), Decimal('-145.704334')),
# 'job': 'Radio producer',
# 'mail': u'oskarsrudz\u012btis@yahoo.com',
# 'name': u'Viktors K\u0101rkli\u0146\u0161',
# 'residence': u'PSC 1265, Box 9460\nAPO AA 79281-5018',
# 'sex': 'M',
# 'ssn': u'522-94-3650',
# 'username': u'lidijav\u012btols',
# 'website': [u'https://www.alksnis.com/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# [ datetime(1973, 7, 17, 15, 18, 38),
# u'XykaLqQafcEGOJHQWvkt',
# u'iaCmBZJCsmjlTamBiMlT',
# u'ain\u0101rsvilks@skuja.info',
# datetime(1992, 1, 28, 10, 20),
# 38727315130530.0,
# u'yCcrioqIbYXBRVgsEmwH',
# 5026,
# u'EpwptDapBKPTlFMYfiPC',
# u'l\u012bcislaura@hotmail.com',
# Decimal('643.6'),
# u'NLysvFZVghIQMQFiaOfN']
fake.pystr(min_chars=None, max_chars=20)
# u'KrkBnaIdetlIbRfxZjTt'
fake.pystruct(count=10, *value_types)
# ( [ datetime(2002, 9, 8, 20, 40, 31),
# datetime(2000, 9, 17, 1, 3, 35),
# 7665,
# datetime(1980, 4, 10, 23, 41, 45),
# u'hIskpdKrxiQqzYBHDOQZ',
# u'FkNpvovCsdHSdZSiujfQ',
# u'http://www.bite.com/explore/explore/app/privacy.html',
# 7713,
# u'\u0101damskalni\u0146\u0161@z\u0101l\u012btis.org',
# -26.6211296326],
# { u'accusantium': -35262247390708.8,
# u'debitis': u'nBobXxTQhnqfvLEjrzGF',
# u'explicabo': u'https://www.liepa.net/blog/explore/index.php',
# u'illum': datetime(1999, 3, 7, 17, 1, 15),
# u'magnam': -338312970932320.0,
# u'nostrum': u'https://www.l\u016bsis-zvirbulis.org/main/',
# u'quaerat': 8361,
# u'quibusdam': u'vdZEBioQwiJcNmdFXOBM',
# u'quo': 5025},
# { u'a': { 9: u'uroze@gmail.com',
# 10: [ u'AKSHcWZsQFVeccCVGRNq',
# u'aeFROpSLQIBUsCJGUXSg',
# 233817510831.159],
# 11: { 9: u'uebeqURCIpoDzFDMAqcG',
# 10: 2512.0,
# 11: [4263, Decimal('40480863.9262')]}},
# u'doloremque': { 6: u'GPvdAzWbJeqnWTfOnUHg',
# 7: [ u'nxcZssJDiakJfURZBXak',
# u'http://www.balodis.net/',
# u'NOlmBQuQiHtKTCcChXBM'],
# 8: { 6: u'http://\u0101bols-ka\u0146eps.net/author/',
# 7: u'RkZaUIKzFOpafUYdIqFQ',
# 8: [ Decimal('0.5'),
# datetime(2010, 6, 12, 9, 43, 22)]}},
# u'et': { 4: 121,
# 5: [ u'inASOHTarJKeQMFJOYnq',
# -382014.68322,
# u'cauneinese@hotmail.com'],
# 6: { 4: 5558,
# 5: u'https://www.alksnis-v\u012bksna.com/app/tag/categories/privacy/',
# 6: [ u'vFoMRvggAjbMRrAJObYU',
# u'QVOAfpISLPNyTOqXKZLW']}},
# u'explicabo': { 2: u'SnpSmLGiktRnHqoBFhzh',
# 3: [ u'lBbzygJYuUYmNDuAgMjt',
# u'http://balti\u0146\u0161-skuji\u0146\u0161.com/app/posts/search/search/',
# u'strazdi\u0146\u0161vi\u013cums@yahoo.com'],
# 4: { 2: u'priedesapa@v\u012bksna.com',
# 3: 1650753953095.7,
# 4: [ u'http://www.\u0101bols.net/',
# Decimal('518691599767')]}},
# u'magni': { 0: u'wTYqLitsmFQbBkZsBpGJ',
# 1: [ u'fLOuurnQUqjGaAVEgzAl',
# 804,
# Decimal('-2.56581464106E+14')],
# 2: { 0: u'rLGAtpgcuqLrRrUhzfpq',
# 1: Decimal('33112817.4'),
# 2: [ u'd\u0101visbalti\u0146\u0161@c\u012brulis-rudz\u012btis.net',
# u'dyIndrDEgkOEbsuVoPkA']}},
# u'minus': { 1: -125800101227.1,
# 2: [ Decimal('8.5780768023E+11'),
# u'lXnzuTwqdmfkvIKiMTxE',
# 9465],
# 3: { 1: u'nuVRyinYffdcdHqalXQn',
# 2: u'http://www.skuji\u0146\u0161.com/categories/explore/register.htm',
# 3: [ 6136,
# u'https://www.jaunzems-kalni\u0146\u0161.com/']}},
# u'molestiae': { 5: Decimal('178.0'),
# 6: [7485, 1166, u'QkVEwWkNLuKeJLrjjVkt'],
# 7: { 5: u'fDkKqVVWDsKCFUakDnIK',
# 6: u'https://z\u0101l\u012btis.biz/',
# 7: [u'vvFddQaCjjsDhTZlumWI', 8685]}},
# u'neque': { 7: u'baba15@gmail.com',
# 8: [ u'https://www.zvirbulis.com/terms/',
# u'https://vanags.info/about/',
# Decimal('41274745975.0')],
# 9: { 7: 1465,
# 8: u'evita57@zari\u0146\u0161.com',
# 9: [ u'\u0101boli\u0146\u0161art\u016brs@k\u0101rkli\u0146\u0161.info',
# 4683]}},
# u'numquam': { 3: u'hUMcKPhzOsAwmINWzeVc',
# 4: [ 9579,
# u'l\u012bcisj\u0113kabs@vilci\u0146\u0161.com',
# u'mikelslagzdi\u0146\u0161@gmail.com'],
# 5: { 3: datetime(2001, 4, 15, 6, 8, 23),
# 4: -6240207.7369368,
# 5: [u'kcNwqTYaWVhrSBSYKvdH', 7059]}},
# u'sed': { 8: u'TlyIYxeebGEUabFxSmYp',
# 9: [ u'vilnis31@yahoo.com',
# -51209721872.0,
# u'laimoniskr\u016bze@yahoo.com'],
# 10: { 8: u'UvfEvvfwOjBdwOcwFBrT',
# 9: datetime(1980, 10, 12, 20, 39, 59),
# 10: [ u'hansspriede@sili\u0146\u0161-ka\u0146eps.com',
# u'zelti\u0146\u0161rud\u012bte@l\u012bcis-zvirbulis.org']}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# 736.85057286
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('6936146930.28')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ Decimal('21122396.2'),
# u'zjQtrgjcighJPDJRlBSq',
# u'IYYzKwfgIeYbZUlgdeKW',
# u'antrab\u0113rzi\u0146\u0161@hotmail.com',
# 8856,
# Decimal('99096.30792'),
# 7034,
# u'uvzSkdTdCsWywEFgPCNv',
# u'mNqwZRXoqryWWFvRPfWH',
# datetime(1997, 5, 5, 20, 3, 1),
# datetime(1974, 9, 26, 22, 5, 26),
# 97.16002275951,
# 6913,
# u'raimondskrievs@zvaigzne-k\u0101rkli\u0146\u0161.com']
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( u'hevFwbXwthHWlLLVOloQ',
# u'VkNznfWLLDyxMgbAXCpb',
# 747,
# 7954,
# 2389,
# u'KDoWYOCLRKsmWgfkQkNc',
# Decimal('5339409.5736'),
# Decimal('-5.55700407935E+12'))
fake.pybool()
# False
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([u'xipoBWrzuTQnuSxMYtuQ', 3202, u'FHTUFJMeBIiSVXIRHZyO', 3107, 873828340314.249, u'kzpzQXyfxOhtUpPJqOPo', -363.87283, 6227, u'YuqalvlJkcIHBCNWedOI', 2104, u'kgzRvZPgxOQqqqkEUTRL', datetime(1985, 1, 27, 12, 9, 38), Decimal('-75.2039')])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'ab': u'rkal\u0113js@zvirbulis.com',
# u'assumenda': 6527,
# u'facilis': u'dzidrakrasti\u0146\u0161@gmail.com',
# u'impedit': 7502,
# u'incidunt': 2313,
# u'nemo': u'AydefRJvQPktpHEEovpi',
# u'occaecati': u'sbGCndsbomtIetJcrDUF',
# u'praesentium': datetime(1995, 8, 11, 13, 43, 10),
# u'ullam': -505819.1805699,
# u'voluptatibus': Decimal('639518.47959')}
fake.pyint()
# 8497
faker.providers.ssn
¶
fake.ssn()
# u'815-32-6789'
faker.providers.user_agent
¶
fake.mac_processor()
# u'PPC'
fake.firefox()
# u'Mozilla/5.0 (Windows NT 4.0; am-ET; rv:1.9.0.20) Gecko/2010-07-03 19:00:30 Firefox/3.8'
fake.linux_platform_token()
# u'X11; Linux i686'
fake.opera()
# u'Opera/8.28.(Windows CE; bo-IN) Presto/2.9.177 Version/12.00'
fake.windows_platform_token()
# u'Windows NT 5.2'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 7.0; Windows NT 4.0; Trident/4.0)'
fake.user_agent()
# u'Mozilla/5.0 (Windows NT 5.2) AppleWebKit/5332 (KHTML, like Gecko) Chrome/15.0.807.0 Safari/5332'
fake.chrome()
# u'Mozilla/5.0 (Windows NT 4.0) AppleWebKit/5331 (KHTML, like Gecko) Chrome/14.0.895.0 Safari/5331'
fake.linux_processor()
# u'i686'
fake.mac_platform_token()
# u'Macintosh; U; PPC Mac OS X 10_5_0'
fake.safari()
# u'Mozilla/5.0 (Windows; U; Windows CE) AppleWebKit/535.11.1 (KHTML, like Gecko) Version/4.0.3 Safari/535.11.1'