Language ro_RO¶
faker.providers.address
¶
fake.longitude()
# Decimal('140.803837')
fake.building_number()
# u'8836'
fake.street_address()
# u'231 Preda Rapids'
fake.postalcode_plus4()
# u'42770-5233'
fake.city_prefix()
# u'South'
fake.military_ship()
# u'USNS'
fake.city()
# u'Janechester'
fake.zipcode_plus4()
# u'55229-0193'
fake.state_abbr()
# u'OK'
fake.latitude()
# Decimal('-33.876016')
fake.street_suffix()
# u'Viaduct'
fake.city_suffix()
# u'ton'
fake.military_dpo()
# u'Unit 7217 Box 6610'
fake.country_code(representation="alpha-2")
# u'ZA'
fake.country()
# u'Cape Verde'
fake.secondary_address()
# u'Apt. 108'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('-65.851553')
fake.postalcode()
# u'33063'
fake.address()
# u'80477 Diaconu Parkway\nPopberg, AL 07989'
fake.state()
# u'Vermont'
fake.military_state()
# u'AA'
fake.street_name()
# u'Voinea Trail'
fake.zipcode()
# u'61825'
fake.postcode()
# u'72769'
fake.military_apo()
# u'PSC 5560, Box 9483'
faker.providers.automotive
¶
fake.license_plate()
# u'FLA8906'
faker.providers.bank
¶
fake.bban()
# 'GCOE2589407298591'
fake.bank_country()
# 'GB'
fake.iban()
# 'GB03TXJR2320352353818'
faker.providers.barcode
¶
fake.ean(length=13)
# u'5061721104649'
fake.ean13()
# u'6219815486822'
fake.ean8()
# u'76050800'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(37,222,130)'
fake.color_name()
# u'White'
fake.rgb_color()
# u'199,212,113'
fake.safe_hex_color()
# u'#cc5500'
fake.safe_color_name()
# u'white'
fake.hex_color()
# u'#8ba798'
faker.providers.company
¶
fake.company()
# u'Pop, Nistor and Albu'
fake.company_suffix()
# u'Group'
fake.catch_phrase()
# u'Networked motivating Internet solution'
fake.bs()
# u'integrate viral niches'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'874'
fake.credit_card_provider(card_type=None)
# u'VISA 13 digit'
fake.credit_card_full(card_type=None)
# u'Mastercard\nJohn Ababei\n5296969504154665 04/21\nCVV: 322\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '01/26'
fake.credit_card_number(card_type=None)
# u'4857548123610'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'LTC'
fake.currency_code()
# 'BHD'
fake.currency_name()
# 'Guinean franc'
fake.cryptocurrency_name()
# 'Sirin Labs'
fake.cryptocurrency()
# ('STC', 'SwiftCoin')
fake.currency()
# ('TVD', 'Tuvaluan dollar')
faker.providers.date_time
¶
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2018, 8, 27, 9, 40, 20)
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0xf57fd238>
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(2017, 4, 12, 16, 27, 1)
fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2014, 1, 23)
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 8, 5, 2, 27, 2)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2018, 8, 1)
fake.day_of_week()
# 'Friday'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2017, 3, 7, 15, 1, 25)
fake.date_between(start_date="-30y", end_date="today")
# datetime.date(1999, 2, 22)
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2006, 1, 27, 12, 49, 42)
fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '2015-03-18'
fake.am_pm()
# 'AM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2018, 8, 17, 8, 10, 47)
fake.date_object(end_datetime=None)
# datetime.date(2000, 7, 4)
fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2018, 8, 14)
fake.iso8601(tzinfo=None, end_datetime=None)
# '2018-04-20T17:57:20'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2018, 8, 28)
fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2009, 12, 10)
fake.month()
# '07'
fake.year()
# '1992'
fake.day_of_month()
# '31'
fake.unix_time(end_datetime=None, start_datetime=None)
# 1293244114
fake.timezone()
# u'Europe/Vienna'
fake.century()
# u'V'
fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(1992, 5, 11)
fake.time_object(end_datetime=None)
# datetime.time(15, 25, 3)
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 8, 2, 16, 50, 40)
fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(2018, 3, 22, 13, 47, 19)
fake.time(pattern="%H:%M:%S", end_datetime=None)
# '18:10:32'
fake.date_this_month(before_today=True, after_today=False)
# datetime.date(2018, 8, 2)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2018, 8, 9, 20, 30, 39)
fake.month_name()
# 'July'
fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(212, 2, 8, 17, 5, 19)
fake.time_delta(end_datetime=None)
# datetime.timedelta(7439, 64220)
faker.providers.file
¶
fake.unix_device(prefix=None)
# u'/dev/sdt'
fake.mime_type(category=None)
# u'application/json'
fake.file_path(depth=1, category=None, extension=None)
# u'/itaque/eveniet.gif'
fake.unix_partition(prefix=None)
# u'/dev/vdf4'
fake.file_name(category=None, extension=None)
# u'dolorum.pptx'
fake.file_extension(category=None)
# u'mp3'
faker.providers.internet
¶
fake.ascii_free_email(*args, **kwargs)
# 'ardeleanjohn@hotmail.com'
fake.image_url(width=None, height=None)
# u'https://www.lorempixel.com/494/361'
fake.tld()
# u'com'
fake.email(*args, **kwargs)
# u'jane80@nistor.com'
fake.url(schemes=None)
# u'https://aanei.info/'
fake.ipv4_private(network=False, address_class=None)
# '192.168.161.38'
fake.user_name(*args, **kwargs)
# u'diaconujane'
fake.uri_extension()
# u'.htm'
fake.uri_page()
# u'category'
fake.free_email_domain(*args, **kwargs)
# u'yahoo.com'
fake.safe_email(*args, **kwargs)
# u'onemes@example.org'
fake.ascii_email(*args, **kwargs)
# 'pgheorghiu@gmail.com'
fake.ipv4_network_class()
# u'a'
fake.ipv4_public(network=False, address_class=None)
# '192.0.0.35'
fake.ascii_company_email(*args, **kwargs)
# 'janemocanu@diaconescu.com'
fake.domain_name(*args, **kwargs)
# u'aanei-aanei.info'
fake.ipv4(network=False, address_class=None, private=None)
# '116.7.208.226'
fake.domain_word(*args, **kwargs)
# u'mocanu'
fake.slug(*args, **kwargs)
# u'ab-ipsam-dicta'
fake.uri_path(deep=None)
# u'blog'
fake.company_email(*args, **kwargs)
# u'wmocanu@oprea.com'
fake.uri()
# u'http://www.stan.com/'
fake.ipv6(network=False)
# 'e912:ea81:f7bf:8872:5aae:2cd:1bf6:887f'
fake.free_email(*args, **kwargs)
# u'johnaanei@gmail.com'
fake.ascii_safe_email(*args, **kwargs)
# 'nistorjane@example.com'
fake.mac_address()
# u'72:c5:68:2c:eb:82'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'0-627-40210-0'
fake.isbn13(separator="-")
# u'978-1-5428-4120-7'
faker.providers.job
¶
fake.job()
# 'Special educational needs teacher'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Cumque earum corporis maiores saepe. Error vero doloremque aliquid quod. Quisquam autem accusamus nihil excepturi eveniet.\nPorro illo delectus. Suscipit corrupti dolor ab.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Dolorum vel incidunt commodi ab ut. Possimus perferendis odio voluptatem ipsam fugiat. Consequuntur esse nemo odit repellat aut.',
# u'Fugiat porro hic dolorem aperiam dolorum.',
# u'Odio inventore nihil dicta nulla. Quisquam id quis quam voluptatem. Praesentium suscipit esse nihil.']
fake.words(nb=3, ext_word_list=None)
# [u'cum', u'esse', u'quam']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Saepe odit optio aut voluptates ut quasi laborum.',
# u'Fuga aperiam placeat ipsam mollitia.',
# u'Neque praesentium non in illo molestias excepturi.']
fake.word(ext_word_list=None)
# u'magni'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Dolor veritatis at sequi. Animi nesciunt delectus deserunt est nulla excepturi. Eos dolorem quasi magnam quia autem nisi.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Consequatur nesciunt veniam reiciendis.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'4PIZAO3u!5'
fake.locale()
# u'bs_BA'
fake.binary(length=1048576)
# bytearray(b'\xc5\xe6=\xbe__\xeb\xbfO2\x83\\\xa7\x88\x8a\xb9\xadg\xd2LlR\x8dM\x8fiWu\x8c\x88\tn\xfb\xc1r\x92]R\xbe\xdd\x04+g\x1721\x15,:^\x1cE\xffP\x0fUnq/\x00\x0c2,\xe5\x1d\x1cM\xf4{\xb2\xdfB\xd3\x94\x80\x1bw\xe1\x88\x1d\x0b\x7f\xa3 @\x1bU\x84\xc6\xed\xd6\x18\x87B\xe4\xa8\xd9\xac\x86iq\xf4}\xe0\x06\xca\xcd\xc5.3W\xc7\xb2\xe4\xa5\x7f\xb6\xd2Q\xee\x9b\xb0M\x08\xe5Y\x18\xdaS\x8b\xbfE\xe4\xfd\xdc\xdb\x10}R\x98\xb7G\xc0\xbd*I\xf3}\xfah`b;\x9f6\x07\xf2P\x0e\xa3o\rG\x80\xd0\x10\x1d\x04\xd4\x97\xd1\xb9\x01\x1b\x0f\xd8J)H\xa2\xfb\x00\xd8\\\xa2l/,-\x8f\x11_\xd6\xc2\x1f\x11\x8d\x87\\\x9c\x17?\x10\xb3\x0b\xe3\xd7\xee\x8f`$+o\xc3\xce\x83p\x0e\xb6\xd8\xa4h\xeb\xb8l\xac\x91\xe9\x05*\x0c\xbd\xbf\x91\xab\xa3\xb3o\x16!Q\x98\x86}\xac\xe3\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ae\x8e\xe9\xcd')
fake.md5(raw_output=False)
# '507c121d1b9b4289d997c60bcc95b254'
fake.sha1(raw_output=False)
# 'e2fea7dd4556c6c84e39a01e4b340928b1909fee'
fake.null_boolean()
# False
fake.sha256(raw_output=False)
# 'f941941d873660a983f530e07c71a277ae254504c9409e82d58c75d29529d647'
fake.uuid4()
# 'ab619bd2-6af9-7796-290e-ac7eba3ccc93'
fake.language_code()
# u'te'
fake.boolean(chance_of_getting_true=50)
# True
faker.providers.person
¶
fake.last_name_male()
# u'Stoica'
fake.name_female()
# u'Petru\u021ba Dumitrescu'
fake.prefix_male()
# u''
fake.prefix()
# u''
fake.name()
# u'John Pu\u0219ca\u0219u'
fake.suffix_female()
# u''
fake.name_male()
# u'Petric\u0103 Eremia Barbu'
fake.first_name()
# u'John'
fake.suffix_male()
# u''
fake.suffix()
# u''
fake.first_name_male()
# u'Bogdan'
fake.first_name_female()
# u'Floare'
fake.last_name_female()
# u'Ni\u021b\u0103'
fake.last_name()
# u'Tabacu'
fake.prefix_female()
# u''
faker.providers.phone_number
¶
fake.phone_number()
# u'955-872-9545'
fake.msisdn()
# '9266864228431'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'4672 John Village Apt. 414\nJohnhaven, LA 35866-1493',
# 'birthdate': datetime.date(1908, 12, 8),
# 'mail': u'johnnistor@hotmail.com',
# 'name': u'Adriana Ene',
# 'sex': 'F',
# 'username': u'mazilescujohn'}
fake.profile(fields=None, sex=None)
# { 'address': u'45984 Jane Trail\nVoineamouth, GA 67458-6445',
# 'birthdate': datetime.date(1996, 10, 12),
# 'blood_group': 'AB-',
# 'company': u'Stan, Dima and Marin',
# 'current_location': (Decimal('-78.772463'), Decimal('-151.243143')),
# 'job': 'Chief Operating Officer',
# 'mail': u'john16@hotmail.com',
# 'name': u'Axinte Eftimie',
# 'residence': u'421 John Mount\nDobrechester, WI 03425-7783',
# 'sex': 'M',
# 'ssn': u'723-28-5523',
# 'username': u'rdinu',
# 'website': [u'http://www.georgescu-diaconu.com/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# ( datetime.datetime(1987, 10, 30, 9, 58, 16),
# u'nJhQVlRePDMNFSoRjelY',
# u'MazXLBRinsXvgIdsGEIP',
# 5964,
# datetime.datetime(2001, 11, 27, 21, 57, 58),
# 4798,
# 7.6148755254701,
# 765,
# datetime.datetime(1982, 6, 27, 11, 51, 44))
fake.pystr(min_chars=None, max_chars=20)
# u'gzNLVueVLYrStgigIZGo'
fake.pystruct(count=10, *value_types)
# ( [ 5952,
# 8449,
# u'https://www.popescu.com/',
# datetime.datetime(2000, 5, 11, 21, 42, 43),
# u'http://nistor-mocanu.com/app/index/',
# u'johnmarin@yahoo.com',
# datetime.datetime(1998, 7, 19, 21, 37, 26),
# 39024808137.0,
# u'YhgSNrDFAYvEkaCAwZLk',
# u'rKvhFVjHqqeZSVAmKuuM'],
# { u'illo': -5171836.1154766,
# u'ipsum': 518686.73079,
# u'minima': 4168926.8737487,
# u'odio': 9407,
# u'pariatur': 8820,
# u'praesentium': Decimal('5479.55443369'),
# u'ratione': u'ghyrkUuXGSjYDkcQcmij',
# u'tenetur': 7066,
# u'velit': u'EfJVYFJuRZFZQHNiUEuP',
# u'vitae': u'mqrajOIUrCbJjwUueDBE'},
# { u'alias': { 9: u'nNdZYzygokXaBvdTmczx',
# 10: [ 6626673962.0,
# Decimal('-116.92611'),
# u'qEiXWwQcaENXcKQFhCak'],
# 11: { 9: u'https://www.nistor.info/home/',
# 10: 549397.223864231,
# 11: [ u'zOAKTDwLcFYoTbWcmPDf',
# Decimal('-720.3')]}},
# u'cumque': { 2: u'https://www.dochioiu.com/',
# 3: [ Decimal('-173802437.4'),
# u'biXCugZTZydwAGVnFUAj',
# u'oEDBroiyOvWUPYDUfemG'],
# 4: { 2: u'https://mocanu.com/main.htm',
# 3: u'lffbpiwiblqtYXSpeTZI',
# 4: [-45.59053946, 5907]}},
# u'dicta': { 6: u'pLIDstmryNbjYGPLkjIo',
# 7: [ u'FNMDixFvYzQiSnQPqTEI',
# 81535.6115,
# datetime.datetime(2009, 10, 26, 0, 50, 13)],
# 8: { 6: u'ukFRsYIUoqoLecKcvvjg',
# 7: u'obJvakkgcwUpKdqbDMUn',
# 8: [ Decimal('-11.52'),
# datetime.datetime(1984, 9, 6, 18, 59, 40)]}},
# u'ex': { 5: Decimal('-5404828123.59'),
# 6: [ u'http://www.eftimie.net/posts/explore/wp-content/faq.php',
# u'wiALmWIXsLfZlPtZcwDN',
# Decimal('712.737528')],
# 7: { 5: datetime.datetime(2002, 5, 30, 22, 47, 51),
# 6: u'jane00@florea-dobre.com',
# 7: [u'johnionescu@georgescu.com', 9179.2]}},
# u'incidunt': { 1: 433669599005.0,
# 2: [ Decimal('8.33411976889E+14'),
# u'dimajane@nemes.com',
# 7071],
# 3: { 1: u'xECJIjEaYkcXNwJlHCJH',
# 2: u'lrgGAHlNsmKvgeItlplZ',
# 3: [7033, u'johnstancu@toma-cristea.com']}},
# u'iure': { 7: datetime.datetime(1988, 1, 2, 13, 51, 36),
# 8: [ u'zFkrTgLIZoHmKOmpobgg',
# u'qcHZjXOYEJzXpJQuGPSw',
# u'https://dima.com/index/'],
# 9: { 7: u'johntudor@gmail.com',
# 8: -53425368.9924,
# 9: [ u'http://nistor.org/post.php',
# datetime.datetime(1994, 3, 18, 19, 16, 50)]}},
# u'possimus': { 8: u'PAHyRWIeOnyLsnndFVhO',
# 9: [ datetime.datetime(1999, 5, 19, 10, 58, 18),
# u'gywbFkbPYtFLeqiqJqhT',
# u'byXgcBIhFTghqKWFwqkT'],
# 10: { 8: Decimal('-59347.5427'),
# 9: u'exslGIblthFrdfSKUirS',
# 10: [ datetime.datetime(2000, 2, 23, 1, 0, 36),
# u'STqCQYLqCkoejIqppZAl']}},
# u'quos': { 4: u'qWNmwexeYEdwnnzeCjEe',
# 5: [ Decimal('5.59085697073E+14'),
# u'SaWpxtmyCTjoBcVCcJQv',
# u'PstcMvGpJljfmtWtgDet'],
# 6: { 4: u'johngeorgescu@gmail.com',
# 5: 916965312828.0,
# 6: [ u'YsGEyYBcGLhxwHXDWaXm',
# datetime.datetime(2015, 5, 28, 17, 35, 50)]}},
# u'veritatis': { 3: 5907,
# 4: [u'DEmQxZUNgAIeHvfaugeW', 63, 3616],
# 5: { 3: u'qdiaconu@yahoo.com',
# 4: u'dumitrescujane@ardelean.info',
# 5: [ u'http://www.mazilescu.net/',
# u'https://popa.org/blog/index/']}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# -420049029356.0
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('0.3463046')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ u'EhbpOVCVYSjByFhPoUPG',
# u'hQzcnXIbWlGGKuBugAxX',
# u'ZpYWfsZgIKBLTNgKafjW',
# 3040,
# u'yjKWAzRraKRMwZyoUKNt',
# u'georgescujohn@diaconu.org',
# u'https://www.popa-tomescu.biz/blog/list/list/search/',
# u'ecCLnSgnMOwtrDFHFLxe',
# u'zeAjBbQtAagauLVqfyaN',
# u'zjgrNGQBwmOJRJYlqgIP']
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( 7522,
# -966205.779097418,
# u'ardeleanjane@nistor-albu.com',
# u'JtyXzpBAkkuTQfjJsghE',
# u'EmGWcUWmjqVHulQKKfkS',
# u'http://www.toma.com/categories/explore/posts/main/',
# Decimal('26859661191.8'),
# 795767462073113.0)
fake.pybool()
# True
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([4832, u'BZwauwJEmKZKwoYqyOQB', datetime.datetime(1971, 8, 7, 5, 20, 19), u'cxkkPSQbooSCERLvlPNY', 1455, u'john19@nistor.net', u'osKDjdLFGhBgRIZcxLZN', u'WivwkUuqxpvvyPWnGWsO', 3518, 575])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'eveniet': u'https://www.ene.com/index/',
# u'natus': u'SBVbSLxsXCVKVYwjmxZO',
# u'numquam': datetime.datetime(2002, 12, 3, 1, 26, 4),
# u'quae': u'john91@ionita.biz',
# u'quaerat': u'PvTOkchFAGLRlBAxWTFA',
# u'qui': -280.14249789,
# u'sapiente': u'ZiisljwmbOsorLMVVxJt',
# u'sequi': datetime.datetime(1986, 8, 27, 11, 16, 53)}
fake.pyint()
# 2295
faker.providers.ssn
¶
fake.ssn(taxpayer_identification_number_type="SSN")
# u'527-59-1341'
fake.ein()
# u'91-1268743'
fake.itin()
# u'969-76-8846'
faker.providers.user_agent
¶
fake.mac_processor()
# u'Intel'
fake.firefox()
# u'Mozilla/5.0 (Macintosh; PPC Mac OS X 10_12_9; rv:1.9.4.20) Gecko/2012-03-30 23:05:18 Firefox/3.6.17'
fake.linux_platform_token()
# u'X11; Linux i686'
fake.opera()
# u'Opera/9.23.(Windows NT 5.01; da-DK) Presto/2.9.185 Version/10.00'
fake.windows_platform_token()
# u'Windows 98; Win 9x 4.90'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.2; Trident/3.0)'
fake.user_agent()
# u'Mozilla/5.0 (X11; Linux i686) AppleWebKit/5362 (KHTML, like Gecko) Chrome/16.0.821.0 Safari/5362'
fake.linux_processor()
# u'i686'
fake.chrome(version_from=13, version_to=63, build_from=800, build_to=899)
# u'Mozilla/5.0 (Windows NT 5.0) AppleWebKit/5321 (KHTML, like Gecko) Chrome/32.0.835.0 Safari/5321'
fake.mac_platform_token()
# u'Macintosh; U; PPC Mac OS X 10_7_3'
fake.safari()
# u'Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_6_1 rv:5.0; ce-RU) AppleWebKit/533.17.4 (KHTML, like Gecko) Version/4.0.1 Safari/533.17.4'