Language pt_PT¶
faker.providers.address
¶
fake.latitude()
# Decimal('8.4645615')
fake.freguesia()
# u'Vizela'
fake.address()
# u'Largo de Magalh\xe3es, 37\n2895-781 Caldas da Rainha'
fake.street_address()
# u'Avenida Patr\xedcia Jesus, 64'
fake.postcode()
# u'9640-237'
fake.country_code(representation="alpha-2")
# u'VA'
fake.longitude()
# Decimal('28.627697')
fake.country()
# u'S\xe3o Pedro e Miquelon'
fake.city_name()
# u'Beja'
fake.street_prefix()
# u'Avenida'
fake.street_suffix()
# u'Street'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('-165.547135')
fake.city_suffix()
# u'Ville'
fake.building_number()
# u'30'
fake.street_name()
# u'Av de Nunes'
fake.city()
# u'Trancoso'
fake.distrito()
# u'\xc9vora'
faker.providers.automotive
¶
fake.license_plate()
# u'UP 0512'
faker.providers.bank
¶
fake.bban()
# 'VEBT4869567554873'
fake.bank_country()
# 'GB'
fake.iban()
# 'GB58ELQT1622578334837'
faker.providers.barcode
¶
fake.ean(length=13)
# u'5957286826440'
fake.ean13()
# u'9458291676120'
fake.ean8()
# u'12051601'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(44,83,91)'
fake.color_name()
# u'MediumSlateBlue'
fake.rgb_color()
# u'25,118,26'
fake.safe_hex_color()
# u'#77dd00'
fake.safe_color_name()
# u'purple'
fake.hex_color()
# u'#80f2ef'
faker.providers.company
¶
fake.company()
# u'Baptista S/A'
fake.company_suffix()
# u'Lda.'
fake.catch_phrase()
# u'Sharable foreground time-frame'
fake.bs()
# u'streamline sexy e-services'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'482'
fake.credit_card_provider(card_type=None)
# u'Mastercard'
fake.credit_card_full(card_type=None)
# u'VISA 13 digit\nBenedita Nunes\n4268888791315 02/23\nCVC: 969\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '12/26'
fake.credit_card_number(card_type=None)
# u'213195277818325'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'WAVES'
fake.currency_code()
# 'QAR'
fake.currency_name()
# 'Renminbi'
fake.cryptocurrency_name()
# 'Ethereum Classic'
fake.cryptocurrency()
# ('XDN', 'DigitalNote')
fake.currency()
# ('VND', 'Vietnamese \xc4\x91\xe1\xbb\x93ng')
faker.providers.date_time
¶
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2018, 9, 9, 0, 17, 29)
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0xffffa9ce1230>
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(2006, 7, 29, 18, 54, 18)
fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2010, 4, 18)
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 8, 15, 15, 2, 38)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2018, 8, 1)
fake.day_of_week()
# 'Saturday'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2012, 8, 30, 20, 54, 34)
fake.date_between(start_date="-30y", end_date="today")
# datetime.date(1989, 12, 9)
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2010, 10, 1, 1, 52, 21)
fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '1995-03-28'
fake.am_pm()
# 'AM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2018, 8, 16, 10, 58, 42)
fake.date_object(end_datetime=None)
# datetime.date(2009, 4, 11)
fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2018, 1, 20)
fake.iso8601(tzinfo=None, end_datetime=None)
# '2016-06-15T12:08:50'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2018, 8, 19)
fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2010, 10, 21)
fake.month()
# '08'
fake.year()
# '2011'
fake.day_of_month()
# '20'
fake.unix_time(end_datetime=None, start_datetime=None)
# 791725613
fake.timezone()
# u'America/La_Paz'
fake.century()
# u'VIII'
fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(2017, 7, 14)
fake.time_object(end_datetime=None)
# datetime.time(18, 38, 42)
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 3, 4, 0, 43, 56)
fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(2015, 6, 7, 22, 54, 47)
fake.time(pattern="%H:%M:%S", end_datetime=None)
# '10:16:11'
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, 17, 22, 36, 52)
fake.month_name()
# 'March'
fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(1314, 9, 13, 21, 53, 40)
fake.time_delta(end_datetime=None)
# datetime.timedelta(12593, 24439)
faker.providers.file
¶
fake.unix_device(prefix=None)
# u'/dev/vdp'
fake.mime_type(category=None)
# u'message/http'
fake.file_path(depth=1, category=None, extension=None)
# u'/eius/dignissimos.avi'
fake.unix_partition(prefix=None)
# u'/dev/sdx5'
fake.file_name(category=None, extension=None)
# u'optio.mp4'
fake.file_extension(category=None)
# u'pptx'
faker.providers.internet
¶
fake.ascii_free_email(*args, **kwargs)
# 'wmoreira@hotmail.com'
fake.image_url(width=None, height=None)
# u'https://dummyimage.com/708x18'
fake.tld()
# u'pt'
fake.email(*args, **kwargs)
# u'denis18@esteves.pt'
fake.url(schemes=None)
# u'http://amorim.org/'
fake.ipv4_private(network=False, address_class=None)
# '10.100.102.212'
fake.user_name(*args, **kwargs)
# u'hloureiro'
fake.uri_extension()
# u'.asp'
fake.uri_page()
# u'register'
fake.free_email_domain(*args, **kwargs)
# u'hotmail.com'
fake.safe_email(*args, **kwargs)
# u'luisbatista@example.pt'
fake.ascii_email(*args, **kwargs)
# 'renatoferreira@reis.com'
fake.ipv4_network_class()
# u'c'
fake.ipv4_public(network=False, address_class=None)
# '198.28.139.149'
fake.ascii_company_email(*args, **kwargs)
# 'marianapinheiro@marques.com'
fake.domain_name(*args, **kwargs)
# u'branco.pt'
fake.ipv4(network=False, address_class=None, private=None)
# '34.216.237.80'
fake.domain_word(*args, **kwargs)
# u'gomes'
fake.slug(*args, **kwargs)
# u'magni-non-possimus'
fake.uri_path(deep=None)
# u'tags/category/list'
fake.company_email(*args, **kwargs)
# u'matosrita@costa.net'
fake.uri()
# u'http://azevedo.com/'
fake.ipv6(network=False)
# '7e98:1632:fcca:52f0:63f6:5508:b2db:4d57'
fake.free_email(*args, **kwargs)
# u'manuelmagalhaes@hotmail.com'
fake.ascii_safe_email(*args, **kwargs)
# 'tavaresvitor@example.pt'
fake.mac_address()
# u'39:5c:44:ff:0e:16'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'1-61991-633-9'
fake.isbn13(separator="-")
# u'978-0-7417-3502-7'
faker.providers.job
¶
fake.job()
# 'Camera operator'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Doloremque voluptate beatae voluptatum quis expedita voluptatem. Sunt repudiandae error praesentium error ullam.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Consequuntur sapiente magnam reiciendis exercitationem dolore dolore. Dolore quas dicta beatae facilis nemo officiis. Rerum libero quae nam. Magnam inventore velit harum eius.',
# u'Placeat quos autem odit nobis. Incidunt ut veniam. Distinctio autem rem dolorem minima laborum.',
# u'Assumenda autem odio doloribus dolorem accusantium. Qui placeat repellat est. Hic beatae ipsa ea.']
fake.words(nb=3, ext_word_list=None)
# [u'architecto', u'enim', u'eaque']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Illo at hic voluptatem atque quis ipsum.',
# u'Optio mollitia odio explicabo consectetur libero.',
# u'Est dolor recusandae corrupti facere.']
fake.word(ext_word_list=None)
# u'sunt'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Dolor veniam nam ea excepturi saepe officiis cum. Corrupti eveniet delectus explicabo.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Ut hic atque assumenda debitis provident sint.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'7p#tIKug!n'
fake.locale()
# u'fo_FO'
fake.binary(length=1048576)
# bytearray(b'`cx\xda\x0bz\x9a\xcb\xccS=o\x81`/\xe2aaQ^\xd2\xcb\xa1\xa3\x81\x90\xc4\x939:\x0e\x06\xc8F\\(4\x95$\x92\xf2gD4]8\xd6K\xf3_\xa6]\xe3S\xf5y\xe0\xfd\xfd\xb2\x02\xdd\xa3\xbbW\x9a\xa3\x9b\xa0\x8d\x8d\r\xd9\x03\xa2\'S\x88\x99\xaeD\xb1\x0c\xe4\xd4\x122:\xbb\xf2\xfe\x17\x1e\xf6\xfd\x0eg(\n8\xc9\xda\x12\xbf\x8b\x01\xcf\x0e\x8bo\x94S\x8e\xb3\x85\xf6#D\xd7u\'T\xf7<\xdb\x01"\xdd"WU\x02\xb8l\xef\x1dP\x07\xa5]\xf3\xc1\xe1\xc9\xb3\xe8\x97e\xf0\x009\x94\x1d\xea\xe3\xe9"A\xd7Z\x01@Lk\'\xae\x90\x816\xa7\x83\x89I\xdf\x16\xaed\x0bU_\xf4\xe1z\xa8\xac\x04G\xb9\x80PFQ}\xe6\x86\x04\xe7\\\xd0J\x7f\x9d&j#p\xa7\x9e\xc5^\xc8\xe7\x9f\x10\xe1\xf6S\x15\xfcZ\xaaG\x86\xe5\xcd\xa1\x9e\xf9\xa7\xcf\x07\xb0j\x1a\xab|\xe6\xeb\x86hT\xfa \n?*\xb4v\x07\x1bj\xbfC\xa8\xf4\xeb\x91\xf9Z\xca\x852>V\x96T\xd6x\x17\x90\x9c\x9e\x89\xb0\xc5c\xfb\x80\xa7\x8e\xd2m{\xfe\x18\xab[yF\x05\xc2\xe8\x1e*\xbc\xeeA\xb1\xd6\x1eC\xe2U\xf3\xb5\xafTl\xfc\x15*a8\xa3\xa7\\\xb9\xf6\xeb,\x1b\xd8\n\xd6\xf4\xe7\xbb{7\x04\x93\x1e\xb9\xa8\xeb\xf4\x82\xc6\\\xd4\xef\nch4\x07\xdb \x10[$\x91\xa2\x86\xedL=\x95\xebk\xa7|!\xff\x9eo\xdf1\x0b\xa0m\x9aL\x8d8u\x15\x97<\xa1\xdc\xe6\x9c\x03\x9c\xd1\r\xc9\x17\xf7\x8a\xab\x91\x82\xe6\xee(\x00f\x82n\x11>\xb0\xc5\x1a{s\x85_c\x9e\xfd\xb1\xddr\xd0vy<\xccb\xbd\x1b\x05\xa4s\xa2\x19lW\xe9\x01\x93,\xf5\x8f\xda"\x05]\x88\x8b=\xf5;n\x9cE8Y?\xe6\xcc\xf5T\x91\xe7\r\x82\xb2~p;@\x84\xefEhXR\tB]\xc9\xd7V\xf3\x0by\xe9?]\x0b\xae\xbd\xe5\xdd\xf04l\xe6`\x0c{\x85\x90\xa2\x0f\x18\x99>]\xc0\xaab!\x85\xe7$\xdd\x02\xab\xd5SvJr\x9f\xcb\x1a\x86\xaa\xe6\x8f[e\xc7\xb2XP.\xabA\xe2\xe4\xef\xccm6\x14\xff\x98O\x81V\xc8;\nB\x033$X|\xeft\xccBb\x90U\x84\xdb4E\xb4(\x88\xa9\xef\xc5\x9b\x92#\xab,m\x8a\n%\xceX\x93\xd75\xef\xb7\x8a\xd5\xd4\x81\x03\xa5\xf8\xeb\x8b\x18\x18\x8b\x9ce\x19=\xb9x\x9eu\xb2-U\xe4\x11\xaal\xd4gN>\xf5W]@\xd5\xe3V\xfc\x95y\x1c\xcb\xf6\x85B\xed\x8eT\xf8f\xc0\xa5\xb429\xd7\xf8!\x9c\x16\x10\xf7\xfa\x94\xca\xc0zE\xbf}\xc2\xa5\xecW\xd2\x10\x1f\xa1\x084\xdb5,\x8c\xff\x9a\xed7\x91\xce\xba^\x9f\xb9\xcft\xc3\xf41\xca\x87O\xaa\xa4w\x13\xc3e\xd8\r\n\xdfK\xbb\xbf\xffnJ\xf8\x8e\xa2\x85nC\xcdB\x03m\x9d1\xec\x169J}H\x05\xd0Sp\xa4\xe3\xe4\x9aR\x84M\xfe\x95\x94$Z\xb5\xc8\x10c\x0f\x85\xae\x9a}:\xcbi!w\xf9t1\xe7s\xbf\xe5y\xf2=\x82\x1b(\xb2\xfc\xe0k\x1d\xbdI\xf5&\xa5\xba.>\xdb_s\xa3Wbo^\xc9\xf9\xb3F8hzyGf\xb0\xabE\xc6)\x97\xa9r7\xdfP?\xc2F\xeb\x9a*ZU\x87zf=\x84\t\x9b \xe7\x9f7%\xcc\x9a\x14\xb8\xf5\x9dv\xc51\x8bcsL\x07\xe0~\x94\xad\xf3\x04\n[\xb3\x98\xed\xbc\xd5\x81\x15\xab\x01\xd2e\xe5\xb8\xfc\xec\x89\x8d\x91\xa5\x82\xb9\x9c\xc3[\xd3\xabu$\x7f\xb2\xe3;\xe7s\x9a\x933c.\xdc\xd5\x88\xf3\xa4\x97o\x7f\x82l\x15\xdf4\x8a\xa3\x0bbY\xfe\x10\xec\x10\xbc\x93\xb5F2\x80\xc6\xf5\xccy\xd4\xc0=gjO=fd\x7f.e\xfaX\xe2*-\xf1\x10\xffjX\xbf?&\x0f&\t\xe5\xba\xf6\x8f\xdb1qTn\x0e\xb3\xd7\xb7\x819~\xeb\xa2j\x93K\xa2\xf5Z7\xd3[\x9b\xf2\xa9\xc7v\x17*\xd8\x02^\xc7\xb4\x98\x16\xf8E \xb72\n\x86\x99C\xde\x93\x86\xd8\x0bI\xc6{m%\xd9\x12(\xba`5\xd5^z/A\xb2\xd3')
fake.md5(raw_output=False)
# 'e8b19f19ff64c69e5fcbe8396bbde6fa'
fake.sha1(raw_output=False)
# '1cb0361a17462b343142e29b9345542a10dd308e'
fake.null_boolean()
# True
fake.sha256(raw_output=False)
# '140a7f8cbd6b8544d3124972727f51864d4e5b2adc17069adba710b3f6abcad9'
fake.uuid4()
# 'dd4442d3-c106-1699-1678-effb422ad693'
fake.language_code()
# u'it'
fake.boolean(chance_of_getting_true=50)
# False
faker.providers.person
¶
fake.last_name_male()
# u'Torres'
fake.name_female()
# u'Fabiana Anjos'
fake.prefix_male()
# u'da'
fake.prefix()
# u'do'
fake.name()
# u'Joana Mota'
fake.suffix_female()
# u''
fake.name_male()
# u'Teresa Matos'
fake.first_name()
# u'Martim'
fake.suffix_male()
# u''
fake.suffix()
# u''
fake.first_name_male()
# u'Madalena'
fake.first_name_female()
# u'Rodrigo'
fake.last_name_female()
# u'Macedo'
fake.last_name()
# u'Almeida'
fake.prefix_female()
# u'de'
faker.providers.phone_number
¶
fake.phone_number()
# u'(351) 921783478'
fake.msisdn()
# '6029908578681'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'Travessa Marta Rodrigues, 77\n8422-536 Marco de Canaveses',
# 'birthdate': datetime.date(1921, 3, 24),
# 'mail': u'emiliavieira@hotmail.com',
# 'name': u'Brian Assun\xe7\xe3o',
# 'sex': 'M',
# 'username': u'cesaralmeida'}
fake.profile(fields=None, sex=None)
# { 'address': u'Travessa Pinto, 538\n5864-658 Santana',
# 'birthdate': datetime.date(1992, 10, 6),
# 'blood_group': '0+',
# 'company': u'Vicente',
# 'current_location': (Decimal('23.554806'), Decimal('68.057123')),
# 'job': 'Air cabin crew',
# 'mail': u'coelhogustavo@sapo.pt',
# 'name': u'Camila Batista',
# 'residence': u'Av de Barbosa, 816\n6661-936 Estremoz',
# 'sex': 'M',
# 'ssn': u'263-50-1044',
# 'username': u'maurosimoes',
# 'website': [ u'http://www.correia.com/',
# u'http://matias.com/',
# u'https://www.gomes.pt/',
# u'http://pinho.com/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# ( Decimal('7.5'),
# u'lNjHLHgccJoOhZBdNTHs',
# datetime.datetime(2005, 1, 19, 13, 27),
# u'RTvbfbBEcwNBHexItUpa',
# 2157,
# Decimal('956.3'),
# u'lASAVMnMamMULsKoNXld',
# u'mEOGVbkUEruQpHqyEmvD',
# u'kFsrYhgKosoLNeBopksM')
fake.pystr(min_chars=None, max_chars=20)
# u'tDOMhgFubPvmmKEnYFWl'
fake.pystruct(count=10, *value_types)
# ( [ Decimal('4.43936557'),
# 3023,
# u'http://www.maia.net/post/',
# u'TZrhOhSObnsdTapxQlFT',
# 6059,
# Decimal('-80150.8105881'),
# 4060,
# Decimal('1119.69104425'),
# datetime.datetime(1991, 8, 5, 14, 28, 55),
# u'http://www.lopes.org/'],
# { u'accusamus': u'PRfJBkFZGNbPVqpEqjfz',
# u'architecto': u'YHYcQtdqSKEqAQAboTbX',
# u'assumenda': -79838.56768029,
# u'consectetur': -35965030102.5403,
# u'corporis': u'crKTahjHRZpigZQEFeSp',
# u'enim': 8791,
# u'laborum': u'http://www.abreu.pt/home/',
# u'maiores': Decimal('32950150.356'),
# u'quisquam': u'KDKjMPOJWTndKBYphVTs',
# u'totam': Decimal('3.04087631933E+12')},
# { u'asperiores': { 7: u'http://www.lopes.net/app/terms/',
# 8: [ u'ylKoimsfRoqhTqzVBTjM',
# Decimal('8.6270491133'),
# 7806],
# 9: { 7: Decimal('9.35983149903E+13'),
# 8: 1177,
# 9: [ u'GLJNIOvVCLNCRmRBAjJR',
# u'valentina73@costa.pt']}},
# u'consequuntur': { 8: u'XBRwtgGBDvczAGvbuvDt',
# 9: [ u'hCaLOfNkycOWpuoQbKDF',
# u'ouTBoNAvoSuXmWyeKndz',
# u'loureirovera@hotmail.com'],
# 10: { 8: u'GPSBLtBnXuiIpZdUyvaC',
# 9: u'coMZkWhLlpCcHoOCaLMY',
# 10: [ u'StfUITXYGsoQVbAiNWGx',
# u'gXFWaqysXMLHkbrOPZuZ']}},
# u'culpa': { 5: 3160,
# 6: [-537.973183498827, u'xYsyPBVDKKBwmiLGaMat', 8066],
# 7: { 5: 1807,
# 6: u'JgjSjcyzAAQoqwExssmW',
# 7: [ u'djyYzNHBgAZyjyblOGHi',
# u'lsIEGPQOijIGiaMgVkhB']}},
# u'dolor': { 2: Decimal('-72320853.1646'),
# 3: [ u'TNOEgmJOrXtwAkRYCzMn',
# 7057,
# u'miriamferreira@faria.com'],
# 4: { 2: u'LeHirJQpgyajwnHJwdJu',
# 3: 232,
# 4: [1866, u'FpJPELuwwyTUWeLfftay']}},
# u'error': { 0: u'ihXoHhVzGowzcGUrybFQ',
# 1: [ datetime.datetime(1996, 8, 11, 6, 46, 20),
# 6984,
# 1883],
# 2: { 0: u'nuXkqCIqmtbvtIEsCYzA',
# 1: u'LubMDOsDQDzkpmVPCkxr',
# 2: [ Decimal('-8.08214688983E+14'),
# u'UilJvSsfRzaRPGzWbVNM']}},
# u'ipsum': { 3: u'XdrAMleRVjIAWlitQiWi',
# 4: [725499645320615.0, Decimal('-63715708.1'), 3536],
# 5: { 3: u'http://www.pereira.com/search/',
# 4: u'zkBppSqPziaYkzLahXWD',
# 5: [u'sgoncalves@clix.pt', 14.86190926825]}},
# u'libero': { 1: u'LLRzYILoAVzWcTepWxgx',
# 2: [ datetime.datetime(1973, 7, 8, 8, 14, 24),
# u'fabiana87@leite.com',
# u'zTmSvFAKczUhFrcdWeUA'],
# 3: { 1: u'RbdcdCAXOAwtSUtgKwMB',
# 2: Decimal('55276353499.0'),
# 3: [Decimal('-3.67056038'), -20359840961.9]}},
# u'minus': { 9: Decimal('2605794.4356'),
# 10: [ 2565,
# u'LpmHmuvWWbAOJnziyFUQ',
# u'VwUxoLbXEQTtQBNOMLCu'],
# 11: { 9: u'NmdqqwKMrraCQtodSjGA',
# 10: u'xaiPaKHRBqNgifXQRETZ',
# 11: [ u'GWsBZzmaNHWyQjhkzvKC',
# u'stFPDEYdmLerCYmdODdQ']}},
# u'similique': { 4: u'henrique32@miranda.com',
# 5: [ u'estevesrita@sapo.pt',
# u'ywiAgiRcrrPbqWrAidTo',
# 61680046801.68],
# 6: { 4: u'poIiInaFjtgPzafAyJQU',
# 5: datetime.datetime(2013, 9, 15, 7, 2, 49),
# 6: [ u'jSuyjyCetAhKVYTOKmeZ',
# u'obranco@hotmail.com']}},
# u'unde': { 6: 2176,
# 7: [ Decimal('-24.3001006385'),
# u'PQSbhqLvYKWgNbFnGLKU',
# u'KTICIkMbGaPGWTgvvVWF'],
# 8: { 6: u'qqACogwWlcYjKbzjxRmc',
# 7: 7562,
# 8: [ u'KLosoETXYZDOTQEdcYBo',
# u'https://www.sousa.net/register.html']}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# -85272738190870.1
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('-3496.67')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ 0.774,
# datetime.datetime(1995, 10, 3, 4, 29, 37),
# u'SVFFTUSUOamYijBZsAIy',
# u'KcHDnJcCMczsErxGIziP',
# u'CwglZvMucyGzeGXANIoL',
# u'HJVvMrrWPbqjUjScjohn',
# 2102,
# u'http://www.brito.pt/terms/',
# u'SFUpyUJcRlFhSnUNaPYB',
# u'emmapacheco@torres.pt',
# u'AWlJnVtGFQKTDoPOphEb',
# u'ReeBIYJYtEtDoOaycQNq']
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( 1.16022349082965,
# u'SaSgXqiCYDZqhWrWDCWs',
# u'sggDMeSoVXDDlqVVOGuw',
# 7799,
# u'upinheiro@clix.pt',
# u'zramos@amorim.pt')
fake.pybool()
# True
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([u'tmrwCXvRyzgZaIoQEfMJ', u'rPPlsVbhTcBghcMaitUe', u'kyara84@carneiro.pt', 7879, u'pteixeira@gmail.com', u'ttbQFFqyCvIkJdbhfgye', -91867032050.0, u'ALSgHQguipHLJmuKoGhj', u'https://www.moreira.pt/terms.html', 4922, Decimal('-4384571647.82'), u'MBJqvFFQcymoXYQlDGev'])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'at': 63029527539.0,
# u'dolorem': 3016,
# u'iste': u'https://branco.com/index.html',
# u'libero': u'HBfWUuzFyTOLwrCoNzrj',
# u'nam': datetime.datetime(1995, 9, 21, 16, 57, 26),
# u'non': u'GJOSHuoBbsgVCCDRtcJa',
# u'quis': u'lCEsrVAbIROFKBEOZPlh',
# u'soluta': 1512663543317.93}
fake.pyint()
# 9974
faker.providers.ssn
¶
fake.ssn(taxpayer_identification_number_type="SSN")
# u'592-65-2480'
fake.ein()
# u'73-1955762'
fake.itin()
# u'912-74-8697'
faker.providers.user_agent
¶
fake.mac_processor()
# u'PPC'
fake.firefox()
# u'Mozilla/5.0 (Macintosh; PPC Mac OS X 10_11_1; rv:1.9.2.20) Gecko/2012-02-27 23:36:00 Firefox/3.6.13'
fake.linux_platform_token()
# u'X11; Linux x86_64'
fake.opera()
# u'Opera/9.14.(X11; Linux i686; kw-GB) Presto/2.9.178 Version/10.00'
fake.windows_platform_token()
# u'Windows NT 6.0'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 7.0; Windows NT 5.0; Trident/3.0)'
fake.user_agent()
# u'Opera/8.43.(Windows 98; lv-LV) Presto/2.9.173 Version/11.00'
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 6.0) AppleWebKit/5362 (KHTML, like Gecko) Chrome/20.0.807.0 Safari/5362'
fake.mac_platform_token()
# u'Macintosh; PPC Mac OS X 10_11_8'
fake.safari()
# u'Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_12_4 rv:2.0; ps-AF) AppleWebKit/531.29.3 (KHTML, like Gecko) Version/4.1 Safari/531.29.3'