Language hr_HR¶
faker.providers.address
¶
fake.latitude()
# Decimal('-60.9398565')
fake.street_name()
# u'Istarska'
fake.address()
# u'Ru\u017ei\u010dnjak 8c/5\n53406 Beli Manastir'
fake.street_address()
# u'Vijenac 5'
fake.postcode()
# u'80567'
fake.country_code(representation="alpha-2")
# u'PL'
fake.longitude()
# Decimal('82.812040')
fake.country()
# u'Zambija'
fake.city_name()
# u'Pazin'
fake.street_suffix()
# u'Street'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('-15.579218')
fake.city_suffix()
# u'Ville'
fake.building_number()
# u'2b/9'
fake.city()
# u'Vukovar'
fake.state()
# u'Po\u017ee\u0161ko-slavonska'
faker.providers.automotive
¶
fake.license_plate()
# u'P02 1RL'
faker.providers.bank
¶
fake.bban()
# 'XHKA3137050730025'
fake.bank_country()
# 'GB'
fake.iban()
# 'GB82WCGP1146062735122'
faker.providers.barcode
¶
fake.ean(length=13)
# u'6049368038502'
fake.ean13()
# u'0032488880881'
fake.ean8()
# u'75514006'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(62,245,54)'
fake.color_name()
# u'Tamna magenta'
fake.rgb_color()
# u'224,10,61'
fake.safe_hex_color()
# u'#dd5500'
fake.safe_color_name()
# u'mornarska'
fake.hex_color()
# u'#f7ec8d'
faker.providers.company
¶
fake.company()
# u'Vu\u010deti\u0107 j.d.o.o.'
fake.company_suffix()
# u'j.d.o.o.'
fake.catch_phrase()
# u'Persistent actuating data-warehouse'
fake.bs()
# u'mesh next-generation experiences'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'021'
fake.credit_card_provider(card_type=None)
# u'Maestro'
fake.credit_card_full(card_type=None)
# u'VISA 16 digit\nMira Kunac\n4740060185346054 03/23\nCVC: 291\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '09/23'
fake.credit_card_number(card_type=None)
# u'060451555654'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'EOS'
fake.currency_code()
# 'MKD'
fake.currency_name()
# 'Polish zloty'
fake.cryptocurrency_name()
# 'MazaCoin'
fake.cryptocurrency()
# ('ZEC', 'Zcash')
fake.currency()
# ('ANG', 'Netherlands Antillean guilder')
faker.providers.date_time
¶
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2018, 9, 2, 4, 53, 34)
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0x7f6bc9ea00f0>
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, 6, 5, 2, 26, 27)
fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2011, 10, 3)
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 8, 13, 15, 46, 5)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2018, 8, 12)
fake.day_of_week()
# u'Srijeda'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 2, 10, 11, 57, 6)
fake.date_between(start_date="-30y", end_date="today")
# datetime.date(2005, 8, 8)
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2015, 6, 14, 4, 51, 26)
fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '2001-06-20'
fake.am_pm()
# 'PM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2018, 8, 16, 9, 28, 16)
fake.date_object(end_datetime=None)
# datetime.date(1996, 11, 22)
fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2018, 4, 6)
fake.iso8601(tzinfo=None, end_datetime=None)
# '2005-10-15T16:08:07'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2018, 9, 12)
fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2012, 11, 14)
fake.month()
# '08'
fake.year()
# '2010'
fake.day_of_month()
# '02'
fake.unix_time(end_datetime=None, start_datetime=None)
# 647344775
fake.timezone()
# u'Africa/Abidjan'
fake.century()
# u'IX'
fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(2017, 6, 28)
fake.time_object(end_datetime=None)
# datetime.time(14, 1, 12)
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 4, 13, 9, 3, 6)
fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(1995, 2, 18, 1, 44, 35)
fake.time(pattern="%H:%M:%S", end_datetime=None)
# '17:16:24'
fake.date_this_month(before_today=True, after_today=False)
# datetime.date(2018, 8, 6)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2018, 8, 3, 16, 41, 23)
fake.month_name()
# u'Svibanj'
fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(1790, 11, 22, 1, 34, 18)
fake.time_delta(end_datetime=None)
# datetime.timedelta(17173, 32254)
faker.providers.file
¶
fake.unix_device(prefix=None)
# u'/dev/vdx'
fake.mime_type(category=None)
# u'video/mpeg'
fake.file_path(depth=1, category=None, extension=None)
# u'/assumenda/illo.avi'
fake.unix_partition(prefix=None)
# u'/dev/sdo5'
fake.file_name(category=None, extension=None)
# u'enim.jpg'
fake.file_extension(category=None)
# u'csv'
faker.providers.internet
¶
fake.ascii_free_email(*args, **kwargs)
# 'sarlijadora@inet.hr'
fake.image_url(width=None, height=None)
# u'https://dummyimage.com/51x973'
fake.tld()
# u'hr'
fake.email(*args, **kwargs)
# u'fsalic@sinozic.com.hr'
fake.url(schemes=None)
# u'https://www.matovina.net/'
fake.ipv4_private(network=False, address_class=None)
# '10.37.84.52'
fake.user_name(*args, **kwargs)
# u'anita96'
fake.uri_extension()
# u'.php'
fake.uri_page()
# u'about'
fake.free_email_domain(*args, **kwargs)
# u'yahoo.com'
fake.safe_email(*args, **kwargs)
# u'hrvojekovacevic@example.com'
fake.ascii_email(*args, **kwargs)
# 'ovretenar@tesija.hr'
fake.ipv4_network_class()
# u'c'
fake.ipv4_public(network=False, address_class=None)
# '70.54.81.88'
fake.ascii_company_email(*args, **kwargs)
# 'mile63@makovac.com.hr'
fake.domain_name(*args, **kwargs)
# u'raguz.net'
fake.ipv4(network=False, address_class=None, private=None)
# '245.8.14.44'
fake.domain_word(*args, **kwargs)
# u'mustapic'
fake.slug(*args, **kwargs)
# u'dolore-aliquid'
fake.uri_path(deep=None)
# u'blog/main'
fake.company_email(*args, **kwargs)
# u'nbaric@klaric.org'
fake.uri()
# u'http://lesic.net/search/'
fake.ipv6(network=False)
# 'a20d:be00:335a:9d46:f1f6:4892:376b:cda1'
fake.free_email(*args, **kwargs)
# u'anton76@t.ht.hr'
fake.ascii_safe_email(*args, **kwargs)
# 'matehrvojic@example.org'
fake.mac_address()
# u'8c:f7:af:5d:29:8e'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'1-346-79835-4'
fake.isbn13(separator="-")
# u'978-0-86258-346-0'
faker.providers.job
¶
fake.job()
# u'Muzejski tehni\u010dar'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Vero iusto dolorem odit voluptatum necessitatibus. Distinctio animi accusantium corrupti vel officia aut.\nFacilis neque vitae quibusdam ducimus omnis hic nam.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Velit harum inventore architecto. Itaque totam delectus qui.',
# u'Cupiditate aspernatur sed. Ea cum non ea reprehenderit. Libero totam vel optio quisquam consequuntur. Ipsam cupiditate quasi aliquam ea ex.',
# u'Distinctio eveniet atque exercitationem voluptate a veritatis dolores. Fugit totam minima. Reprehenderit quod laborum dignissimos tenetur laudantium nesciunt.']
fake.words(nb=3, ext_word_list=None)
# [u'quae', u'odio', u'quas']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Delectus totam expedita ut at maxime laboriosam sequi.',
# u'Laboriosam commodi modi inventore sunt modi cumque.',
# u'Suscipit molestias consequuntur est.']
fake.word(ext_word_list=None)
# u'explicabo'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Voluptatum dolorem nisi repellat qui a. Nostrum inventore maxime accusantium.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Nulla eveniet molestiae consectetur ea cumque corrupti adipisci.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'GcXVglbE_1'
fake.locale()
# u'sq_ML'
fake.binary(length=1048576)
# bytearray(b'\x90&\x9bx\xf6a\xb8\x91\xf6\xe7Y\xef\xbd\xb1\xc6b\x9a\xfcV\xf8\x8a\xc8\xd0\x0cC\xa8d4H\xc1\\\xd8\x04\xb0\xec\x90\xc6z\x86\xbd\xe2"Z\xe0tm\xd3\xb6p\x1atc\xbaS\x87\xa1tpz\xe0\xe0Sl\xcbp\x06\x83^\xff\xc6\xb3\xd0\x06\xe8\xdeH*\xdf#4\r\xd99\xc0;\xe4\x9a\xe6BL\x9e\xa3\xbd\x05G!9\xfe\xa2 \xcf7\xdf\x86G\xce~(\xbd\xa1\xe4`\xc8\x84\xbd\'\xc7\x90$\xcaVq\x8f\xc4*\x95\x97\xb0\xf27F\n+\xb5\x82\xd9Oyk>\x15\xe8\xdd\x1a\xa4c\xdeV\xf5\xd8\xf8[\n\xfc\xc5\xc4@t\x89\x15\xa6\xc0\xbe\x89\xba$\xb8\x01s\xca\xf5\xaf^\x8fV\xb9\x91\xa3m*qT\x12\x7fJ\xa0A\x03f\xe8\xde2\xae\x15\xd7\xf0~dD7\x7f\x1cO\x16\xe6\xd3\x155\xcaG\x89\x83=g\xe8\xa3\x80\xbcme\xeeXF\xe6\xd5\xe1x\xfcf \xf5\xc8\xc3\xb3\x81\xdf\x96\xb9\x98\xffU\x8e\\W\xa5\x1b~\xd9\x0eM\xc8g\x87\xfa\xe2|\xba]\n\xd1\x8a\xad\xf8\xf3$E\xb7\x96D\x0b\x87\xe5%\xf7\x17/D\xd8\xcc\x82\xb5\x8ba\x9c8\x1d\x1ak\x19l\xb8\x806\xb8\x18B\x97R\x83-K\xe2V\x88\x1a~-\x08\x80\x89\x99"\x15\xa7hFC`\xb77!\x98\xe2\x9d5SZ\xbcbz\xb1\xf9\xdf\xe2\xf9\xb1/i\xda^\xb9\xbb\xda\xd1Y9\x15\x0e\xfa9\xd7R\xd6\x08\xec\x11r\x99\x05PX\xe8.\x10\xb5\xe4\xdfCM*\xd6aB\x10@s\xe1\r\xdd\xaaY\x96\xf2\x1f\x8f\x06`\xab\xae4\xba>\x82Q\xd8u@\r\xef:D\xfc"K\x9cVF\xadV/\x89Q\xee\xeeR+\xdb{\x1a \xe1GP\xd6o\xb3\xd4G\x9f\xd71\xa6i\x1f\xe7\xfa\xad2\xc0\x151GC-\x8d\x8b\xb8\xc5l\xf0\x86\xff\xfc\xe0}\x87.\xf03\xe8B\xbei\xaa\xcd/b?\x19&\xca\x1d2\xe3\xb7\xdf\x99\x85j\xadr\xa72\xb7U\x83\xef\xdez\x0fD\x89\xe2\xde1-C\xa0s\xa3\xc4\x05\x15\xd6\xb2\x84e\xf5\xfe\x03\xef\xc8\x80\xcb\xd3\x13\nf\'\xa0{\x86\xf4\xbe\x1a|\x19\n\xb4>O\xfe\x1bv0\x1d`\xed\xf9\xfdMCQ\x8f\xbe\x9bQ\xdcJ\t\x8bBU\x1b<\xa4O\'\xe3\xe0F\xd6\xebc\xb5\x05\xab\x1e,\xb9\x135`^Z\xfd<\xd0\xbd\xfd\x11\x08\xbf\xd4\xaeR<\xe7\x13a\x01\xb3\xae\xd6\x9b\xa2\x01\x90\x1c\xf5{\x85\x7fK\xc7\xa5#Q\xfad!\x9e\xcdLf\x1a\'\x1a\x85\n\x06\x89*Eh\xc8T\x0b\xf3;\x83\x81\xb0T\xb5\xa6"\xe1\x17\xb6Yt\xb7\xd4ZP8\xc7(1\xa6\x92\xb0\xd2Q\xcaT\xc5\xf3\xce\xc5\xdb\xb2M\xa7\x16\xe1\xc6QF\xc8\xe1(\x9f\xb7\xfe\x9e\xf3~\xe1\xe9\xbf\xeaN!\x81S\xec\xae\xacbSZb\x01\xaa\xba\xbd\x87r\x89\xd9\x1c\xb7\x8f\xd1,\xa9\xa4\x97\xa9\x91<\x97\xb7\xdb\x91\x1f\xe6\x08\xde\x05^\xbe\xfb\x12\xc6\xc6tQ\x8e4\xbb>\xffg/Rf\xb8\x1d\x814\x1ct%\x81\x83c\x90,\x13VD\\`V\x83\xe5B<\x8biP\x02v\x13\x9ci\xf9\xc5\x84\xfc9\x1f\xdaX\xb4\xda\xc3\x05DlW\xcb\xd8Ss\xc4^\xe0=\xc3"\xb4^\xfaG\xa5\xc2\x8c\x81F=\xbe-\xe0\xc0_F;\xb2e\xb1\xd3\x0c\xae\xb1s\xc6s\t\xb8\x1fa=\xe5\xcd\xce\x02s\xbe[\xea\x0e\xa7g\xb5\\\x07v\xda\xa2\\\xf07w\xbaP \xdd\x9eXxw\xd9\xeda}\x96\x83\'\x9eM\xf8\x9dI\xc4\x15\xaf\xd2bE]\xb5BJ\xc3+\xe7\xa6\x16\xbe\x1b:\x15{\xe6\xde\xceX\x11r\xc6\xf4\xd4\x15O\xa0A\x85\x83\x93\xdcO\xb5\xf3\x0bH\xde]H\xc7r;Y\x15^\x01\xde\xf2\xd4\xb7{\xa9LU\xf5U`\x8f*:\x84\x84m\xf3\x80w/\xd2\x0c\xce\xc5\x94\x99\xf0I\x85c\x91\x8b&\xe4\xe5R\x87_jR\xd9\xedh\xc6\xb0\xca\\\x96K\x06\rjAI\xb8U\x00i\xa0\xeb\xd1C\x9aW\xb3\x97\xfe\x95\x8a\x931XA;\xbb\xf6d\xe7\xfa\xf5e\xdawJ\xfb\xb8$6\x85:\x87\xf7\x0c\x84(\x8a\xd5|Y\x84\x84\x1c,\x9d')
fake.md5(raw_output=False)
# 'efb43382858b23d825a744f8f68aab73'
fake.sha1(raw_output=False)
# '8e5a800fe6fef8e3abe4c8814cda860518257b61'
fake.null_boolean()
# None
fake.sha256(raw_output=False)
# '25627f5dff4d58823c0d5ec2b1429e46c88db82391c99b434f958969bd13ced4'
fake.uuid4()
# '0eb8d9f5-9cac-7722-08b3-66f59334e576'
fake.language_code()
# u'ik'
fake.boolean(chance_of_getting_true=50)
# True
faker.providers.person
¶
fake.last_name_male()
# u'He\u0107imovi\u0107'
fake.name_female()
# u'Katarina Mirt'
fake.prefix_male()
# u''
fake.prefix()
# u''
fake.name()
# u'Zdravko D\u017eapo'
fake.suffix_female()
# u''
fake.name_male()
# u'Ante \u0160krti\u0107'
fake.first_name()
# u'Sa\u0161a'
fake.suffix_male()
# u''
fake.suffix()
# u''
fake.first_name_male()
# u'Robert'
fake.first_name_female()
# u'Marija'
fake.last_name_female()
# u'Kunac'
fake.last_name()
# u'Glasnovi\u0107'
fake.prefix_female()
# u''
faker.providers.phone_number
¶
fake.phone_number()
# u'01 7350 746'
fake.msisdn()
# '3570159168272'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'Kraljeve\u010dki odvojak 275\n49069 Samobor',
# 'birthdate': datetime.date(1997, 12, 14),
# 'mail': u'bicanicmarica@hotmail.com',
# 'name': u'Mario Tolj',
# 'sex': 'M',
# 'username': u'mira43'}
fake.profile(fields=None, sex=None)
# { 'address': u'Golja\u010dke 1\n97734 Supetar',
# 'birthdate': datetime.date(1909, 7, 7),
# 'blood_group': 'B+',
# 'company': u'Damijani\u0107 Dautanec d.d.',
# 'current_location': (Decimal('50.0606135'), Decimal('16.153373')),
# 'job': u'Djelatnik koji obavlja poslove specijalnih miniranja',
# 'mail': u'bozica82@gmail.com',
# 'name': u'Kristijan \u0160imi\u0107',
# 'residence': u'Kamaufova 4b\n94853 \u0160ibenik',
# 'sex': 'F',
# 'ssn': u'51286734906',
# 'username': u'patrikjurcic',
# 'website': [ u'https://www.polic.com/',
# u'https://dolic.org/',
# u'https://www.paparic.info/',
# u'https://bozicevic.net/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# ( -5881569784.91,
# u'bAutEvKjCAjOHSalFmWn',
# datetime.datetime(2005, 5, 28, 17, 6, 48),
# Decimal('-91280168832.8'),
# -49.9275108885,
# u'mdHSlUxeyHwhLZcYtWYY',
# 338,
# u'wmatahlija@gmail.com',
# u'http://majdenic.net/register.jsp',
# u'glazar@mofardin.com',
# u'https://drazic.net/register.php',
# 735)
fake.pystr(min_chars=None, max_chars=20)
# u'URkVkdjrybvjVKgDbbaE'
fake.pystruct(count=10, *value_types)
# ( [ u'vNIiNzxPwhAyeXLqcUoH',
# datetime.datetime(2012, 7, 25, 20, 6, 17),
# u'anitavucetic@norac.info',
# 988,
# -638820772222.0,
# u'http://www.juretic.info/app/wp-content/explore/privacy.jsp',
# u'gpavlovic@gmail.com',
# 3590,
# datetime.datetime(1979, 2, 22, 15, 54, 11),
# u'grgurevickristijan@zg.t-com.hr'],
# { u'consectetur': u'MMbGvSqXheGVaUqqLzSP',
# u'corporis': u'wlvGCrIFZCokTQcSXqYy',
# u'deserunt': u'HRnOSZSNgsfMlDwqXSxM',
# u'error': 1339,
# u'iusto': Decimal('52201376.5'),
# u'laborum': u'anapesic@godinic.hr',
# u'quasi': u'pavao37@zg.t-com.hr',
# u'sed': u'mLAdTPyilZrUvdLTPtdX',
# u'vitae': u'http://halapir.info/blog/category/about/',
# u'voluptatibus': u'mdmWOLxsjjcFQFOqXCQa'},
# { u'commodi': { 2: datetime.datetime(2015, 1, 1, 14, 13, 16),
# 3: [ u'gcizmic@yahoo.hr',
# -9.0,
# u'PfcDVGqWFKPnnKEtzYbG'],
# 4: { 2: u'ObILJgAgCuBMSQdcNgQX',
# 3: u'http://vlasic.biz/list/list/categories/privacy/',
# 4: [ u'QiadgYuObOgVpoOclVwW',
# u'https://puharic.biz/category.html']}},
# u'delectus': { 3: u'http://www.horvatic.org/search/home/',
# 4: [ -59857955054738.0,
# u'EKfsDVlwOvmBLaQUexSH',
# Decimal('278056.4')],
# 5: { 3: u'https://www.blazicko.info/about.html',
# 4: datetime.datetime(1980, 8, 16, 0, 3, 20),
# 5: [ u'umVCvZmNmGgZEJubiUXy',
# datetime.datetime(2007, 11, 16, 19, 37, 29)]}},
# u'dolores': { 8: u'https://www.muscet.net/tag/list/main/home.htm',
# 9: [ u'macanvladimir@globalnet.hr',
# 6428,
# u'jjmznAoFCIbcNabVYqpf'],
# 10: { 8: u'WBVjxFQhLnmEccVTVrun',
# 9: 3703,
# 10: [ u'http://vukman.info/',
# 1724974544899.31]}},
# u'eveniet': { 7: datetime.datetime(2010, 6, 4, 13, 48, 59),
# 8: [ u'WPAGBnJqglGJKedWZoUC',
# datetime.datetime(1981, 10, 11, 0, 8, 58),
# datetime.datetime(1992, 1, 2, 12, 55, 4)],
# 9: { 7: Decimal('9722.496'),
# 8: u'http://www.piljek.hr/search.html',
# 9: [ u'LtkkkhGtcMLyQrtRbdIr',
# u'jadrankavucin@pozder.com']}},
# u'illo': { 1: Decimal('90505483.8'),
# 2: [ 2666,
# Decimal('93823106.5631'),
# u'maleticdanica@net.hr'],
# 3: { 1: u'gwywAncntAKvkNklGwEQ',
# 2: u'rJcfKOQOBqhmWemTbSoF',
# 3: [ u'ENaikVdZePDUOIYEyHFI',
# u'https://www.mihelcic.com.hr/']}},
# u'maiores': { 6: u'gdKNQzSwDuhSJasHTlYe',
# 7: [ u'wHzpBxfrYfNIQkFTqnGa',
# 4720,
# u'bvUiMbGDvETYeYTegiUD'],
# 8: { 6: datetime.datetime(1987, 3, 19, 21, 10, 12),
# 7: u'MJFSdGPcilAagTNvkgyP',
# 8: [ Decimal('-8936508.80878'),
# Decimal('-46.2598')]}},
# u'mollitia': { 5: datetime.datetime(2006, 8, 24, 0, 56, 52),
# 6: [Decimal('968.7'), 7667, u'surinadavid@inet.hr'],
# 7: { 5: u'https://mamula.net/author/',
# 6: u'IqxalQkLpBimPBNeKdqP',
# 7: [ u'https://www.petricevic.net/search/',
# u'ymmRSGOQsgquJjRjEpej']}},
# u'quo': { 0: u'PRSmMFswjXaaIDQYINYB',
# 1: [ Decimal('70.32'),
# 7507,
# datetime.datetime(2000, 6, 18, 7, 57, 17)],
# 2: { 0: -1954483567850.81,
# 1: u'TMsrGHgNYpZWPBnEPlLk',
# 2: [ u'https://www.karlovic.info/category/tag/privacy/',
# u'uqDBOtARtAaYybzkSylu']}},
# u'quos': { 4: Decimal('9.78402080207E+13'),
# 5: [ u'NwInOreRWvSClFHjXhaG',
# u'ZfnpmVrcezOnboYflbhB',
# u'QmWLFveQztvrtEYPXsDq'],
# 6: { 4: u'PVhBBTFqpPUCBqVcPtAg',
# 5: datetime.datetime(2017, 6, 23, 0, 5, 50),
# 6: [66.8, 5976]}},
# u'repellat': { 9: u'jgWmkNymruqGLMtAKqdF',
# 10: [ Decimal('910861977.0'),
# u'cAFkmNcFswAabivjFRTf',
# -30894858887619.0],
# 11: { 9: 5876,
# 10: datetime.datetime(1970, 3, 21, 15, 16, 51),
# 11: [ u'vgOxDDnkupjDQMYSJfWI',
# u'BwqSoCWeToejzHlHRVFJ']}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# 5623011043785.3
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('-249647828324')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ datetime.datetime(1972, 11, 25, 2, 31, 34),
# u'nUVCXcCSLzfhXvXYqoaY',
# 9976,
# 4229.55995018,
# u'mOmdJlAIuoZzRuoqFhIj',
# u'xnexFrxAuapTPaAqRdzO',
# -772.1194032,
# u'nadamacesic@ribic.biz',
# u'ZThrpIwTWVYZrYFwPTpg',
# u'sMhqWYrgvXuMWYgCOZgW',
# 5622]
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( Decimal('685163491.0'),
# 1609,
# u'otomicic@xnet.hr',
# 585651945.121,
# 6293,
# 9916536798.735,
# u'https://www.dautovic.net/about.html',
# 981)
fake.pybool()
# False
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([u'LerHDQauTmYZvPGOzfCI', 3140, 8968, u'https://bijelic.com/about.html', 5068, 94008078.0, 5338])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'distinctio': u'tOhFsowzYDavqwFkYEBk',
# u'excepturi': u'elizabetamiletic@strazicic.info',
# u'expedita': u'KGAoOWuhJfcwOwbThAIY',
# u'minus': 1659,
# u'neque': 2726,
# u'optio': u'vFVoihwTUANYHCznfhUt',
# u'pariatur': 9671.62119871656,
# u'quae': 5100,
# u'rem': u'zdravko63@yahoo.com',
# u'sequi': datetime.datetime(1999, 7, 23, 17, 34, 17)}
fake.pyint()
# 4841
faker.providers.ssn
¶
fake.ssn()
# u'40721368957'
faker.providers.user_agent
¶
fake.mac_processor()
# u'U; PPC'
fake.firefox()
# u'Mozilla/5.0 (Windows NT 6.0; lb-LU; rv:1.9.0.20) Gecko/2016-12-07 23:28:44 Firefox/13.0'
fake.linux_platform_token()
# u'X11; Linux x86_64'
fake.opera()
# u'Opera/8.44.(Windows CE; gez-ET) Presto/2.9.162 Version/10.00'
fake.windows_platform_token()
# u'Windows 98'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 6.0; Windows NT 5.0; Trident/5.1)'
fake.user_agent()
# u'Mozilla/5.0 (Windows NT 4.0) AppleWebKit/5312 (KHTML, like Gecko) Chrome/14.0.891.0 Safari/5312'
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; Intel Mac OS X 10_6_6) AppleWebKit/5332 (KHTML, like Gecko) Chrome/31.0.896.0 Safari/5332'
fake.mac_platform_token()
# u'Macintosh; Intel Mac OS X 10_8_9'
fake.safari()
# u'Mozilla/5.0 (iPod; U; CPU iPhone OS 3_1 like Mac OS X; cv-RU) AppleWebKit/531.49.1 (KHTML, like Gecko) Version/3.0.5 Mobile/8B118 Safari/6531.49.1'