Language es_ES¶
faker.providers.address
¶
fake.state_name()
# u'Castell\xf3n'
fake.latitude()
# Decimal('72.699161')
fake.street_name()
# u'Paseo de Natalia Pacheco'
fake.address()
# u'Ca\xf1ada Gregorio Ugarte 86\nC\xe1diz, 16074'
fake.street_address()
# u'Ronda Daniela Arjona 689'
fake.postcode()
# u'73239'
fake.country_code(representation="alpha-2")
# u'SM'
fake.longitude()
# Decimal('79.049510')
fake.country()
# u'Rep\xfablica Democr\xe1tica del Congo'
fake.secondary_address()
# u'Piso 7'
fake.street_prefix()
# u'Cuesta'
fake.street_suffix()
# u'Street'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('-139.409027')
fake.city_suffix()
# u'Ville'
fake.building_number()
# u'69'
fake.city()
# u'M\xe1laga'
fake.state()
# u'Guadalajara'
faker.providers.automotive
¶
fake.license_plate()
# u'323003'
faker.providers.bank
¶
fake.bban()
# 'MNKY1786096480399'
fake.bank_country()
# 'GB'
fake.iban()
# 'GB23LVMP4640146265988'
faker.providers.barcode
¶
fake.ean(length=13)
# u'8114865615148'
fake.ean13()
# u'2559393797007'
fake.ean8()
# u'45930997'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(150,51,22)'
fake.color_name()
# u'SteelBlue'
fake.rgb_color()
# u'183,11,89'
fake.safe_hex_color()
# u'#335500'
fake.safe_color_name()
# u'aqua'
fake.hex_color()
# u'#53f98b'
faker.providers.company
¶
fake.company()
# u'Escamilla, Riera and Rocha'
fake.company_suffix()
# u'Group'
fake.catch_phrase()
# u'Front-line solution-oriented complexity'
fake.bs()
# u'seize bleeding-edge relationships'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'687'
fake.credit_card_provider(card_type=None)
# u'VISA 13 digit'
fake.credit_card_full(card_type=None)
# u'Diners Club / Carte Blanche\nVanesa Roura\n30580216109988 11/18\nCVC: 306\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '10/25'
fake.credit_card_number(card_type=None)
# u'4995536782269809'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'ZCL'
fake.currency_code()
# 'SYP'
fake.currency_name()
# 'Guernsey pound'
fake.cryptocurrency_name()
# 'Zcash'
fake.cryptocurrency()
# ('ETC', 'Ethereum Classic')
fake.currency()
# ('JPY', 'Japanese yen')
faker.providers.date_time
¶
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2018, 9, 8, 9, 3, 56)
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0xffffaa3dc460>
fake.date_between_dates(date_start=None, date_end=None)
# datetime.date(2018, 8, 16)
fake.date_time_between(start_date="-30y", end_date="now", tzinfo=None)
# datetime.datetime(2018, 5, 14, 3, 10, 34)
fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2017, 7, 29)
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 8, 6, 12, 15, 55)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2018, 8, 10)
fake.day_of_week()
# 'Monday'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2013, 9, 21, 17, 24, 57)
fake.date_between(start_date="-30y", end_date="today")
# datetime.date(1990, 9, 12)
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2004, 10, 15, 9, 2, 6)
fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '1993-11-27'
fake.am_pm()
# 'AM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2018, 8, 16, 10, 58, 34)
fake.date_object(end_datetime=None)
# datetime.date(1985, 2, 11)
fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2018, 4, 9)
fake.iso8601(tzinfo=None, end_datetime=None)
# '1971-04-10T17:02:07'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2018, 9, 1)
fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2017, 9, 14)
fake.month()
# '07'
fake.year()
# '1973'
fake.day_of_month()
# '17'
fake.unix_time(end_datetime=None, start_datetime=None)
# 1415041005
fake.timezone()
# u'Asia/Riyadh'
fake.century()
# u'XII'
fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(1940, 12, 17)
fake.time_object(end_datetime=None)
# datetime.time(11, 30, 3)
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 6, 10, 23, 22, 4)
fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(1982, 12, 12, 23, 42, 8)
fake.time(pattern="%H:%M:%S", end_datetime=None)
# '10:30:25'
fake.date_this_month(before_today=True, after_today=False)
# datetime.date(2018, 8, 7)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2018, 8, 14, 9, 52, 2)
fake.month_name()
# 'August'
fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(870, 7, 9, 23, 1, 7)
fake.time_delta(end_datetime=None)
# datetime.timedelta(17570, 55958)
faker.providers.file
¶
fake.unix_device(prefix=None)
# u'/dev/vdc'
fake.mime_type(category=None)
# u'audio/vnd.rn-realaudio'
fake.file_path(depth=1, category=None, extension=None)
# u'/impedit/sunt.wav'
fake.unix_partition(prefix=None)
# u'/dev/vdz8'
fake.file_name(category=None, extension=None)
# u'aperiam.webm'
fake.file_extension(category=None)
# u'css'
faker.providers.internet
¶
fake.ascii_free_email(*args, **kwargs)
# 'jordasofia@gmail.com'
fake.image_url(width=None, height=None)
# u'https://placeholdit.imgix.net/~text?txtsize=55&txt=432x476&w=432&h=476'
fake.tld()
# u'org'
fake.email(*args, **kwargs)
# u'angeles91@yahoo.com'
fake.url(schemes=None)
# u'https://castro.com/'
fake.ipv4_private(network=False, address_class=None)
# '192.168.146.158'
fake.user_name(*args, **kwargs)
# u'concepcion13'
fake.uri_extension()
# u'.html'
fake.uri_page()
# u'register'
fake.free_email_domain(*args, **kwargs)
# u'yahoo.com'
fake.safe_email(*args, **kwargs)
# u'isabelcamara@example.com'
fake.ascii_email(*args, **kwargs)
# 'josefina49@hotmail.com'
fake.ipv4_network_class()
# u'c'
fake.ipv4_public(network=False, address_class=None)
# '44.50.189.77'
fake.ascii_company_email(*args, **kwargs)
# 'montserrat08@diego-manzanares.com'
fake.domain_name(*args, **kwargs)
# u'calderon.org'
fake.ipv4(network=False, address_class=None, private=None)
# '241.230.122.49'
fake.domain_word(*args, **kwargs)
# u'neira-lerma'
fake.slug(*args, **kwargs)
# u'culpa-unde-aperiam'
fake.uri_path(deep=None)
# u'search/tag/list'
fake.company_email(*args, **kwargs)
# u'alicia06@manso.biz'
fake.uri()
# u'https://www.arjona-sebastian.com/search.php'
fake.ipv6(network=False)
# 'a4fa:ff8d:86e9:cfff:454f:cc44:583b:9e5b'
fake.free_email(*args, **kwargs)
# u'plastra@gmail.com'
fake.ascii_safe_email(*args, **kwargs)
# 'francisco-joseperello@example.com'
fake.mac_address()
# u'e7:8a:40:27:c1:38'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'0-17-989366-1'
fake.isbn13(separator="-")
# u'978-0-8027-6957-2'
faker.providers.job
¶
fake.job()
# 'Runner, broadcasting/film/video'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Ea assumenda sequi reiciendis. Temporibus a aliquam laudantium atque delectus tempora necessitatibus. Eveniet laborum nulla unde perferendis.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Suscipit ducimus aliquam commodi. Ea optio voluptate accusantium. Repellendus temporibus nihil voluptatibus deserunt.',
# u'Nobis deserunt tempora accusantium sed magnam. Asperiores sit illum impedit adipisci itaque dolore unde. Nisi earum eveniet omnis animi. Rem perspiciatis iste saepe.',
# u'Sapiente odit perferendis nisi distinctio. Quos blanditiis iste eveniet voluptatibus voluptates. Harum totam officiis.']
fake.words(nb=3, ext_word_list=None)
# [u'eius', u'quae', u'animi']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Sunt nisi sed reprehenderit maiores eligendi maxime.',
# u'Sapiente laudantium quibusdam sunt.',
# u'Necessitatibus vero eaque nulla animi autem nam hic.']
fake.word(ext_word_list=None)
# u'iste'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Saepe magni fugit rem excepturi sequi nostrum. Quae ullam aperiam exercitationem distinctio recusandae consectetur voluptatibus. Nobis dolore amet mollitia.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Soluta voluptatum eius soluta.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'_G3iQmpBEl'
fake.locale()
# u'ia_FR'
fake.binary(length=1048576)
# bytearray(b'\x04IA\xd2%\xbf\x19i\x88q\x06f?\xf4\xf4\xea\xbf\x08\x06Y\xae;\xfc\x1a\x11\x06\xb8\xbc\xcb\x1f.\xca\xf1\xce\xed+\xad\xfc\xb4\x9f\x9a\'y\xfb;\xc4\nPZ&\\#\xd8\xfe\xb1\xb8\xa0\xc0\xf9\x11oM\x1fA\x04w\xdc\xd6\xc1\xf9\x9c\xf2N\xe8\xfb\xa7p\xa0_\xa9CN\x82\xcbbOUB\xcb\x1b3j`\xc7\x9a\xd1\xe3\xf8b\xb7XB\xf9N\x1e\xf02>\x98c\xe7yz\xa28\xeb\xfdw\xfc\xe6\xb9\x9b\x0e`#Y\xa8|\xcb\xaa\xd5\x99w\x08\xb4\x8b$\xb7\x9d\xd9\xfe5\x7f^\xfa\x01\xa1\xc6\x9e\xc6\xe5b\xfd\x11\xed<\x93\xb3N\x91\xc6\x82\xdc|\x04\x16\xd6^\xe1n\xef\x9d\xa0c\xeb.\xd3\x9f\xbc\x05OL\xff\xc7\x9e\x9f8\xec\x19\xc9\xe9\x8f\xc7\xa8t\xcc\xc0\xf7\xcd\xeb\xf5\xb1\x86\xb8\x83\x9e%\x1f)\xe4E\xac$\xb9\x85\xa74z4\xc5\x90\x0b\xf5L\xe7\x11I\x8f&\xdc\x167J\x96&\xdfK\x1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\x86B\xa3\xaex\xc69`\xf0')
fake.md5(raw_output=False)
# '51df4c9dc8f6366e4f63a2e6dbd4e265'
fake.sha1(raw_output=False)
# 'b1548b1cb091c83e06a1da47c1ed932d39c90e56'
fake.null_boolean()
# None
fake.sha256(raw_output=False)
# '641410801bc7b39ebd4b6920c926a0b59cb1b09d1243bc237678d67212c25275'
fake.uuid4()
# 'bd80b40f-d17f-cf52-e1aa-cec9df4fa29e'
fake.language_code()
# u'ber'
fake.boolean(chance_of_getting_true=50)
# False
faker.providers.person
¶
fake.last_name_male()
# u'Arnal'
fake.name_female()
# u'Victoria Revilla Poza'
fake.prefix_male()
# u'del'
fake.prefix()
# u'del'
fake.name()
# u'Ramon Rosales Quiroga'
fake.suffix_female()
# u''
fake.name_male()
# u'Carlos Anglada'
fake.first_name()
# u'Isabel'
fake.suffix_male()
# u''
fake.suffix()
# u''
fake.first_name_male()
# u'Carlos'
fake.first_name_female()
# u'Yolanda'
fake.last_name_female()
# u'S\xe1enz'
fake.last_name()
# u'Rosales'
fake.prefix_female()
# u'de'
faker.providers.phone_number
¶
fake.phone_number()
# u'+34 632379604'
fake.msisdn()
# '7648336929472'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'Via Laura C\xe1novas 37 Piso 7 \nLe\xf3n, 39607',
# 'birthdate': datetime.date(1985, 12, 17),
# 'mail': u'amparougarte@yahoo.com',
# 'name': u'Virginia Casta\xf1eda Maestre',
# 'sex': 'F',
# 'username': u'domingo63'}
fake.profile(fields=None, sex=None)
# { 'address': u'Alameda Cristian Adadia 3\nSalamanca, 07881',
# 'birthdate': datetime.date(1992, 9, 3),
# 'blood_group': 'B-',
# 'company': u'Torralba-Espa\xf1a',
# 'current_location': (Decimal('38.310134'), Decimal('71.173551')),
# 'job': 'Drilling engineer',
# 'mail': u'palausandra@gmail.com',
# 'name': u'Alejandra Luisa Higueras Larrea',
# 'residence': u'Ca\xf1ada Tom\xe1s Cabo 885 Apt. 34 \nM\xe1laga, 92118',
# 'sex': 'F',
# 'ssn': u'725-29-0937',
# 'username': u'igargallo',
# 'website': [ u'https://www.pera-barba.biz/',
# u'https://www.cruz-llado.org/',
# u'http://www.donaire.com/',
# u'http://www.azorin.com/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# ( u'AptiqIWzOCtxXHHIVNpi',
# 8004,
# u'https://cifuentes-andres.com/tag/login/',
# 910,
# u'rcal@yahoo.com',
# 303579928.0,
# 8125,
# datetime.datetime(2003, 4, 29, 8, 33, 21))
fake.pystr(min_chars=None, max_chars=20)
# u'DMVGbJgMghxZWQrixEHD'
fake.pystruct(count=10, *value_types)
# ( [ u'sCsFKKXatviSIAAsKKQK',
# 6798,
# 195,
# u'iker53@nebot.com',
# 90,
# u'IHikEyOxqvgtqIinVbGO',
# u'xhklBelNxYHzJZsVPyKG',
# u'CwXwefDBuNybToxGQfNj',
# Decimal('-94049207.9186'),
# u'vGkOmshRPpEhDzDshIqY'],
# { u'architecto': u'eIhsbtKyhciKVWqXGTpP',
# u'aut': u'guillermo32@aragon-marmol.com',
# u'corrupti': 4156,
# u'laborum': 8862,
# u'nesciunt': u'SSufNeLJmFEvvAuBKiGn',
# u'quae': u'lillomaria@barcelo.org',
# u'sapiente': u'https://www.escamilla.biz/',
# u'sed': u'hsLmJvbAWBNwgaAjrfke',
# u'tempore': datetime.datetime(2008, 11, 14, 19, 10, 53),
# u'voluptatum': 7267},
# { u'beatae': { 4: u'WDpYSDUfSHHgdqngtGGL',
# 5: [ u'cvSCBCnvAQPqoTPVeUFv',
# 6245,
# u'BKUXijveRaMMBVOpfSrc'],
# 6: { 4: u'jDMsqoASUlYCfHrGcWCq',
# 5: u'WYICghxWWChkYJuzQwGW',
# 6: [ u'cQdeZIkgqCDnAZRPQkBL',
# datetime.datetime(2013, 5, 28, 23, 57, 10)]}},
# u'cupiditate': { 0: 7222,
# 1: [ -7182957675213.3,
# u'cqGOgxWFBPBPCuIDDZbH',
# u'https://www.guardia-arranz.net/search/'],
# 2: { 0: 5584,
# 1: u'http://www.quero-mari.com/',
# 2: [ u'IJGFxEdjSBzxNVyIFyiB',
# u'xPSDtOvACPhMBsbrzHTt']}},
# u'modi': { 3: datetime.datetime(1979, 3, 28, 15, 49, 34),
# 4: [ u'http://www.ferrando-ochoa.com/home.asp',
# u'pablo04@yahoo.com',
# 7070],
# 5: { 3: 8629,
# 4: u'dbarrio@yahoo.com',
# 5: [u'TpNApBfhObARabUzESPK', 7174]}},
# u'nulla': { 1: u'https://torre.org/tags/list/tag/register.php',
# 2: [ u'http://www.estevez.com/post.jsp',
# u'tSOCfdYpzaNACaoYYJCC',
# u'WXIZZMbvUMQJLaPbcsqn'],
# 3: { 1: Decimal('-62.55'),
# 2: u'zazcona@mas.biz',
# 3: [8942, 7525]}},
# u'odit': { 8: 7617,
# 9: [ u'http://www.figueroa.net/app/app/tags/homepage.html',
# u'nribes@saldana-muniz.com',
# 10001058.358],
# 10: { 8: -22173513.0,
# 9: datetime.datetime(1982, 2, 12, 10, 12, 41),
# 10: [ u'jGoESMAToTttbRwlBMoM',
# u'GffuaBTFFiNPKVoilAew']}},
# u'quidem': { 7: u'HVheWpQIRKWBxbXOyyjx',
# 8: [ 8869,
# 8967,
# datetime.datetime(2008, 7, 8, 11, 28, 32)],
# 9: { 7: u'sIFphSlMkjgeDgkKckUm',
# 8: u'FfCJHQdbbMjlFWtKwrbk',
# 9: [ datetime.datetime(2015, 3, 2, 21, 23, 52),
# u'nRTXlfPYoTZutyEoxsfy']}},
# u'quod': { 6: u'samuelpla@hotmail.com',
# 7: [ u'https://villa-galan.com/explore/categories/tags/category.htm',
# 7888,
# datetime.datetime(1985, 2, 11, 5, 35, 10)],
# 8: { 6: -770705193859472.0,
# 7: 7456,
# 8: [ u'http://poza-pino.com/',
# u'VtbbbwvkpXSgQJZmlyNb']}},
# u'voluptatibus': { 9: Decimal('-6635865.0'),
# 10: [ u'pilar04@hervas-cabanillas.com',
# u'LCQaSNmeEbMEqyliEwEb',
# 5190584182010.4],
# 11: { 9: u'aitor90@yahoo.com',
# 10: Decimal('-10699.337'),
# 11: [ u'cLyWgFEdqxOcVBZOPNlg',
# u'spuYLBJoRQdpbFTYaqbT']}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# 719200388127789.0
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('4071379109.57')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ u'UHXXkCLdTpbFfmSieuhy',
# 727.77,
# u'SvpfVaXjugArGrUkXmIH',
# 4389,
# u'gsTbxUmbMVgcbqkDGUav',
# u'rodriguezsofia@hotmail.com',
# u'marquezpatricia@bello.com',
# u'jRCuoHeEruYYxWWHXhQj',
# Decimal('1.43722351034E+12'),
# datetime.datetime(2005, 6, 24, 20, 54, 50)]
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( u'mXJNSAALCXgEXCJqUOJg',
# u'lPJLCFxnMipAehAoDkVV',
# u'FfLIJSpHhIYtaBqrXUIR',
# u'FaTlxkCCuuzUyqYPAhOT',
# u'ySQomtJROjMRikspZHUV',
# u'MEIbIQfGlQxMHaOuNAPM')
fake.pybool()
# True
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([Decimal('4.57795213453E+12'), u'DDMXHUYkEKIJWawRrNgJ', 767.84, Decimal('96.28458512'), u'vUGOpCxNFMztuihyPBnq', u'LYMIphoyNDoTCJQWwTHy', u'dLWklJezivxMVZmGWUqv', u'eIyXXufpVfiewmwhBjfN'])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'blanditiis': Decimal('7.31906284805E+14'),
# u'dolorem': u'BeKCLgnYHcmvqaFePYSI',
# u'doloribus': u'oFznMGqJDejiQPnNaToc',
# u'et': datetime.datetime(2007, 3, 24, 20, 39, 49),
# u'hic': Decimal('73995648916.2'),
# u'laborum': u'nsiBXCollfQmTtAGNfyS',
# u'nam': 9041,
# u'nihil': u'inmaculadasancho@alamo.com',
# u'nisi': datetime.datetime(2003, 12, 9, 11, 12, 38),
# u'perspiciatis': u'mansorafael@iriarte-villaverde.org',
# u'sapiente': 4481}
fake.pyint()
# 7354
faker.providers.ssn
¶
fake.ssn(taxpayer_identification_number_type="SSN")
# u'727-49-0126'
fake.ein()
# u'87-9219446'
fake.itin()
# u'977-97-6642'
faker.providers.user_agent
¶
fake.mac_processor()
# u'PPC'
fake.firefox()
# u'Mozilla/5.0 (X11; Linux i686; rv:1.9.7.20) Gecko/2017-02-06 04:01:20 Firefox/3.8'
fake.linux_platform_token()
# u'X11; Linux i686'
fake.opera()
# u'Opera/9.22.(Windows 98; byn-ER) Presto/2.9.163 Version/11.00'
fake.windows_platform_token()
# u'Windows 95'
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 (Macintosh; U; PPC Mac OS X 10_11_0; rv:1.9.3.20) Gecko/2012-08-03 22:25:29 Firefox/3.6.8'
fake.linux_processor()
# u'i686'
fake.chrome(version_from=13, version_to=63, build_from=800, build_to=899)
# u'Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_9_8) AppleWebKit/5352 (KHTML, like Gecko) Chrome/38.0.858.0 Safari/5352'
fake.mac_platform_token()
# u'Macintosh; Intel Mac OS X 10_12_0'
fake.safari()
# u'Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_5_6 rv:6.0; hi-IN) AppleWebKit/533.8.6 (KHTML, like Gecko) Version/4.0.3 Safari/533.8.6'