Language pt_PT¶
faker.providers.address
¶
fake.latitude()
# Decimal('-44.360029')
fake.street_name()
# u'Av Ferreira'
fake.address()
# u'Avenida de Costa, 796\n2727-028 S\xe3o Mamede de Infesta'
fake.street_address()
# u'R. Lisandro Moreira, 406'
fake.postcode()
# u'9049-551'
fake.longitude()
# Decimal('136.752949')
fake.country()
# u'Rom\xe9nia'
fake.city_name()
# u'Vila Nova de Gaia'
fake.street_prefix()
# u'Travessa'
fake.street_suffix()
# u'Street'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('-128.568259')
fake.city_suffix()
# u'Ville'
fake.building_number()
# u'712'
fake.country_code()
# u'BI'
fake.city()
# u'Tomar'
faker.providers.automotive
¶
fake.license_plate()
# u'288 YJM'
faker.providers.barcode
¶
fake.ean(length=13)
# u'1217416786438'
fake.ean13()
# u'3276919198023'
fake.ean8()
# u'27895504'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(34,32,148)'
fake.color_name()
# u'Crimson'
fake.rgb_color()
# u'61,28,75'
fake.safe_hex_color()
# u'#111100'
fake.safe_color_name()
# u'olive'
fake.hex_color()
# u'#a15dce'
faker.providers.company
¶
fake.company()
# u'Tavares'
fake.company_suffix()
# u'S/A'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'624'
fake.credit_card_provider(card_type=None)
# u'Voyager'
fake.credit_card_full(card_type=None)
# u'Discover\nD\xe9bora Domingues\n6011900712590749 02/27\nCVC: 217\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '10/19'
fake.credit_card_number(card_type=None)
# u'30381750160606'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'BURST'
fake.currency_code()
# 'UGX'
faker.providers.date_time
¶
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2000, 2, 29, 7, 36, 5)
fake.date_time_between(start_date="-30y", end_date="now", tzinfo=None)
# datetime.datetime(2017, 6, 9, 8, 58, 34)
fake.time(pattern="%H:%M:%S")
# '23:08:49'
fake.date_time_ad(tzinfo=None)
# datetime.datetime(660, 9, 10, 6, 33, 25)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2017, 8, 28)
fake.day_of_week()
# 'Tuesday'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2013, 8, 20, 4, 2, 11)
fake.time_object()
# datetime.time(0, 4, 41)
fake.iso8601(tzinfo=None)
# '2002-03-02T07:11:46'
fake.time_delta()
# datetime.timedelta(14553, 33023)
fake.am_pm()
# 'AM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2017, 9, 6, 20, 17, 19)
fake.date_object()
# date(1975, 5, 4)
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2017, 10, 2, 20, 59, 12)
fake.date_time(tzinfo=None)
# datetime(2010, 12, 22, 23, 40, 44)
fake.date(pattern="%Y-%m-%d")
# '1994-08-08'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2017, 9, 9)
fake.month()
# '05'
fake.unix_time()
# 287017454
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2017, 9, 5, 3, 43)
fake.day_of_month()
# '15'
fake.year()
# '1991'
fake.timezone()
# u'America/Guatemala'
fake.century()
# u'I'
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0xb4fa7cd8>
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2017, 2, 4, 16, 34, 53)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2017, 8, 17, 22, 22, 26)
fake.month_name()
# 'September'
faker.providers.file
¶
fake.file_path(depth=1, category=None, extension=None)
# u'/inventore/numquam.css'
fake.mime_type(category=None)
# u'text/javascript'
fake.file_name(category=None, extension=None)
# u'mollitia.jpeg'
fake.file_extension(category=None)
# u'webm'
faker.providers.internet
¶
fake.url()
# u'http://www.leite.pt/'
fake.company_email()
# u'jesusirina@matias.com'
fake.uri()
# u'http://www.fonseca.pt/'
fake.domain_word(*args, **kwargs)
# u'vicente'
fake.ipv4(network=False)
# '68.165.119.185'
fake.domain_name(levels=1)
# u'neves.pt'
fake.tld()
# u'pt'
fake.uri_path(deep=None)
# u'category/list'
fake.free_email()
# u'andreia11@clix.pt'
fake.slug(*args, **kwargs)
# u'voluptatum-sit'
fake.free_email_domain()
# u'clix.pt'
fake.uri_extension()
# u'.htm'
fake.ipv6(network=False)
# '4fed:cd42:6304:e42c:1d53:acad:200:4fff'
fake.user_name(*args, **kwargs)
# u'isaacneves'
fake.image_url(width=None, height=None)
# u'https://placeholdit.imgix.net/~text?txtsize=55&txt=1023x960&w=1023&h=960'
fake.email()
# u'j\xe9ssicalima@gmail.com'
fake.uri_page()
# u'homepage'
fake.mac_address()
# u'17:67:d1:e7:56:d2'
fake.safe_email()
# u'm\xe9lanieamorim@example.pt'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'1-175-99319-0'
fake.isbn13(separator="-")
# u'978-0-527-39097-6'
faker.providers.job
¶
fake.job()
# 'English as a second language teacher'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Commodi vel magni reprehenderit voluptatum quis quam. Mollitia accusamus repellendus modi ab. Sunt a sit consequuntur vero iste fugit nam fuga. Soluta in repellat est magni.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Dolorum vel alias ea neque quos maxime libero inventore. Commodi beatae iusto recusandae eos necessitatibus. Cupiditate cupiditate porro sequi saepe a doloribus excepturi.',
# u'Vel quasi voluptas vitae recusandae inventore voluptate corporis. Nulla eligendi voluptates maiores incidunt ab porro. Non neque repellat blanditiis odit.',
# u'Odio amet molestiae facere temporibus fugiat non. Quisquam optio dolore facilis fuga nihil nobis. Harum placeat temporibus doloremque ducimus.']
fake.words(nb=3, ext_word_list=None)
# [u'delectus', u'quas', u'cumque']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Sequi minima nemo atque ex omnis odit eum repellat.',
# u'Culpa et alias impedit impedit similique veritatis.',
# u'Quaerat asperiores tenetur odit tempore provident rerum pariatur iusto.']
fake.word(ext_word_list=None)
# u'dolorem'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Expedita cumque excepturi nisi. Amet saepe sit accusantium aperiam nostrum. Nisi necessitatibus possimus iure quos. Aspernatur ut quam est ipsam. Voluptatibus optio dolor rerum natus accusantium iusto.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Occaecati quis sunt voluptatem similique architecto voluptate nostrum.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'HVafc1Trv#'
fake.locale()
# u'lo_LA'
fake.binary(length=1048576)
# bytearray(b'r\xba\x1f\xe0\xf2\xeaOQ\xb0{\xb4\x0f\xf2-\xc6\x0e\x90\x92\xde?b\x98Tg\x0f\x83\xc6Lp\xc3\x98\x88\xf4\xf3(L\'\xbd\x1b6\xe1\xd0+\x90\x1a\xce\xf6e\x14\x9d\xe2\x83\x9bv\xac8`\r,>S0Q\xc3&\xf9v\xc9Y\x9e\xf1\xfb2&\xf3\x8b3@\xe4A\xa1\xa4\xee\xcf\x16g\xc7\xd0\x9e\xdd$\xca\xcb|5\xb5g#\x91\xbd\xb2\xb1\xfe\xaf\x16\xa9\xcfZ\xd9n\xc1\x14\x1e\x82\xa9m\xd9\xb9\x06\xb3n\xd6J\xd7\xd0v\x1d\xa0\xd2.\x08\x18C!\x84\x83g\xc7\xb7\x8e\x15\xa5\x9e\x8c2\xb0\xca\xea\xfa\xf6\x07\xe5\xf9E\xd5C\x1d\x1f8(T\x9b\xfe\xeft\xa9E\x8d\x19\xbfS\x11G\xa2\xb0CB\xb1\xd0\x97\x1c\x02Eh\x1eezJ$\xe1I\xc6\xa6\xeb\xd5\x0ca\xad\xea\x05N\t\xee\n\x88\xd3\x90\x1cc\x8d\xc6\xa2\xaby_\xed\x08\x1c\xcd\x16\x9a\xb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.md5(raw_output=False)
# 'af826f64ed807a0ada18b84f867a8306'
fake.sha1(raw_output=False)
# 'fe0914bfba2c698b75ee90732a607acda95cca66'
fake.null_boolean()
# None
fake.sha256(raw_output=False)
# '6c53e17252450c313280f50fc665fa8ec465d94389ff4339da54057f80060f96'
fake.uuid4()
# 'cd37dc7a-1e71-f894-33b7-a8a5c71003ff'
fake.language_code()
# u'ga'
fake.boolean(chance_of_getting_true=50)
# False
faker.providers.person
¶
fake.last_name_male()
# u'Neves'
fake.name_female()
# u'Marco Oliveira'
fake.prefix_male()
# u'de'
fake.prefix()
# u'de'
fake.name()
# u'M\xe1rcio Nunes'
fake.suffix_female()
# ''
fake.name_male()
# u'Luana Ramos'
fake.first_name()
# u'Hugo'
fake.suffix_male()
# ''
fake.suffix()
# ''
fake.first_name_male()
# u'William'
fake.first_name_female()
# u'Daniela'
fake.last_name_female()
# u'Vaz'
fake.last_name()
# u'Leal'
fake.prefix_female()
# u'do'
faker.providers.phone_number
¶
fake.phone_number()
# u'(351) 963775671'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'Travessa Larissa Ara\xfajo, 7\n6737-473 Lisboa',
# 'birthdate': '1981-09-09',
# 'mail': u'uantunes@hotmail.com',
# 'name': u'Guilherme Borges',
# 'sex': 'F',
# 'username': u'andr\xe9teixeira'}
fake.profile(fields=None, sex=None)
# { 'address': u'Rua de Soares, S/N\n1115-985 Vila do Conde',
# 'birthdate': '1989-02-18',
# 'blood_group': 'A+',
# 'company': u'Ara\xfajo',
# 'current_location': (Decimal('19.173587'), Decimal('-33.850783')),
# 'job': 'Data processing manager',
# 'mail': u'j\xe9ssicacampos@clix.pt',
# 'name': u'Rafaela-Jos\xe9 Magalh\xe3es',
# 'residence': u'Avenida D\xe9bora Nogueira, 238\n4517-685 Macedo de Cavaleiros',
# 'sex': 'F',
# 'ssn': u'588-43-6693',
# 'username': u'ucastro',
# 'website': [ u'http://www.miranda.com/',
# u'http://ara\xfajo.com/',
# u'http://www.cardoso.pt/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# set([datetime(1992, 8, 23, 1, 21, 9), Decimal('6539136021.5'), u'TtSzaPCexqDaFjFPRxTT', datetime(1974, 12, 4, 16, 45, 1), Decimal('9.8880516472E+11'), u'YseOqaWjwkWyvAWVVvDm', u'https://www.reis.com/list/category/category.html'])
fake.pystr(min_chars=None, max_chars=20)
# u'oNqqQhKKuaqSSzWlLGJy'
fake.pystruct(count=10, *value_types)
# ( [ Decimal('-482044402.454'),
# u'ukhwUMmGuiYIVhnFZRFj',
# datetime(1990, 9, 9, 0, 23, 17),
# u'JINtkJZwgVWYPjtxhAar',
# 4926,
# 5123,
# u'GkGajIHfTrVCTXZxbCcZ',
# Decimal('92.9282604776'),
# u'RmUhSgGEExXTttrFbDpT',
# 4838],
# { u'ab': 2861,
# u'asperiores': u'wMkYXkfwlMJdjzNahHID',
# u'debitis': datetime(1996, 6, 7, 22, 30, 48),
# u'dolore': u'GeoUZZDCPoToATwHqjoZ',
# u'et': u'RsLCYVPAXmLcVEvPOmtO',
# u'fuga': 3810,
# u'nulla': datetime(1987, 9, 22, 23, 42, 32),
# u'quas': u'KBHmKOfesXavnYRZoKiB',
# u'temporibus': u'poAQrgEkiRWQqHxVKmzF',
# u'unde': 1093},
# { u'alias': { 1: 1853,
# 2: [ datetime(2006, 7, 29, 2, 44, 2),
# u'abreuv\xedtor@moura.pt',
# u'b\xe1rbaramartins@sapo.pt'],
# 3: { 1: u'http://www.silva.pt/category/wp-content/category/',
# 2: 307157.10317091,
# 3: [u'poRNPcPzTdMSEMRWqClr', 111]}},
# u'amet': { 4: u'ZcjDWjXjAqfCqBKmWSEh',
# 5: [ u'oxNdDACkkGbloQtaQRsU',
# u'bgFPjpaYrzQvtEuEXuGP',
# Decimal('-493538.55')],
# 6: { 4: Decimal('-890121907417'),
# 5: 3477,
# 6: [1232, u'CarLhScMKVxTolBPdcgY']}},
# u'asperiores': { 0: u'https://www.henriques.com/explore/wp-content/main/category.php',
# 1: [ u'soaresfernando@hotmail.com',
# u'franciscasoares@gmail.com',
# 2674],
# 2: { 0: datetime(1991, 9, 13, 15, 16, 2),
# 1: u'CdTCnctJOkxjqUDlPYZp',
# 2: [ datetime(1981, 10, 19, 2, 6, 32),
# u'dYxpTQTpqXpTPihAprEt']}},
# u'atque': { 2: u'iiEiLrSCYReqtNJbfNNd',
# 3: [ u'http://www.figueiredo.com/category/index.htm',
# u'http://www.lopes.com/main/app/explore/terms.htm',
# u'rxLiBPfNhsUwmAlwoFKb'],
# 4: { 2: 1935,
# 3: u'https://melo.com/blog/posts/list/about.html',
# 4: [ u'xiWTKmEvBqFnDmnrequr',
# u'c\xe9sar95@vieira.pt']}},
# u'beatae': { 8: u'VCJzjpABWkAUVRYxqqkX',
# 9: [ Decimal('-4.5'),
# u'ZJsJTIqRIzVdUWeEkwsK',
# u'bPlRHlKyFvJuyaDiiHPG'],
# 10: { 8: u'https://carvalho.net/category/tag/terms/',
# 9: u'kGyCKWJFvdkVwUxOLVyR',
# 10: [ Decimal('9939.21958758'),
# u'jqwdXWKmUAFIViYGVImE']}},
# u'blanditiis': { 6: u'lpUnkqyggrkarWDXYxnG',
# 7: [ u'ZapvosEneghXFepbFHqj',
# u'http://www.freitas.com/faq/',
# datetime(1970, 1, 10, 5, 31, 22)],
# 8: { 6: u'wsjMxKsdmHVasuozXFaU',
# 7: u'QjnnghQnapKfsSwaLSpl',
# 8: [1478, u'fnyqngcsKiYuoDYfqmtg']}},
# u'ex': { 3: -923677.77121235,
# 4: [ u'mhoSRoZxqRwVzzhsYPrB',
# u'EJPqHULnyPHNrSGRBnWm',
# 442492244636.0],
# 5: { 3: u'http://www.assun\xe7\xe3o.net/tags/category/',
# 4: u'http://www.machado.com/tag/search/list/homepage.htm',
# 5: [3985, u'http://reis.org/home.html']}},
# u'quia': { 5: u'https://www.melo.com/search/tag/login/',
# 6: [ 2227,
# u'KISfySKSwVBKOPtdissq',
# u'oClZNIAlRZzJbekEiRdW'],
# 7: { 5: u'OWNJNQKEsHZLkqJsjyMG',
# 6: datetime(2006, 3, 16, 16, 26, 33),
# 7: [ u'https://santos.org/blog/search/app/main.htm',
# Decimal('91875041405.0')]}},
# u'sint': { 9: u'GfKjhNjZLNYKPcjKPCro',
# 10: [ u'OPVilTHdMbZfEGGQFBHn',
# u'jlAvDmsvMPyIfVJOuYFR',
# 2754],
# 11: { 9: u'pPpRHbDZxgxzSTaFuzgs',
# 10: u'wXXcQVdFODCzPORxEDZD',
# 11: [ datetime(2008, 2, 7, 19, 16, 59),
# datetime(1998, 8, 7, 6, 24, 48)]}},
# u'vel': { 7: u'carlotamoura@moura.pt',
# 8: [ u'alexvaz@fonseca.org',
# datetime(2017, 2, 18, 7, 32, 10),
# -13.3692830236],
# 9: { 7: u'https://matias.pt/main.html',
# 8: datetime(2003, 4, 26, 7, 38, 51),
# 9: [u'aPwwZcVcxIQMblUTWJtZ', 9496]}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# -21372.5267850714
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('281637694399')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ u'RJqvxSWpbnXIWGbquPgC',
# u'BZBIUQFzSixVwKOrCDpH',
# u'wLxvLoylOQwdENldTodb',
# 2154,
# u'qWrsVKdGCDxTbhZfuAkp',
# 2802,
# u'http://rodrigues.com/list/explore/search/']
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( u'cvhcasNXlfoOlwgvyvvw',
# Decimal('6024175949.14'),
# u'FPrOQFxikRhwXYnCiwsB',
# datetime(2009, 11, 28, 16, 25, 9),
# u'wMZwCHmDhFvoulvoAUPg',
# 1123950.1993,
# u'hsousa@soares.org',
# Decimal('-2057.85457398'),
# u'wmoreira@valente.com',
# 852578103268.26,
# 7033,
# u'JYlSDAbTTlujQsHoDQPF',
# 9724)
fake.pybool()
# False
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([u'MQRUxIDbmEBsUohfRLiO', u'jamorim@clix.pt', u'saramoura@gmail.com', u'http://www.henriques.pt/faq/', Decimal('-3.9146'), u'https://www.fonseca.pt/', Decimal('-77.2914'), 25077236419440.0, datetime(2002, 11, 18, 14, 57, 39), u'okYOdlobyuJMpcxufGQo', u'https://moreira.pt/category/', u'FXOSUDbJIQMrLccPXtWu'])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'aspernatur': datetime(2012, 1, 31, 15, 42, 29),
# u'corporis': u'lFtQEMmBNfBGyulSQMxC',
# u'corrupti': 2769,
# u'dignissimos': u'http://paiva.com/homepage.htm',
# u'enim': u'costaanita@gmail.com',
# u'incidunt': 4232,
# u'nisi': u'zuxytTyrsfnAjMQcJWLJ',
# u'nostrum': u'kwypGESZqOCTPhtNCyMx',
# u'possimus': u'pMbTjLheidnEzmjUepgU',
# u'quaerat': Decimal('-356.406338393'),
# u'sapiente': datetime(2013, 1, 24, 11, 42, 30),
# u'sint': 4751,
# u'voluptatem': u'tWkzvSZEGmhCgWSfQlzX'}
fake.pyint()
# 2455
faker.providers.ssn
¶
fake.ssn()
# u'179-97-9834'
faker.providers.user_agent
¶
fake.mac_processor()
# u'U; PPC'
fake.firefox()
# u'Mozilla/5.0 (Windows NT 5.2; mk-MK; rv:1.9.0.20) Gecko/2010-10-23 03:55:20 Firefox/3.8'
fake.linux_platform_token()
# u'X11; Linux i686'
fake.opera()
# u'Opera/9.87.(X11; Linux i686; sw-KE) Presto/2.9.188 Version/10.00'
fake.windows_platform_token()
# u'Windows NT 6.1'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 6.0; Windows CE; Trident/3.1)'
fake.user_agent()
# u'Opera/9.47.(X11; Linux x86_64; cv-RU) Presto/2.9.178 Version/12.00'
fake.chrome()
# u'Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_7_4) AppleWebKit/5361 (KHTML, like Gecko) Chrome/13.0.819.0 Safari/5361'
fake.linux_processor()
# u'x86_64'
fake.mac_platform_token()
# u'Macintosh; U; PPC Mac OS X 10_5_7'
fake.safari()
# u'Mozilla/5.0 (iPod; U; CPU iPhone OS 3_0 like Mac OS X; sid-ET) AppleWebKit/532.31.4 (KHTML, like Gecko) Version/4.0.5 Mobile/8B117 Safari/6532.31.4'