Language es_MX¶
faker.providers.address
¶
fake.city_prefix()
# 'Norte'
fake.building_number()
# '21942'
fake.city_suffix()
# 'de la Montaña'
fake.city_adjetive()
# 'Vieja'
fake.country()
# 'Nauru'
fake.country_code(representation="alpha-2")
# 'PA'
fake.postcode()
# '16655'
fake.secondary_address()
# '241 Interior 894'
fake.street_prefix()
# 'Periférico'
fake.address()
# 'Calzada Sosa 395 Edif. 968 , Depto. 433\nNueva Somalia, TLAX 25996-6266'
fake.street_address()
# 'Callejón Guinea Ecuatorial 584 816'
fake.state_abbr()
# 'HGO'
fake.street_suffix()
# 'Street'
fake.street_name()
# 'Circuito Jalisco'
fake.state()
# 'Baja California Sur'
fake.city()
# 'San Abel de la Montaña'
faker.providers.automotive
¶
fake.license_plate()
# '696-MGO'
faker.providers.bank
¶
fake.iban()
# 'GB61QCZB1624568150300'
fake.bank_country()
# 'GB'
fake.bban()
# 'EGUJ8206569230595'
faker.providers.barcode
¶
fake.ean(length=13)
# '5222255807035'
fake.ean13()
# '2606421488083'
fake.ean8()
# '48178938'
faker.providers.color
¶
fake.safe_color_name()
# 'aqua'
fake.rgb_css_color()
# 'rgb(255,41,144)'
fake.rgb_color()
# '160,45,161'
fake.safe_hex_color()
# '#aa9900'
fake.color_name()
# 'LemonChiffon'
fake.hex_color()
# '#723d1e'
faker.providers.company
¶
fake.company_prefix()
# 'Corporacin'
fake.catch_phrase()
# 'conjunto radical recontextualizado'
fake.bs()
# 'transiciona ancho de banda dinámicas'
fake.company_suffix()
# 'S.A. de C.V.'
fake.company()
# 'Corporacin Marroquín-Rivera'
faker.providers.credit_card
¶
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '07/24'
fake.credit_card_number(card_type=None)
# '213176011292175'
fake.credit_card_security_code(card_type=None)
# '369'
fake.credit_card_provider(card_type=None)
# 'VISA 16 digit'
fake.credit_card_full(card_type=None)
# 'Maestro\nPatricio Laureano\n676295248253 03/23\nCVV: 339\n'
faker.providers.currency
¶
fake.currency()
# ('MXN', 'Mexican peso')
fake.cryptocurrency_code()
# 'IOTA'
fake.currency_name()
# 'Tanzanian shilling'
fake.currency_code()
# 'MXN'
fake.cryptocurrency()
# ('NEM', 'XEM')
fake.cryptocurrency_name()
# 'Zcash'
faker.providers.date_time
¶
fake.date_between_dates(date_start=None, date_end=None)
# datetime.date(2019, 1, 22)
fake.day_of_week()
# 'Friday'
fake.century()
# 'XIII'
fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(1381, 5, 2, 10, 38, 3)
fake.month()
# '03'
fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2019, 1, 17)
fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2010, 12, 4)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2018, 12, 25, 13, 25, 28)
fake.date_this_month(before_today=True, after_today=False)
# datetime.date(2019, 1, 9)
fake.date_between(start_date="-30y", end_date="today")
# datetime.date(1997, 11, 13)
fake.year()
# '2013'
fake.am_pm()
# 'PM'
fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2013, 2, 12)
fake.iso8601(tzinfo=None, end_datetime=None)
# '2004-07-09T18:44:34'
fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(1987, 5, 24, 14, 51, 45)
fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '1981-05-02'
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0x7efd97b933b8>
fake.date_time_between(start_date="-30y", end_date="now", tzinfo=None)
# datetime.datetime(2019, 1, 7, 6, 16, 34)
fake.timezone()
# 'Africa/Tunis'
fake.time_object(end_datetime=None)
# datetime.time(4, 24, 55)
fake.time(pattern="%H:%M:%S", end_datetime=None)
# '14:46:53'
fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(1978, 9, 26)
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2014, 9, 28, 18, 37, 51)
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2019, 1, 22, 17, 7, 53)
fake.day_of_month()
# '14'
fake.unix_time(end_datetime=None, start_datetime=None)
# 1153169553
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2019, 2, 7)
fake.date_object(end_datetime=None)
# datetime.date(2003, 6, 2)
fake.month_name()
# 'November'
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2002, 5, 9, 13, 30, 33)
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2019, 1, 6, 18, 13, 2)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2019, 1, 1)
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2019, 2, 19, 8, 10)
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2019, 1, 3, 11, 19, 40)
fake.time_delta(end_datetime=None)
# datetime.timedelta(14689, 78415)
faker.providers.file
¶
fake.file_extension(category=None)
# 'jpg'
fake.file_path(depth=1, category=None, extension=None)
# '/illum/minima.html'
fake.unix_partition(prefix=None)
# '/dev/vdz2'
fake.mime_type(category=None)
# 'text/javascript'
fake.unix_device(prefix=None)
# '/dev/xvdk'
fake.file_name(category=None, extension=None)
# 'voluptates.csv'
faker.providers.geo
¶
fake.longitude()
# Decimal('92.422552')
fake.latitude()
# Decimal('29.6877625')
fake.latlng()
# (Decimal('-30.9393715'), Decimal('-33.974703'))
fake.local_latlng(country_code="US", coords_only=False)
# ('38.58894', '-89.99038', 'Fairview Heights', 'US', 'America/Chicago')
fake.location_on_land(coords_only=False)
# ('4.94273', '15.87735', 'Carnot', 'CF', 'Africa/Bangui')
fake.coordinate(center=None, radius=0.001)
# Decimal('56.606146')
faker.providers.internet
¶
fake.ipv4_network_class()
# 'a'
fake.ascii_safe_email(*args, **kwargs)
# 'elviagalvez@example.org'
fake.safe_email(*args, **kwargs)
# 'besparza@example.org'
fake.url(schemes=None)
# 'http://toro-arevalo.com/'
fake.image_url(width=None, height=None)
# 'https://dummyimage.com/247x635'
fake.email(*args, **kwargs)
# 'emilio68@yahoo.com'
fake.ascii_company_email(*args, **kwargs)
# 'cmuniz@toro.com'
fake.uri()
# 'https://despacho.com/category/'
fake.company_email(*args, **kwargs)
# 'villalpandoesparta@gonzales-escobedo.net'
fake.ascii_email(*args, **kwargs)
# 'concepcion76@hotmail.com'
fake.mac_address()
# '68:35:2e:5c:d0:a8'
fake.user_name(*args, **kwargs)
# 'abarrios'
fake.domain_word(*args, **kwargs)
# 'benavidez'
fake.free_email_domain(*args, **kwargs)
# 'yahoo.com'
fake.ipv4_public(network=False, address_class=None)
# '203.6.168.0'
fake.ascii_free_email(*args, **kwargs)
# 'gperes@hotmail.com'
fake.ipv4_private(network=False, address_class=None)
# '172.27.142.235'
fake.ipv4(network=False, address_class=None, private=None)
# '192.88.97.167'
fake.uri_page()
# 'faq'
fake.uri_path(deep=None)
# 'wp-content/tag/main'
fake.slug(*args, **kwargs)
# 'harum-veniam'
fake.domain_name(*args, **kwargs)
# 'escalante.com'
fake.uri_extension()
# '.htm'
fake.hostname(*args, **kwargs)
# 'db-61.balderas-valdez.com'
fake.free_email(*args, **kwargs)
# 'garanda@gmail.com'
fake.tld()
# 'com'
fake.ipv6(network=False)
# '9450:2785:acc1:5b8a:3971:15b4:95c7:1a12'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# '0-8019-3168-1'
fake.isbn13(separator="-")
# '978-0-458-92535-3'
faker.providers.job
¶
fake.job()
# 'Automotive engineer'
faker.providers.lorem
¶
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# 'Corrupti et ratione rerum facilis iusto delectus quae.'
fake.words(nb=3, ext_word_list=None, unique=False)
# ['fuga', 'sequi', 'consequatur']
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# ('Quidem dolorem nihil tempore enim temporibus. Possimus repellat blanditiis '
# 'vel doloremque vitae repellendus. Et nemo libero excepturi incidunt '
# 'possimus.')
fake.word(ext_word_list=None)
# 'nihil'
fake.text(max_nb_chars=200, ext_word_list=None)
# ('Facilis dolore iure iusto. Ipsa rem placeat magnam esse. Suscipit sapiente a '
# 'cumque consectetur itaque distinctio voluptatibus.')
fake.paragraphs(nb=3, ext_word_list=None)
# [ 'Unde quis nulla ducimus. Natus mollitia sed dignissimos illo eius.',
# 'Similique perferendis ex dolorum cupiditate quam. Animi vitae facere. '
# 'Quos nemo magni occaecati velit veritatis aperiam veniam.',
# 'Minima soluta dolorum perferendis. Nisi deserunt quas.']
fake.sentences(nb=3, ext_word_list=None)
# [ 'Perferendis ipsam commodi omnis vitae quia deleniti unde.',
# 'Nobis esse occaecati ullam ex.',
# 'Cupiditate ducimus sequi laboriosam repellat deserunt dicta.']
faker.providers.misc
¶
fake.sha1(raw_output=False)
# '55c74796c6cb600c9855aa90f2a41e395f30969f'
fake.null_boolean()
# False
fake.language_code()
# 'bem'
fake.locale()
# 'bn_BD'
fake.uuid4(cast_to=<class 'str'>)
# 'd4b8cdd8-14ac-4465-b458-614b7bf56fef'
fake.md5(raw_output=False)
# 'acf96e01cc3fd1496fb37fb40fc7dd36'
fake.binary(length=1048576)
# (b'[f\xa4\x11\x18[cWN\xc6:\xb4\xc7\x1a$\xf8\xe0\xc9\x83\xbfD>\xf6\xdf'
# b'v\xf5\xba\xa5w\x8e\x91W\x1a\n\xb9R\x00\xcc\x0b\xa39\xc5k\xcaq%\xce\xf7'
# b'\x0e2/Mk\x16\x04\x1b7\x05\xcb\x05(\xa8\xf1\xe59H\xe5Lb\xf7\x85\xad\rrR\x9b'
# b'H\xcf\xc5\x10\xd6\xea\xb9\xac{N\x85{\x937\x8b\xe8k\xbbw\x14\x8a\xad\x9f\xf6'
# b"\xe7\x92l\xc5\x18d\xad\xaa\xa0\x0f\xe75\x06\xde>nR\xc7'VNF\x85\x04Iu\xf6]"
# b'=\x84\xfe\xfc\xce\xe2\xc9\xa1\xec\x16P#[c&\xc68j\x1f\xc9\xcaM$\xec -.\xed'
# b'\xdd\x96\x8e\xded\x1b\xf8\xfd\xda4\xbf\x8a@\xd8\xaf\xc4\xa4\xf4W\x08'
# b'\xe1\xf4\x9a\xf0L\xf7\xbeWG\xb3s/\xb8z\xd51L_\xd3\xa4\xfc\xedX`\x9c|\x181'
# b'\xcd\x94\x99N\x12\xcc\xd0\xc0\x1d\xce\xd0\xce\xca\xa8\xd4\xa7u \x1fe$?@\xc2'
# b',\x14\x89o\xdb1;\xd5\\C\x89\x8f\xc9\xa54\xd1\xe7af\xbdB\xf5^6\xd7jc\x8a'
# b"\x00%\x81C\xb9\xd6\x85rQjt\x08\xbc>\xc4\x88u>?\xbc\x08\xcf='\xe5\x12\xba:"
# b'<WI#\x08!S\xad\xd0\xf6\x03\xear\x19lvpU\xd8E\xf7\x99\xd5|\xa8T~Y'
# b'\xfb\x06\xe3[\xb8\xbeR\xac\xca\x86\x85\x81\xb2\x00#\xd8kF@\xc7'
# b'\xdf\xda\x8c\x02G\n:\xf3T\xb3\xca\xfdq\x885X\x89\x9f>1f\x85\xfe\xee'
# b']\xfb\x98\x98%\xcf\xc1T\x13\xc1\xaf\xb5\xa7-m\xcf_\xc4\xf7\x15\x0bT:S'
# b'\xd8E\xaf\x00*\xe6\xd6\x11\x00\xe5d\xe8\x82\xd7\xbc\xb0\x9b\x979\xa3'
# b'\x02\x82:\xb1\xaet\xab+\xcbqw\xf4\xa1~\x87=\x15\xe7\x1d\x10;\x1f:\xe2'
# b'G\xdc\xba=G\xd1\x88\xec$\xc9#\xc6\x9b\xaeJ;\xa7\xfaJ\xb6\x90w]D]i}`'
# b'\xb2\x04U\x19<\x16\x8c\xd7\x06\xf4\xb1\xbf\x9b\xb7\x9f\xab\x01\xc3\x86\xcb'
# b'\x15z\xe6H\xc5\x90\xd6\x12\x1f\xac*\xb7Og\x1b\x97\x06\x89\xcb\xfe'
# b'P\x92\xa3\x86\xc1G\x04\x98\x02\r\x92\xc3\x07\x0b\xc7\xf1\xb0=\x1a\x86'
# b"\x0c\xecl*j\xdc\xae\xba\x7f\xe1O\xafS\x18(~\xdb:'\x92\x88\xf1\xc1\xa3"
# b"\x89]\x14C\x13\x1e=N\xb8\xdb\xad\xdb]'\xaf\x86Mj/E\xa3\xe2C\x90\x07W\x15\xc0"
# b'\x19Q\x17\xdf\xa3P\x90\x1b\x8aAgV\x06jX,\xd0\xa5m\xfe\xebM0\x10\xf3\xf9\xad:'
# b'A\nZ&Pb\xdb\xaf\x0bd\xa3x\xe2\x98\xd5\x92\xd3<\x8f\xb9\x94OQ\xc5\xbb\x88n|'
# b'\x8e\x9fy\xb1\x97\xdc\xf1\xca\xb9\xa8\xc1m}\x9b\x85?M\xce\x02L\x89\x9c\x83|'
# b',c\xc1\xbfo,\x13\x18\x80\xc0\xfa\x9b\xf8P\x7f\x1e+\xe6\xd6\x8e\xe2\xe4h\x17'
# b'\x8dZ\x0f}W\xa5.\x01%:\xd2p\n\xa02\xde\xfd\xeaM}_+\xe2\xdd.\x95@\x84'
# b'K@\xeb\xd3a\xd5g\xf0>}s\xad\xc6>\xe8H3\x0c\x18\xe3B0R\xc7\x9d$\xa8\xee'
# b'\x8e\xcd\x88<]\xa8\xc0\xebd\xf3f\xed?\x9e\xddm\xeas\xd2*fK\x15L'
# b'\xef\xbd\xe0\xd0\xcd\xf23\xff\xd5\x91gg|Y=Q\xcc\x8a\x88z*\xbe\x1c\xc1'
# b'\xd8\x04\x89\x85\xab\xde\xfc:;T\xfbk\xf9\xbd\x1c\xba)\xa6\xb5\xd7'
# b'\xaf\x86\xb2\t\xf2\xfa\x0b\xe5\xf3\xd1K\xe6\xfa\xe3\xa9!"h\x95H'
# b'\xf8\xfa\r\x9a$\x97\x14\xf6\x17;(\x11\xbb\xc1\x103\xda\xf0\xf2\xd4'
# b'p\x85\x8d\xd1\xc8e5\xeb\xec*\x1b\xfd\x8dW\xd5\x876\xfb\x9a\xa4\xde\xa6\x05S'
# b'y\xe0\x15\xa32\xc0\xb6Wgx_\\\xb1\xa5\x12w\x97\xcfq\x98\x82\xe6\x0c\xc9'
# b'\x15\xb4\xca\x89Sg\xdfV/\xc2\xcb\x9eo\xb7\xee\t\x84\xc5\x19H\xc0\x96\x81\xac'
# b'\x91\xb7cAgdb\xd4\xdbz\x17x\x93K\xc4\x93\x91\x07H\x98\xa3\xc9#1hK\x0cp'
# b'\xff\xca\x97\xa9\xb6E\rA\x17h+a\x7f\xb9\xee\x00\x08\x00\xab\xef\x9cs\xe4@'
# b"\xdb'\x0f\xa4%X\xeb:\xbb\x92t\xfc\xee_.v\x89f\x99S\xf3\xab\x1e_GHp\x94"
# b'$\x19a\x00u\xdf\x15\xb7A]\xe0\xa1\xdd\xab\x02j\xa8V\xf5\xfc9\xbd\x0c\xa4'
# b'q(\x06\x0b\x17O\x96\xacZV\xba!\xe3\x1035')
fake.sha256(raw_output=False)
# 'd3de85053c3a038ce82e3e9029473f4c9e2517a92a98a7c187058dce6d4994a1'
fake.boolean(chance_of_getting_true=50)
# False
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# '(l#ZqF4yF7'
faker.providers.person
¶
fake.last_name_female()
# 'Alvarado'
fake.suffix_male()
# ''
fake.prefix()
# 'Sr(a).'
fake.suffix()
# ''
fake.name()
# 'Virginia Granados Santana'
fake.prefix_female()
# 'Mtro.'
fake.last_name()
# 'Quintana'
fake.first_name()
# 'Samuel'
fake.first_name_male()
# 'Vicente'
fake.name_male()
# 'Sessa Wilfrido Rascón Barreto'
fake.first_name_female()
# 'Sonia'
fake.prefix_male()
# 'Sr(a).'
fake.last_name_male()
# 'Porras'
fake.name_female()
# 'Clara Meléndez'
fake.suffix_female()
# ''
faker.providers.phone_number
¶
fake.msisdn()
# '6607799987701'
fake.phone_number()
# '(707)304-4822x92885'
faker.providers.profile
¶
fake.profile(fields=None, sex=None)
# { 'address': 'Callejón Norte Arevalo 613 834\nVieja Portugal, YUC 32303',
# 'birthdate': datetime.date(1967, 1, 29),
# 'blood_group': 'O-',
# 'company': 'Romo y Piña e Hijos',
# 'current_location': (Decimal('-78.882978'), Decimal('38.945203')),
# 'job': 'Artist',
# 'mail': 'lgollum@hotmail.com',
# 'name': 'Ing. Eugenio Elizondo',
# 'residence': 'Periférico Hidalgo 657 338\nNueva Belice, YUC 85138',
# 'sex': 'F',
# 'ssn': '428-93-6845',
# 'username': 'josefina52',
# 'website': ['https://pantoja.org/']}
fake.simple_profile(sex=None)
# { 'address': 'Andador Querétaro 076 793\nVieja Ghana, GTO 27416-7035',
# 'birthdate': datetime.date(1957, 6, 20),
# 'mail': 'pantojaesther@yahoo.com',
# 'name': 'Rubén Alejandra Arellano',
# 'sex': 'M',
# 'username': 'marisol91'}
faker.providers.python
¶
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { 'ad': 'zoOOrbUxJRYmIgKUbSUc',
# 'dolor': 35029.57017,
# 'facere': datetime.datetime(1981, 7, 14, 11, 57, 14),
# 'harum': 'porfiriolozano@grupo.info',
# 'quisquam': 9872,
# 'voluptas': 'gGngSlnyZtwhERrIGLdw'}
fake.pybool()
# False
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ 'fWaJvIlFUYhHWqyLRnNH',
# 1150,
# 6084,
# 947,
# 'BhvuxsHeaEsUIZgrNgsI',
# 36451.0,
# 7112,
# 'QBVdrioEcMgfMdsbPbaa']
fake.pystruct(count=10, *value_types)
# ( [ 2810,
# Decimal('-5.725010624'),
# 'eSOVvHxmjgJRwtoEeaVA',
# 9302,
# 'soledadsalcedo@villasenor-gomez.com',
# 'http://industrias.net/about/',
# 4075,
# datetime.datetime(2009, 12, 20, 13, 8, 36),
# Decimal('-575702286709.8'),
# 'JeTVBsRKBYHUgbeZlXXd'],
# { 'ad': 'francisca11@arias.biz',
# 'beatae': Decimal('900706101670464.0'),
# 'exercitationem': 'http://www.carranza-sanches.net/index.html',
# 'ipsum': 'https://granado-tejeda.com/',
# 'nobis': 'rMQUBAVEsSPagCgilPAC',
# 'occaecati': 'WyKWbcYlDAhmDnmfINCn',
# 'officia': 'cqbdDZFZenDXAAUbvVTC',
# 'quas': 'http://club.org/',
# 'ullam': 9681},
# { 'commodi': { 4: 3871,
# 5: [ Decimal('4.56709075'),
# 'https://olivas.net/index/',
# 'YmMbArLHEcFzWdbjdYFp'],
# 6: { 4: datetime.datetime(2001, 12, 22, 18, 13, 46),
# 5: 2749,
# 6: [Decimal('-594177226575.24'), 1469]}},
# 'eos': { 8: 5742,
# 9: [8910, 'kHLCcjulFmIWlNNfepLt', 'fxzuYiXrcrEaXcKiXnwy'],
# 10: { 8: -941.36948949,
# 9: Decimal('-202806.8'),
# 10: [Decimal('0.7736286'), 'UmBkkgFcfeiqqVdWkXOP']}},
# 'illo': { 9: Decimal('-33893.277183'),
# 10: [ datetime.datetime(2018, 4, 12, 0, 49, 48),
# 'http://despacho.net/',
# 'aurelio37@yahoo.com'],
# 11: { 9: 'https://quezada.info/post/',
# 10: datetime.datetime(1974, 8, 3, 8, 58, 58),
# 11: ['tcmbPnvbWaChRSRzwNpu', -676595848320.491]}},
# 'itaque': { 3: 'rNPqGwqoZCVJWiwYVBIo',
# 4: [ 'FiTNewjDYZJqtLPtXxLZ',
# 'kbravo@lozano.com',
# 'https://www.corporacin.net/tag/search/categories/category.php'],
# 5: { 3: 71619.7,
# 4: 'QjIQBTtIMKelHnsfesVA',
# 5: [ 'SoxCoNwNOjECaJYqRueH',
# 'VSIZMqmclqnkHMthyXIW']}},
# 'nam': { 0: 'ZqKriWKKjcgiZKwpoSpD',
# 1: [ 'xULVMrVtpMrVdfvjVkjP',
# 793465.1961109,
# 'aurelio78@gmail.com'],
# 2: { 0: -86614757062.2,
# 1: 'cebvACjfCDBBJlIzzZpc',
# 2: ['dijbkLNYKWloopQFSnWX', 'BzBMoPnlixtGQnNRzZJi']}},
# 'nemo': { 1: 'mshJasXMAajHtBnSjPWM',
# 2: ['jojeda@saldivar.info', 10256.8150401, 9842],
# 3: { 1: 8181,
# 2: Decimal('-1995224261.934'),
# 3: [7949, 'QIhuFJKQgViVTIGJmGZf']}},
# 'quam': { 7: 'XgPAbMCRykIOsddhETEm',
# 8: [ 'HqbMJsUdUWAfGESKMpAS',
# datetime.datetime(1985, 6, 3, 7, 35, 52),
# 5101],
# 9: { 7: 'tplUvcTafQGRiLYtsssS',
# 8: 'https://industrias.org/index/',
# 9: ['rosa10@carmona.com', 'VEXNObYragzpCJJvDEhw']}},
# 'recusandae': { 6: 'sXkWYGpFNZlhzBAfVLEB',
# 7: [ 'mbtqqdSlFBlMZbvWnFrJ',
# Decimal('-312.198086'),
# 'UWhgBkitktMZGmCjMnWv'],
# 8: { 6: 'http://www.rosado-rodarte.info/',
# 7: -54759.847,
# 8: [ 'AMUOWjRUZDPoTNHgXfHA',
# 'cpabon@gmail.com']}},
# 'repellendus': { 2: 'ZleDcajkaAGoYQZQIxkw',
# 3: [3467602144.3799, 'soteloamanda@grupo.com', 7514],
# 4: { 2: 9125,
# 3: Decimal('179.4060209763'),
# 4: [ Decimal('-70542356208539.5'),
# datetime.datetime(1981, 11, 25, 14, 31, 23)]}},
# 'sequi': { 5: 5584,
# 6: ['mdgqLLvllgdaLLfqWBhE', 7970, 'PHGXLXuJAmAcjGGCAzIW'],
# 7: { 5: 'ktoXOBSCiQCGCKkqEdng',
# 6: 'xwEeakmecewmnzLgEohB',
# 7: [ 'dYJMuEIzZxpGIhAnoJbI',
# 'FSOIrZVcOHdiRKQIoHNW']}}})
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# {Decimal('6.540148'), 'https://mata-pantoja.net/terms/', 'tWNMBRcnnNChyvwDQgfU', 'http://www.delgado.info/', Decimal('-33003201832314.2'), 'mauriciopantoja@grupo.com', 2999, 'EXjUlLhjxpMBwsiIbTwO', 'ledesmapaola@hotmail.com'}
fake.pystr(min_chars=None, max_chars=20)
# 'appDovVepxwozFDfdeJY'
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( 'https://www.ballesteros-porras.biz/blog/post.php',
# 9063,
# 'cPpIynPtUdlvvXleBXbX',
# 'oscar54@roldan-soto.com',
# 'rHIfXgpDjRQeIUPXXcCT',
# 'http://www.corporacin.net/',
# 'YEUrbPAvtmVRkRVWFHej',
# 9205,
# 'liliana15@industrias.com',
# 'kSwJeXbenbweoIXmgkuB',
# datetime.datetime(1983, 7, 12, 12, 8, 29))
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# 5649.3
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('-234290466453185.0')
fake.pyint()
# 5226
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# {'ELgniWUegWnCjjwnxlQI', 'tBNdlDbPFWkWCtsGyddx', 3.20177542047769, 'https://www.cervantez.com/homepage/', 9.5333873554981, 'VMTvATsStjZcsXSNCYVW', 'tBNYqZqFAbiwoovqaAIW', 'jUTOBKMrDlQjrpVxooWe', 'anamadrid@gmail.com', 'http://www.garza.com/post.php', 4669}
faker.providers.ssn
¶
fake.ssn(taxpayer_identification_number_type="SSN")
# '311-24-9130'
fake.ein()
# '93-5396493'
fake.itin()
# '974-85-2119'
faker.providers.user_agent
¶
fake.firefox()
# ('Mozilla/5.0 (X11; Linux i686; rv:1.9.6.20) Gecko/2018-10-01 08:07:47 '
# 'Firefox/3.8')
fake.safari()
# ('Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_12_4 rv:6.0; mhr-RU) '
# 'AppleWebKit/531.35.3 (KHTML, like Gecko) Version/4.0.3 Safari/531.35.3')
fake.mac_processor()
# 'U; Intel'
fake.user_agent()
# ('Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_10_6) AppleWebKit/5311 (KHTML, '
# 'like Gecko) Chrome/29.0.828.0 Safari/5311')
fake.linux_processor()
# 'x86_64'
fake.windows_platform_token()
# 'Windows 98; Win 9x 4.90'
fake.internet_explorer()
# 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 5.01; Trident/3.1)'
fake.linux_platform_token()
# 'X11; Linux x86_64'
fake.mac_platform_token()
# 'Macintosh; U; PPC Mac OS X 10_7_5'
fake.chrome(version_from=13, version_to=63, build_from=800, build_to=899)
# ('Mozilla/5.0 (Windows CE) AppleWebKit/5360 (KHTML, like Gecko) '
# 'Chrome/35.0.843.0 Safari/5360')
fake.opera()
# 'Opera/8.79.(Windows 98; Win 9x 4.90; ne-NP) Presto/2.9.175 Version/11.00'