Language et_EE¶
faker.providers.address
¶
fake.longitude()
# Decimal('75.245717')
fake.building_number()
# u'05112'
fake.street_address()
# u'391 Tamm Port Apt. 133'
fake.postalcode_plus4()
# u'96407-9381'
fake.city_prefix()
# u'New'
fake.military_ship()
# u'USS'
fake.city()
# u'Tatjanachester'
fake.zipcode_plus4()
# u'52083-4665'
fake.state_abbr()
# u'IN'
fake.latitude()
# Decimal('-39.3750915')
fake.street_suffix()
# u'Mall'
fake.city_suffix()
# u'town'
fake.military_dpo()
# u'Unit 5897 Box 4390'
fake.country_code(representation="alpha-2")
# u'PT'
fake.country()
# u'Yemen'
fake.secondary_address()
# u'Suite 583'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('56.842566')
fake.postalcode()
# u'09492'
fake.address()
# u'24888 Moroz Road\nKoppelborough, VT 03804-1923'
fake.state()
# u'Oklahoma'
fake.military_state()
# u'AA'
fake.street_name()
# u'Natalja Valley'
fake.zipcode()
# u'98814'
fake.postcode()
# u'33036-7857'
fake.military_apo()
# u'PSC 2321, Box 3183'
faker.providers.automotive
¶
fake.license_plate()
# u'HSJ 3828'
faker.providers.bank
¶
fake.bban()
# 'FCYF9294562611920'
fake.bank_country()
# 'GB'
fake.iban()
# 'GB84TVDW3331809597985'
faker.providers.barcode
¶
fake.ean(length=13)
# u'4910335050938'
fake.ean13()
# u'3558738867534'
fake.ean8()
# u'73102588'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(186,122,152)'
fake.color_name()
# u'Tomato'
fake.rgb_color()
# u'182,219,193'
fake.safe_hex_color()
# u'#771100'
fake.safe_color_name()
# u'green'
fake.hex_color()
# u'#1faa42'
faker.providers.company
¶
fake.company()
# u'Kalm and Sons'
fake.company_suffix()
# u'Ltd'
fake.catch_phrase()
# u'Grass-roots full-range flexibility'
fake.bs()
# u're-contextualize frictionless communities'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'771'
fake.credit_card_provider(card_type=None)
# u'JCB 15 digit'
fake.credit_card_full(card_type=None)
# u'Diners Club / Carte Blanche\nUrmas \xd5ispuu\n30032291164637 10/24\nCVC: 285\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '01/21'
fake.credit_card_number(card_type=None)
# u'060489995559'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'NEM'
fake.currency_code()
# 'IQD'
fake.currency_name()
# 'Macanese pataca'
fake.cryptocurrency_name()
# 'Decred'
fake.cryptocurrency()
# ('BCN', 'Bytecoin')
fake.currency()
# ('STD', 'S\xc3\xa3o Tom\xc3\xa9 and Pr\xc3\xadncipe dobra')
faker.providers.date_time
¶
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2018, 8, 29, 6, 12, 56)
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0xf5a62c88>
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(1998, 7, 21, 14, 16, 42)
fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2017, 4, 6)
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 8, 5, 18, 32, 32)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2018, 7, 23)
fake.day_of_week()
# 'Tuesday'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2011, 5, 26, 1, 30, 56)
fake.date_between(start_date="-30y", end_date="today")
# datetime.date(2016, 1, 28)
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2013, 4, 15, 5, 11, 57)
fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '1972-09-23'
fake.am_pm()
# 'AM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2018, 8, 17, 8, 10, 42)
fake.date_object(end_datetime=None)
# datetime.date(2007, 3, 31)
fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2018, 4, 16)
fake.iso8601(tzinfo=None, end_datetime=None)
# '2007-01-25T19:49:43'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2018, 9, 8)
fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2006, 5, 28)
fake.month()
# '02'
fake.year()
# '2006'
fake.day_of_month()
# '16'
fake.unix_time(end_datetime=None, start_datetime=None)
# 279863809
fake.timezone()
# u'Africa/Djibouti'
fake.century()
# u'XV'
fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(2015, 1, 10)
fake.time_object(end_datetime=None)
# datetime.time(15, 1, 34)
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 3, 30, 11, 16, 6)
fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(1995, 11, 9, 2, 17, 55)
fake.time(pattern="%H:%M:%S", end_datetime=None)
# '13:09:31'
fake.date_this_month(before_today=True, after_today=False)
# datetime.date(2018, 8, 10)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2018, 7, 31, 20, 52, 47)
fake.month_name()
# 'September'
fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(1130, 5, 30, 3, 26, 13)
fake.time_delta(end_datetime=None)
# datetime.timedelta(2357, 79944)
faker.providers.file
¶
fake.unix_device(prefix=None)
# u'/dev/xvdv'
fake.mime_type(category=None)
# u'text/cmd'
fake.file_path(depth=1, category=None, extension=None)
# u'/illum/neque.mp4'
fake.unix_partition(prefix=None)
# u'/dev/xvdo9'
fake.file_name(category=None, extension=None)
# u'sint.webm'
fake.file_extension(category=None)
# u'mp3'
faker.providers.internet
¶
fake.ascii_free_email(*args, **kwargs)
# 'ejurisson@yahoo.com'
fake.image_url(width=None, height=None)
# u'https://www.lorempixel.com/871/890'
fake.tld()
# u'com'
fake.email(*args, **kwargs)
# u'natalialaane@gmail.com'
fake.url(schemes=None)
# u'http://kangur.com/'
fake.ipv4_private(network=False, address_class=None)
# '10.44.25.171'
fake.user_name(*args, **kwargs)
# u'sergeisokk'
fake.uri_extension()
# u'.html'
fake.uri_page()
# u'category'
fake.free_email_domain(*args, **kwargs)
# u'yahoo.com'
fake.safe_email(*args, **kwargs)
# u'kisseljovivan@example.com'
fake.ascii_email(*args, **kwargs)
# 'triin37@maslov.com'
fake.ipv4_network_class()
# u'c'
fake.ipv4_public(network=False, address_class=None)
# '170.234.127.246'
fake.ascii_company_email(*args, **kwargs)
# 'mihhail87@teearu-taht.org'
fake.domain_name(*args, **kwargs)
# u'keskula.info'
fake.ipv4(network=False, address_class=None, private=None)
# '159.97.150.194'
fake.domain_word(*args, **kwargs)
# u'laks-luts'
fake.slug(*args, **kwargs)
# u'eveniet-atque'
fake.uri_path(deep=None)
# u'categories'
fake.company_email(*args, **kwargs)
# u'vello47@vahter.com'
fake.uri()
# u'https://karro.com/explore/privacy.htm'
fake.ipv6(network=False)
# '2417:6adb:e8a4:de10:f903:8a84:61a9:385f'
fake.free_email(*args, **kwargs)
# u'kostinvaleri@hotmail.com'
fake.ascii_safe_email(*args, **kwargs)
# 'jevgenitsvetkov@example.org'
fake.mac_address()
# u'78:0a:4f:19:d4:e9'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'0-9535202-4-2'
fake.isbn13(separator="-")
# u'978-0-7017-9614-3'
faker.providers.job
¶
fake.job()
# 'Financial planner'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Provident aperiam qui commodi.\nQuibusdam dolorem repellendus. Eaque ratione commodi et adipisci vitae.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Voluptas labore accusantium possimus porro. Perferendis debitis perferendis distinctio corrupti. Quo culpa modi corporis enim molestias eligendi.',
# u'Dignissimos veniam architecto totam nisi. Accusantium alias libero quos error. Quam suscipit sapiente quas.',
# u'Sed cupiditate expedita deserunt. Sunt reprehenderit magnam eos optio.']
fake.words(nb=3, ext_word_list=None)
# [u'nam', u'sapiente', u'rem']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Cum ipsa architecto ratione.',
# u'Dolorem voluptate quod aspernatur illum.',
# u'Dolore in at illo odio impedit.']
fake.word(ext_word_list=None)
# u'rerum'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Fugit eius voluptas odit quos atque. Inventore voluptatibus veritatis quas architecto fugit incidunt est.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Eius incidunt asperiores perspiciatis explicabo excepturi.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'^Tk0ZqnJF1'
fake.locale()
# u'eo_US'
fake.binary(length=1048576)
# bytearray(b'\xecE\xffw5\x05\xf7\x1e\xcfL\xe3\xf1\x1f\xb7\xc8\xf6\xac\x87b!\xf1?ww\xeb\x92\xa0_4z\xf3v\xef\xe5[\x1f\xef?\x8e\r\xc1\xde_\xbbh0\x15\x03\xac\xcb\xb3\xff\xad\xde\xec\xc3\x00\x9d\xc9\xb6xq\'\x16mn\xe1\xbf\xef\x1e\x88\x15~\xfe\xbd$\xdf\x06\xe0\x1f\x10(\xb3=$H\x97\x9fe\xc9\xe4\xbf1+\xffe\x92$\x19R\xb2\xba7-\xefS\xd3U\xab\x840\x97\'\x11l\x14Q).\xf0Z;\xb4w\xac\'\xa1l\xd6F\xe8\xb1:\x9e)q\xd6\xf2\xdf\xae\x1c&V+\xc1W3{I^ZuRG\x167\xe2\xdc\xaf\x84\xcfN\xb7\xc5\x971;\x98bi\xd7\\\x91\xe4\x03\xe86s\xd0\xaf\xe5\xce\xe5\xb9\t\x13l\xfbF\xe1\x0cts\x03Ey\xb6\x088\x84$)#/\xf3J\xa974\x9f\xa4\xa3\x15\x95\xd9\x85[\xa8\xb8J\xb7\xf2Q\xdb\tB\xef\xd7(od_D\th\xf6\x93\x1aRpUsfSm\x87(\xf3\x13&\x0cl\xaa$\xf5m\xf7(Z\x99g\x92\xa5\x9e\xa8\x9e\xb2p\x08\xa3\xcd\xd3\x89\x90\xd2\x17\x02W\t\xb2\xcc\x06\x96#\xbc\xb1\xe2\tFx_\xe1\x05\xa7S\xd4\xb2\x17\xbch\xa7\xc9\x02=;h\xc1\x8a#l\x08\xb9\x8e t\xc4\xdc|\x14\xc9\xf9\xa2\xd3\xdb<\x82h3\x93\xe1\x00\xca\xd6T\x95\xfb\xda(\x92\xd5^nH~\xb5$\x15&\xb55\xc2\xbf\xcc\x92N\xb7\x82\xfc\rb\xd7\t\xed\x81\xa6\t\xf3o\x8f\xe3>\xfd\xa4,R{\xab-\xb8\\\'\x0b\x11\xff\xadaY\t\xafJ^{\xaa\x1c\xb2\x9aZ\x98\x10\xda\xfa\x95\xf4\xa3\x0f\xc9\xca\x01vkB\xf1\'\x943N\x9db\x94\x0fA\xe4\x1c\t\xc5\xa9m\xa2\xc4\xa6\xec\xa2f\x18\x97\xd4\xb2\x1f\xcb\'\xb2A-\x1eS\xd4\x14\x8dwE\xf9\xc7\xd3G\x06\xab>\x80\xbfM\xe6\xf2\xb2\xfb;\xe8\t07[\xe9g\x96_\x1aEA\xcf\x15\xc4z\xc1\x99\xfc\xadj\n\t$\x86-\xf0\n\x06\xb3\xb7p0\xfc\x10\xab\xed\x84S\xaa\xc0\xd2\x17\x0b\x1c\xd4\xffj-c\xc8\xcf\xfa\x1b\xf8\xbf\xfc\x84Do\xf1\xea\xa0f\x86\x0e\xb7\xbb\x9f=Z\x96\x8b\xe8\x0b\x1f\x96\xc63\xfbY\xd0\x07j\x89\x96s\npg\x02 5\x1b\xddL\x95Ef6\x93\x07/\xed\xcc\xcb.0\x8c\x19[\xad\xbaK\xd2\x1c\xeb\xe5\x8a\xcfpOHUp\'\xe5K\xed\r"\xa2\xaf-\xa2B\x8e\xa8\xf1[\xa2\xf1\x8c\xcbi\xfb\r\xdb\xd5\xd3\xd8N\xf2\xaa\x92qL{\xa9Yz9\x8dH\xc3\xcd\xf2l\xeao\xb8j\xd2\xef\xdd\'X\xd4\x83\xebU\x8fN6Zz9,\x93\x9bh\'\xc4\xc6\xedgn\xe3\t\x81\xb9\xb1E:\x9f\xce\xed\xe7p\xfe\xdc+\x87\xd2\xe4B\xd5#\x14X\x08C%\x86\x90+6\xba\xc6Z\x84\xc0t|*\xe5\xf94\xfb\x1bf\xa2\xbc\x03\x93\x0f\xbbr\xe2s\x05)\xaa\x10Q\xf4\xde\x9e\x08\x8a\x1e\xfag\x14\xa3\xbfO\xb8_\xe8\x19\x1a\xc4\xa2F\x9bJ\x14\xef6\x844\xa3\x19\xd8\x10\xe6\xe9\xee\xa1\xb70\xf1\xeb\xefu\xec@\xb1\xf84\xa1\xec%aG+}d\x9f\xad\xb7\x90.\r\x98\xae\xb0\xbf\xdd\x0b\x8f\xc7\xad\xed\tmG\xbb\x8a\xe9K|=\x13Rhv\xda\xd5b\x87\x88\xaf\x91\xc7\xd4#\x06~\x05\x99W^S\x81SSM\x985\xb8\xb4\xa3\x05\x815)\x1f\xf3\x0e\xb6\x18B,\t\x0box}\xfa\x84\xd0\x8b\x17\x81\xa1h\xd9\xe9[b5\xf4J\xc1\xe0\x8f\x82\xf1\xa2\xe9\xd9\xec\xb8c\xb9\xc0K\xa0\x1b\xeb\xee\x08Q\x13\x81\xf4\xd9\x13t\xd9\xa0\xf13\xa5\x19\x9d*\x8d\xbf\xeeYX\xd4\x03\x8e"W\xd7&\xe4\xcb\xa4s\xef\x01\xc7t\x91\x90\t\x8e\xf2\xe9Su\xe83_\x1a\x8b\t\x9c$Z\x92\xf2Q\x8b\x05H\x9cX|\xb4\x99k\xdd-,\x18\\\x8a\xe4\x9f}\x87M?\xf4\xec\x03\xc6\xc7\x14I*\xc03\xde\xc4\x9aE\xc13\xb7r\x1cf\xd8\xd8\x05\xd3!\x01\x05k\x9fI$ ?B\x8d?\x95\r\xb7\xdc\xfb+\x16\xda\x0bj|&\xb0L\xcb`\xa7[\x87\x1e\x01\x88\xf5\n\x83\x90_q\x8a \xad<\x98')
fake.md5(raw_output=False)
# '76e49957d18a5ba8e709921ae29bf97a'
fake.sha1(raw_output=False)
# '1fb2bf6075fd8393b306a981033ad2f7ff93ceda'
fake.null_boolean()
# None
fake.sha256(raw_output=False)
# '1fad501a34bdc3ba7b6bc4f61e8f8d2edaafd40105e25d5480668a484744ccfa'
fake.uuid4()
# '34b41271-fc88-ef05-7502-eeaa4883c7b1'
fake.language_code()
# u'zu'
fake.boolean(chance_of_getting_true=50)
# True
faker.providers.person
¶
fake.first_name_male_rus()
# u'Roman'
fake.prefix_male()
# u'dr'
fake.suffix_female()
# u'PhD'
fake.name_male()
# u'Mihkel Suur'
fake.first_name_rus()
# u'Aleksander'
fake.first_name()
# u'Juri'
fake.suffix_male()
# u'MSc'
fake.first_name_est()
# u'Piret'
fake.first_name_female()
# u'Reet'
fake.first_name_male()
# u'Valeri'
fake.prefix_female()
# u'prof'
fake.name()
# u'Anna Karpov'
fake.last_name_rus()
# u'Iljin'
fake.first_name_male_est()
# u'Raivo'
fake.suffix()
# u'MSc'
fake.prefix()
# u'prof'
fake.first_name_female_est()
# u'Niina'
fake.name_female()
# u'Triin Mitt'
fake.last_name_male()
# u'Safronov'
fake.first_name_female_rus()
# u'Nade\u017eda'
fake.last_name_est()
# u'Karu'
fake.last_name()
# u'Pruul'
fake.last_name_female()
# u'Laine'
faker.providers.phone_number
¶
fake.phone_number()
# u'839.167.4190x6898'
fake.msisdn()
# '3393849879393'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'216 Ploom Parkways Suite 283\nPort Martinstad, SD 01246',
# 'birthdate': datetime.date(1929, 3, 13),
# 'mail': u'toomaskasemets@hotmail.com',
# 'name': u'Margus Kasak',
# 'sex': 'M',
# 'username': u'petersonanu'}
fake.profile(fields=None, sex=None)
# { 'address': u'USNS Adamson\nFPO AA 35010-4864',
# 'birthdate': datetime.date(2015, 9, 19),
# 'blood_group': 'B+',
# 'company': u'Kallas, Raudsepp and Kolk',
# 'current_location': (Decimal('78.415083'), Decimal('-56.922889')),
# 'job': 'Engineer, electrical',
# 'mail': u'priitsulg@yahoo.com',
# 'name': u'Ants Kask',
# 'residence': u'9750 Reet Meadows\nPort Pavel, VA 18789',
# 'sex': 'M',
# 'ssn': u'49108311958',
# 'username': u'mare65',
# 'website': [ u'https://www.kirss.net/',
# u'https://kaljula.info/',
# u'http://www.romanov.com/',
# u'http://www.kaljurand.net/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# set([datetime.datetime(1983, 4, 11, 23, 59, 8), Decimal('8.76968177886E+12'), u'dbhSYbombvUlWXlIiueO', datetime.datetime(1987, 7, 12, 6, 5, 43), 1805, 4815, u'romanorav@bogdanov.biz', datetime.datetime(1986, 11, 19, 4, 13, 3)])
fake.pystr(min_chars=None, max_chars=20)
# u'owmRLOrbVjBtSrDvZXsO'
fake.pystruct(count=10, *value_types)
# ( [ u'https://www.kiil.info/index.php',
# -798.0,
# u'https://www.eller.com/blog/tag/categories/login/',
# u'niinakarro@yahoo.com',
# u'uGyvXyrOaUDUtVOanELc',
# u'lmEggAvoxMYWMVSnzbLx',
# u'QhDcKLVyYojzqyNYctrM',
# u'WeNGLkZeYDsTcCyQIArb',
# Decimal('46.8'),
# u'yEdNCFpMqXFpXKFBMMrD'],
# { u'commodi': Decimal('-63.2027213399'),
# u'excepturi': 3980,
# u'harum': datetime.datetime(1983, 8, 24, 14, 6, 39),
# u'laboriosam': u'lKlcrOfzMWrwHRnohwpe',
# u'quibusdam': 7594,
# u'sapiente': u'jegorovjulia@hotmail.com',
# u'suscipit': u'ants60@hotmail.com',
# u'totam': u'bMWXYaKKEQaSYxtvnIDv',
# u'voluptatibus': 2910,
# u'voluptatum': u'xswRhvuaLFfMwLsHGMMX'},
# { u'esse': { 0: Decimal('5.43220869033E+13'),
# 1: [ Decimal('2.682428'),
# u'UxOukIANTCDUVyDkVIMj',
# u'sMJBidcqUYDVVcsZqhkY'],
# 2: { 0: 4530,
# 1: -8974.65538,
# 2: [-113.1298780557, 3654]}},
# u'ex': { 7: u'oprDRWHMaKwvBolcFotv',
# 8: [ u'URimJwahtjiYydScUHAg',
# Decimal('4628561.0'),
# u'JquHMrFnjEDxvkNAigqK'],
# 9: { 7: u'FtaBmUOGIynevaUUzDbc',
# 8: u'JxDCOLxqkpDPfLpWSGZN',
# 9: [3686, u'AJecADIMBOQwaexxqQJm']}},
# u'fuga': { 1: datetime.datetime(2005, 10, 4, 10, 43, 13),
# 2: [ u'CceaiDSNmNjAEuKwmhze',
# -969896.419,
# u'juriilves@gmail.com'],
# 3: { 1: 5746,
# 2: 1814,
# 3: [ u'piretpalu@kurg.org',
# u'yxORMRzlAXCLaGauWYIH']}},
# u'hic': { 4: Decimal('8.77331495944E+14'),
# 5: [ u'https://www.trei.com/',
# datetime.datetime(2005, 1, 13, 14, 3, 49),
# u'eYYPgofZAQqVQxFrygfq'],
# 6: { 4: u'SOVXezIZSHpdQJheWdUU',
# 5: 5252,
# 6: [ u'GEWykojCktKZngbuFOqu',
# u'maaNPClVTbdeLfsiygkS']}},
# u'laboriosam': { 6: u'mihhail76@liiv-jakobson.com',
# 7: [ u'PpxFrTpxnCURrbHXAMsv',
# datetime.datetime(1990, 9, 24, 16, 23, 53),
# u'ufKMUTsReNoAMiihNwIL'],
# 8: { 6: u'tgULdXukwrCLJtnUgdAw',
# 7: 5490,
# 8: [ 46044695139695.0,
# datetime.datetime(1970, 4, 5, 21, 48, 47)]}},
# u'magni': { 3: -1127984796653.0,
# 4: [ u'anu21@lepik.com',
# 3365,
# Decimal('8689.86586543')],
# 5: { 3: 8099,
# 4: datetime.datetime(1992, 2, 9, 20, 57, 4),
# 5: [ datetime.datetime(1999, 7, 5, 3, 47, 45),
# datetime.datetime(1984, 5, 24, 11, 54, 20)]}},
# u'nobis': { 2: 3421,
# 3: [ datetime.datetime(2013, 12, 20, 17, 51, 14),
# u'uusQITglNTRIyNbxuNrD',
# u'laanetiiu@hotmail.com'],
# 4: { 2: datetime.datetime(1972, 1, 11, 14, 38, 2),
# 3: u'daYulLkgBRptwQlVAogo',
# 4: [ Decimal('4.14030917048E+13'),
# -35900276.3040299]}},
# u'quod': { 9: u'vahterjaan@yahoo.com',
# 10: [ 7882,
# Decimal('13479948.641'),
# u'TaXNKnXDCNwxaBoQcekF'],
# 11: { 9: Decimal('5.23361788326E+13'),
# 10: u'bFqstCeevHjqrEgVuccZ',
# 11: [ u'lGdrViDqMcfFVEJFBeYG',
# u'cXPfWHbKKkpYQhoBiNmL']}},
# u'tenetur': { 5: datetime.datetime(2016, 10, 7, 12, 1, 33),
# 6: [ u'YKjNhmpDCYIfBicNzSsw',
# u'wJjvbsnjOxNgSqJHZPbn',
# u'https://lauri.net/homepage/'],
# 7: { 5: u'basYMapYOHKVbIOyKjTo',
# 6: 8091,
# 7: [ datetime.datetime(2012, 1, 26, 0, 13, 36),
# 7973]}},
# u'voluptas': { 8: u'MUrVjTrQwWgVtkAIDxPX',
# 9: [ Decimal('-3.03124833773E+13'),
# u'MltzuKLGGKgOrDmGHQSs',
# u'vainopriit@yahoo.com'],
# 10: { 8: u'ZzGCjcrdTxUDoxhEicnV',
# 9: u'lKFhRHWAihMehJvTOKJz',
# 10: [ datetime.datetime(1979, 12, 4, 4, 4, 31),
# u'http://www.nurm-miller.info/']}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# 7657.8
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('-6859546.4757')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ u'nazarovvaleri@kasak.com',
# u'yyaLZCmpRChakGMPamHr',
# -219222.0,
# 50736.524,
# u'lJBoKfcLZmjSBUBZMbvU',
# 8129,
# u'WwysHveziNIauFWoIAIw']
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( 7362,
# datetime.datetime(2006, 10, 27, 19, 56, 54),
# 4222,
# u'ClctppMuyvyPQGqRXmJo',
# 3908935102.0,
# u'VVIrIQcvPNpkmKMFTSqp',
# Decimal('33.5949274794'),
# -7258555.3848677)
fake.pybool()
# False
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([9569, datetime.datetime(1979, 9, 6, 14, 45, 20), 7119446.9, u'aLYTunGEzpIvKFRdVJrI', u'OoogDeiKShCjAGDOPzhH', u'http://www.kazakov.com/tag/blog/homepage.html', 8861, 2161, u'gXmnTwyFgDhRpRtknBOv', datetime.datetime(1989, 9, 9, 16, 41, 52), u'https://www.drozdov.net/tag/tag/about/'])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'cupiditate': u'zaasmae@gmail.com',
# u'illo': u'EJEkOCGJtDLcdETRmPZy',
# u'libero': u'mrumjantsev@pold.com',
# u'magnam': 4435,
# u'minima': u'PVXDLfbXtaAeGLhJnSdH',
# u'optio': u'MgWZTPnfUpLkQKKzbAoh',
# u'quasi': Decimal('-34688882.0'),
# u'quis': datetime.datetime(2013, 7, 3, 17, 51, 41),
# u'rem': 4101,
# u'repudiandae': 4495,
# u'sunt': u'eppyoSRhRSrAfXSdaRyh',
# u'vero': u'irina43@mandel.biz'}
fake.pyint()
# 8691
faker.providers.ssn
¶
fake.ssn(min_age=16, max_age=90)
# u'48403161876'
faker.providers.user_agent
¶
fake.mac_processor()
# u'U; PPC'
fake.firefox()
# u'Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_6_6; rv:1.9.3.20) Gecko/2016-04-26 02:22:35 Firefox/6.0'
fake.linux_platform_token()
# u'X11; Linux x86_64'
fake.opera()
# u'Opera/9.90.(X11; Linux i686; ko-KR) Presto/2.9.169 Version/11.00'
fake.windows_platform_token()
# u'Windows NT 6.1'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 6.0; Windows 98; Trident/4.1)'
fake.user_agent()
# u'Mozilla/5.0 (compatible; MSIE 7.0; Windows CE; Trident/3.0)'
fake.linux_processor()
# u'x86_64'
fake.chrome(version_from=13, version_to=63, build_from=800, build_to=899)
# u'Mozilla/5.0 (Windows NT 4.0) AppleWebKit/5340 (KHTML, like Gecko) Chrome/63.0.881.0 Safari/5340'
fake.mac_platform_token()
# u'Macintosh; Intel Mac OS X 10_11_9'
fake.safari()
# u'Mozilla/5.0 (iPod; U; CPU iPhone OS 4_3 like Mac OS X; mt-MT) AppleWebKit/535.34.3 (KHTML, like Gecko) Version/4.0.5 Mobile/8B115 Safari/6535.34.3'