Language hu_HU¶
faker.providers.address
¶
fake.latitude()
# Decimal('87.984943')
fake.street_address_with_county()
# u'Budapesti \xfat 246.\nJ\xe1sz-Nagykun-Szolnok megye\nH-8870 Sz\xe9kesfeh\xe9rv\xe1r'
fake.street_name()
# u'B\xe9k\xe9scsabai utca'
fake.address()
# u'Sz\xe9kv\xe1rosi utca 192.\nH-7374 f\xfcrd\u0151v\xe9g'
fake.street_address()
# u'J\xf3zsef attila utca 14.'
fake.postcode()
# u'H-1878'
fake.country_code(representation="alpha-2")
# u'KE'
fake.longitude()
# Decimal('-83.675242')
fake.country()
# u'Ruanda'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('130.542271')
fake.city_part()
# u'gy\xf6rgy'
fake.street_suffix()
# u'utca'
fake.city_prefix()
# u'n\xe9met'
fake.city_suffix()
# u'haraszti'
fake.building_number()
# u'245.'
fake.frequent_street_name()
# u'Pet\u0151fi S\xe1ndor'
fake.county()
# u'Szabolcs-Szatm\xe1r-Bereg'
fake.real_city_name()
# u'B\xe9k\xe9scsaba'
fake.city()
# u'h\xe1tharaszti'
faker.providers.automotive
¶
fake.license_plate()
# u'BAP-984'
faker.providers.bank
¶
fake.bban()
# 'EZHD6843810979374'
fake.bank_country()
# 'GB'
fake.iban()
# 'GB92BPCF7986576153465'
faker.providers.barcode
¶
fake.ean(length=13)
# u'7707470845133'
fake.ean13()
# u'3671521336182'
fake.ean8()
# u'44909789'
faker.providers.color
¶
``faker.providers.company``
fake.company()
# u'Simon \xe9s t\xe1rsa Kft.'
fake.company_suffix()
# u'Kht.'
fake.catch_phrase()
# u'Enhanced 6thgeneration framework'
fake.bs()
# u'empower extensible users'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'5171'
fake.credit_card_provider(card_type=None)
# u'VISA 19 digit'
fake.credit_card_full(card_type=None)
# u'Maestro\nHanna T\xf3th\n676167186995 12/21\nCVV: 069\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '06/23'
fake.credit_card_number(card_type=None)
# u'3512123728984217'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'FTH'
fake.currency_code()
# 'UAH'
fake.currency_name()
# 'Peruvian sol'
fake.cryptocurrency_name()
# 'Monero'
fake.cryptocurrency()
# ('GRC', 'Gridcoin')
fake.currency()
# ('CRC', 'Costa Rican col\xc3\xb3n')
faker.providers.date_time
¶
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2018, 9, 8, 23, 17, 9)
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0xffffa9fbaeb0>
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(1992, 6, 22, 1, 26, 26)
fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2013, 7, 29)
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 8, 8, 3, 9, 49)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2018, 8, 1)
fake.day_of_week()
# u'szombat'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2010, 5, 5, 7, 6, 49)
fake.date_between(start_date="-30y", end_date="today")
# datetime.date(1991, 3, 19)
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2014, 4, 28, 9, 7, 33)
fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '1999-01-22'
fake.am_pm()
# 'AM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2018, 8, 16, 10, 58, 37)
fake.date_object(end_datetime=None)
# datetime.date(1992, 1, 18)
fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2018, 6, 1)
fake.iso8601(tzinfo=None, end_datetime=None)
# '1970-05-14T12:23:17'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2018, 8, 31)
fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2010, 8, 24)
fake.month()
# '02'
fake.year()
# '2001'
fake.day_of_month()
# '17'
fake.unix_time(end_datetime=None, start_datetime=None)
# 349629391
fake.timezone()
# u'Europe/Zagreb'
fake.century()
# u'X'
fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(1947, 5, 15)
fake.time_object(end_datetime=None)
# datetime.time(1, 57, 24)
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 3, 6, 1, 49, 51)
fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(1977, 10, 28, 18, 17, 58)
fake.time(pattern="%H:%M:%S", end_datetime=None)
# '14:16:34'
fake.date_this_month(before_today=True, after_today=False)
# datetime.date(2018, 8, 8)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2018, 8, 2, 10, 38, 28)
fake.month_name()
# u'okt\xf3ber'
fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(2001, 9, 15, 21, 40, 49)
fake.time_delta(end_datetime=None)
# datetime.timedelta(14768, 66250)
faker.providers.file
¶
fake.unix_device(prefix=None)
# u'/dev/vdj'
fake.mime_type(category=None)
# u'model/iges'
fake.file_path(depth=1, category=None, extension=None)
# u'/eos/molestiae.jpeg'
fake.unix_partition(prefix=None)
# u'/dev/xvdw9'
fake.file_name(category=None, extension=None)
# u'repellendus.numbers'
fake.file_extension(category=None)
# u'pdf'
faker.providers.internet
¶
fake.ascii_free_email(*args, **kwargs)
# 'abelpapp@hotmail.com'
fake.image_url(width=None, height=None)
# u'https://placeholdit.imgix.net/~text?txtsize=55&txt=52x538&w=52&h=538'
fake.tld()
# u'com.hu'
fake.email(*args, **kwargs)
# u'cvincze@hotmail.com'
fake.url(schemes=None)
# u'https://www.tith.info/'
fake.ipv4_private(network=False, address_class=None)
# '10.110.153.28'
fake.user_name(*args, **kwargs)
# u'evavarga'
fake.uri_extension()
# u'.html'
fake.uri_page()
# u'category'
fake.free_email_domain(*args, **kwargs)
# u'gmail.com'
fake.safe_email(*args, **kwargs)
# u'julianna88@example.com'
fake.ascii_email(*args, **kwargs)
# 'mariagaspar@yahoo.com'
fake.ipv4_network_class()
# u'c'
fake.ipv4_public(network=False, address_class=None)
# '134.77.143.3'
fake.ascii_company_email(*args, **kwargs)
# 'ferenchalasz@horvath.org'
fake.domain_name(*args, **kwargs)
# u'deak.info'
fake.ipv4(network=False, address_class=None, private=None)
# '34.95.107.225'
fake.domain_word(*args, **kwargs)
# u'virag'
fake.slug(*args, **kwargs)
# u'dolorum-fuga'
fake.uri_path(deep=None)
# u'explore'
fake.company_email(*args, **kwargs)
# u'kissbalazs@kovacs.com.hu'
fake.uri()
# u'http://www.fulop.org/app/register.html'
fake.ipv6(network=False)
# 'ed39:d524:c5e9:8cd3:d1b5:b9d1:141a:f60f'
fake.free_email(*args, **kwargs)
# u'torokveronika@hotmail.com'
fake.ascii_safe_email(*args, **kwargs)
# 'vantal@example.org'
fake.mac_address()
# u'5a:58:e0:0d:2b:79'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'1-911631-30-6'
fake.isbn13(separator="-")
# u'978-0-7121-9139-5'
faker.providers.job
¶
fake.job()
# u'Pedag\xf3giai szak\xe9rt\u0151'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Architecto dolores aspernatur. Rem cupiditate rem reprehenderit et provident nostrum. In reiciendis cupiditate non dicta sint corrupti.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Ea cumque aliquam. Nihil praesentium dignissimos assumenda saepe esse quaerat vero. Asperiores impedit aliquid velit at quia deserunt.',
# u'Assumenda non accusamus qui saepe soluta dolorem. Accusantium laudantium quia repellat ea voluptates ipsum suscipit.',
# u'Molestiae distinctio nostrum quidem nulla. Facilis itaque et saepe consequatur molestias neque eos. Sequi dolorum vitae maxime consequatur numquam.']
fake.words(nb=3, ext_word_list=None)
# [u'porro', u'iure', u'dolorem']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Impedit optio sed quibusdam laboriosam voluptatum non.',
# u'Fuga ducimus sint voluptatem quis praesentium ipsum nostrum.',
# u'Molestias recusandae nostrum corrupti illo non ratione quas.']
fake.word(ext_word_list=None)
# u'nemo'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Ducimus mollitia accusantium. Consequuntur perspiciatis laudantium modi mollitia est.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Ullam vel voluptate dicta nam illo.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'*FCot5GR0#'
fake.locale()
# u'tk_TM'
fake.binary(length=1048576)
# bytearray(b'\xf6\x1f\xcd\xae\xb7\x9f\xfb*Y|zl\xb7\xb8\x99!\x0cR\xa3\x01\xcd\xda\xe5\x9a\xbeB\xea\xdb\xb9\x95Ib&\x82\xe3\xca{r\x9a\xfd\xb4\xf3[/g&7\xad+\x01\x1f\x1f\xe6\x02\r\xb8\xa1A*\xd4\xf0%\r\x0c.\x12\x0b!("\xb1\x16S\xda\xdb\xeb@\x17\t\xbe\x96^\x0f\xb1\xc6Z\r|\xe2z\x9f\xcct\xd5\xad\xdal\x88\xd7b\x88Kg\x87\x11\xf4\xe1\x82\x99\x17k0\xa7\xcc\x97\xae\xa6\xa0\xb2\xb9%\x04\xfd\xb1\x01\xfeh*\xf0\xb7d2 \xff\xaf\xa40\x08\x9f\xc6\xc3\x0f\x8a\x0b\x04\xb0\xc0I\x0b\x1e-\x7f/\xc87\xf9\xd2\xf01=\x90\xbf\x1b\xca\x9a\x13\x11\xc3T\xfd\x87\x1b\x90?\x82\xa5\xb8A\xda\x98\x87\xa6\xc5\xae\xa7#\xc21\xe7c\xfb\x89x4D\xa4\x19@\x017\x7fmy\x18A\x08\x9dN\xa3\xa5\x13p+\x04\xa4\x8c\x88\xec\xdf\x94\xc0\x12\xef\xb4\x97\x90\xb5\xabkR!\x9d\xe6\xb4i\xbd\xd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9bk\x06\xb2\xb4\xd9\x9ft')
fake.md5(raw_output=False)
# '8ac3c0100bd665304b0ac02307be50b1'
fake.sha1(raw_output=False)
# '50efe42847f3bdcbe42db794f219461d6f163643'
fake.null_boolean()
# None
fake.sha256(raw_output=False)
# 'fbdad3aa6ccf761717ca5f1af9b178be3411be9acc809314a03931f4b8fb7085'
fake.uuid4()
# '9676c771-f6e1-d508-7272-916a457d00c0'
fake.language_code()
# u'as'
fake.boolean(chance_of_getting_true=50)
# False
faker.providers.person
¶
fake.last_name_male()
# u'Katona'
fake.first_name_female_abbreviated()
# u'B.'
fake.name_female()
# u'Kis K\xe1lm\xe1nn\xe9'
fake.prefix_male()
# u'Dr.'
fake.prefix()
# u'Dr.'
fake.name()
# u'Hajdu Nagy K\xe1roly'
fake.suffix_female()
# u''
fake.name_male()
# u'G\xe1sp\xe1r Bence B\xe1lint'
fake.first_name_male_abbreviated()
# u'L.'
fake.first_name()
# u'Krisztina'
fake.suffix_male()
# u''
fake.suffix()
# u''
fake.last_name()
# u'Pint\xe9r'
fake.first_name_female()
# u'D\xf3ra'
fake.last_name_female()
# u'Fazekas'
fake.first_name_male()
# u'\xc1bel'
fake.prefix_female()
# u'Dr.'
faker.providers.phone_number
¶
fake.phone_number()
# u'06-71/521 7793'
fake.msisdn()
# '7821668414998'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'Szabads\xe1g utca 29.\nH-9612 kunmell\xe9kb\xe1nya',
# 'birthdate': datetime.date(1959, 3, 8),
# 'mail': u'horvathmargit@gmail.com',
# 'name': u'I. Balogh Tam\xe1s',
# 'sex': 'M',
# 'username': u'umezei'}
fake.profile(fields=None, sex=None)
# { 'address': u'Szolnoki utca 173.\nH-3017 h\xeddv\xe1ra',
# 'birthdate': datetime.date(1967, 10, 27),
# 'blood_group': 'AB-',
# 'company': u'Tak\xe1cs Kkt.',
# 'current_location': (Decimal('-78.3515445'), Decimal('-65.389529')),
# 'job': u'Br\xf3ker',
# 'mail': u'laszli92@yahoo.com',
# 'name': u'Dr. S\xe1ndor Horv\xe1th Erzs\xe9bet',
# 'residence': u'Nagyt\xf3ti utca 3.\nH-7061 Ny\xedregyh\xe1za',
# 'sex': 'F',
# 'ssn': u'21809210532',
# 'username': u'uolah',
# 'website': [ u'http://www.szabi.info/',
# u'https://orsis.biz/',
# u'http://www.kovacs.info/',
# u'https://www.lakatos.net/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# set([5538, Decimal('3.15577308906E+12'), 9545, u'yxcqNubjQvwpkUxtsKmb', u'tamasnemeth@varga.biz', u'eHQzLJpUXYhrilLsvuOm', Decimal('366944.631'), 9983])
fake.pystr(min_chars=None, max_chars=20)
# u'iUWVAMLvoslMkbPJPnAW'
fake.pystruct(count=10, *value_types)
# ( [ datetime.datetime(2004, 3, 18, 18, 41, 34),
# 1291.0,
# u'horvathedit@hotmail.com',
# 9501,
# -979.141981,
# u'sXuFjiAIDqLpnHNNNjde',
# u'LYOhiDrbUUfQTqQtoSuw',
# u'barnajanos@szabi.org',
# 7586,
# u'tNJxdoMQqNWvkZGgRfky'],
# { u'doloribus': u'https://www.szabi.hu/faq.jsp',
# u'eveniet': u'http://www.bognar.org/categories/categories/home.html',
# u'ipsa': 7194,
# u'iste': u'vCdzFfHnjPQFfssSResM',
# u'molestiae': datetime.datetime(1982, 6, 14, 21, 9, 10),
# u'mollitia': 2949,
# u'officia': u'cyMVaYhxnRWXGjIoYWpl',
# u'porro': u'WpRWoMzsGTHeiWjVpbzL',
# u'quaerat': 9261,
# u'rerum': datetime.datetime(1994, 5, 10, 11, 36, 24)},
# { u'dolorem': { 1: -106580536.4,
# 2: [ u'MzXQQztiHoUdmcXDJeXN',
# u'https://www.bogdan.info/author.html',
# 6949],
# 3: { 1: u'KTwEsONdgzDPABpFuHbf',
# 2: u'lWkavtcWnjwkVJOMhnPY',
# 3: [9175, u'OZXColonGAdGoMVlPfMm']}},
# u'dolorum': { 6: u'IsaOkovEGfjxCTeVUYsO',
# 7: [ u'PCtfMIOZaAiMFsPDwKMp',
# 625,
# u'http://biri.com.hu/search/tags/privacy/'],
# 8: { 6: u'nagyerika@tith.com.hu',
# 7: u'unXVumHMyzajvKCRTsng',
# 8: [ datetime.datetime(1997, 3, 22, 16, 19, 51),
# u'HsNZfPlTwhpjJPIywwWt']}},
# u'exercitationem': { 8: 8129,
# 9: [ datetime.datetime(1995, 2, 10, 8, 46, 51),
# u'RiQvrTGqzQmzygCSreIv',
# 2286],
# 10: { 8: u'szabipal@magyar.org',
# 9: 1065,
# 10: [9703, u'zqCNOwwcszubaytrbPiy']}},
# u'hic': { 7: u'https://www.horvath.hu/home.jsp',
# 8: [ -43318.299,
# datetime.datetime(1993, 1, 29, 4, 1, 7),
# u'ZhuibkJxLVHUasrNEEAz'],
# 9: { 7: 2910675345295.49,
# 8: u'VbMHZJSgaogNhAvkvznD',
# 9: [ -94153589857.574,
# datetime.datetime(1982, 4, 29, 22, 24, 42)]}},
# u'quasi': { 5: datetime.datetime(1974, 6, 14, 7, 28, 25),
# 6: [u'ugFobDcVBsChfXXCKlPF', 32, 44],
# 7: { 5: Decimal('-84271313927.0'),
# 6: u'nmIuGuOdKpINGVQVpwBc',
# 7: [u'GacYnCkPlCflpgPguJMU', 68104983.0]}},
# u'quod': { 4: u'https://www.papp.hu/tags/terms/',
# 5: [ u'IZyhdzhzTIjlvRSzVoGs',
# -417.95573272,
# datetime.datetime(2014, 10, 10, 8, 19, 5)],
# 6: { 4: -283649194.92184,
# 5: u'azKGFMLETNVeZDqIhqSD',
# 6: [u'aBvkkJWGvwNGdVfKBkdj', 53506477026.81]}},
# u'repellendus': { 9: u'dkohMPYPyJIsUoVppFsc',
# 10: [ -561553.98,
# u'hyWpANZjMjqVcAmhUBBU',
# u'margit66@barna.hu'],
# 11: { 9: u'DMmysPHgZozoiCSnIFyB',
# 10: u'itith@racz.info',
# 11: [ u'IJZLvSgshTIvwTECICgR',
# 308455795.844]}},
# u'soluta': { 3: 6057,
# 4: [ datetime.datetime(2015, 10, 26, 23, 31, 18),
# u'rmXGTvkSJwrklMqOROUZ',
# u'https://www.horvath.com/blog/category.html'],
# 5: { 3: -514866025.908023,
# 4: u'sBSsrZvUWAtAIobNNuva',
# 5: [-286761637.802, u'YUdfAvFlPtyFZFiiOuic']}},
# u'unde': { 0: -10865747986609.7,
# 1: [ 2992,
# Decimal('299734.0'),
# u'http://tith.com/search/post.php'],
# 2: { 0: datetime.datetime(1971, 11, 25, 11, 22, 57),
# 1: u'HvLpDjbggslvxHQBPaoF',
# 2: [Decimal('-581292195.0'), 2392]}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# 35.538
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('-47673.94')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ 21184.9,
# 6756,
# 8919,
# u'ZbkjTTiKleMjBltHiygk',
# u'https://www.tith.info/tag/posts/tags/search/',
# u'EhidseZqascHyLMCbaqZ',
# u'guXQLOydHXwnZwNeUHbV',
# Decimal('-97229.85'),
# u'hFBHCulXVDHPJeGgIPsg']
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( u'nIWPdYLltMBgVHtjxgQW',
# u'pappjizsef@gmail.com',
# u'ferenc97@jakab.biz',
# u'NVxbMXFJGTduqGZXJEVE',
# u'veronikafodor@olah.biz',
# Decimal('6.83324880725E+13'),
# 3640,
# u'vivienfodor@katona.org',
# u'gCCZHRDxFSffydbhhPQu',
# u'meszaroszsuzsanna@hotmail.com')
fake.pybool()
# False
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([datetime.datetime(1970, 5, 28, 2, 17, 45), Decimal('-4.86779728233E+12'), u'XyvNaMWbpFxSbdhhlYuv', u'OeQqVKsBGpMAGVTzmrwz', Decimal('9.84574954811E+13'), u'lpDtDJwlWNtXUisNtLek', -3733666870291.89, datetime.datetime(1990, 2, 18, 23, 9, 59)])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'fuga': u'szabililla@gmail.com',
# u'illo': u'EMkiuoraevpucwycHMwc',
# u'ipsam': -660068432.52697,
# u'iusto': u'SDujzupFhgstIQoGdzhh',
# u'nihil': u'baloghandras@hegedus.com.hu',
# u'quasi': u'FPeUHEFtRSUdGUqtCirs',
# u'rem': datetime.datetime(1993, 7, 10, 14, 41, 50),
# u'sunt': 2230,
# u'ut': u'bmqLeJXRlambWTZXMEAw',
# u'voluptatibus': Decimal('58405245.3')}
fake.pyint()
# 4972
faker.providers.ssn
¶
fake.ssn(dob=None, gender=None)
# u'14011018950'
faker.providers.user_agent
¶
fake.mac_processor()
# u'PPC'
fake.firefox()
# u'Mozilla/5.0 (Macintosh; PPC Mac OS X 10_6_9; rv:1.9.4.20) Gecko/2012-02-26 11:57:25 Firefox/3.6.11'
fake.linux_platform_token()
# u'X11; Linux i686'
fake.opera()
# u'Opera/8.39.(Windows NT 6.2; fa-IR) Presto/2.9.185 Version/12.00'
fake.windows_platform_token()
# u'Windows NT 5.0'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 8.0; Windows CE; Trident/3.1)'
fake.user_agent()
# u'Mozilla/5.0 (Windows; U; Windows NT 5.0) AppleWebKit/535.4.1 (KHTML, like Gecko) Version/4.1 Safari/535.4.1'
fake.linux_processor()
# u'x86_64'
fake.chrome(version_from=13, version_to=63, build_from=800, build_to=899)
# u'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/5360 (KHTML, like Gecko) Chrome/25.0.849.0 Safari/5360'
fake.mac_platform_token()
# u'Macintosh; U; PPC Mac OS X 10_7_5'
fake.safari()
# u'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_7_8 rv:4.0; tig-ER) AppleWebKit/534.1.5 (KHTML, like Gecko) Version/5.0 Safari/534.1.5'