Language id_ID¶
faker.providers.address
¶
fake.state_abbr()
# u'Jambi'
fake.latitude()
# Decimal('26.7873975')
fake.street_name()
# u'Jl. PHH. Mustofa '
fake.address()
# u'Jl. Gedebage Selatan No. 8\nBalikpapan, Maluku 72256'
fake.street_address()
# u'Jl. Veteran No. 12'
fake.postcode()
# u'79966'
fake.country_code(representation="alpha-2")
# u'CH'
fake.longitude()
# Decimal('-16.714714')
fake.country()
# u'Armenia'
fake.city_name()
# u'Palangkaraya'
fake.street_suffix()
# u'Street'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('-9.317253')
fake.street()
# u'Pacuan Kuda'
fake.city_suffix()
# u'Ville'
fake.building_number()
# u'0'
fake.street_prefix_short()
# u'Gg.'
fake.city()
# u'Kotamobagu'
fake.street_prefix_long()
# u'Jalan'
fake.state()
# u'Sumatera Barat'
faker.providers.automotive
¶
fake.license_plate()
# u'J 936 DF'
faker.providers.bank
¶
fake.bban()
# 'GRER0723829190774'
fake.bank_country()
# 'GB'
fake.iban()
# 'GB12UPPU8591517220737'
faker.providers.barcode
¶
fake.ean(length=13)
# u'9628526636957'
fake.ean13()
# u'6804835082996'
fake.ean8()
# u'27822364'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(103,162,114)'
fake.color_name()
# u'PaleTurquoise'
fake.rgb_color()
# u'11,162,113'
fake.safe_hex_color()
# u'#aa4400'
fake.safe_color_name()
# u'black'
fake.hex_color()
# u'#4e1e22'
faker.providers.company
¶
fake.company_suffix()
# u'Tbk'
fake.company()
# u'PT Prasetyo'
fake.company_prefix()
# u'PD'
fake.catch_phrase()
# u'Integrated tertiary help-desk'
fake.bs()
# u'matrix robust interfaces'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'642'
fake.credit_card_provider(card_type=None)
# u'VISA 16 digit'
fake.credit_card_full(card_type=None)
# u'VISA 16 digit\nSamiah Suartini\n4314524608369445 12/23\nCVC: 638\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '04/25'
fake.credit_card_number(card_type=None)
# u'676336023962'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'ETH'
fake.currency_code()
# 'MRO'
fake.currency_name()
# 'Malagasy ariar'
fake.cryptocurrency_name()
# 'Auroracoin'
fake.cryptocurrency()
# ('FTH', 'Feathercoin')
fake.currency()
# ('MMK', 'Burmese kyat')
faker.providers.date_time
¶
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2018, 8, 16, 9, 46, 9)
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0x7f6bca186b90>
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, 4, 22, 21, 40, 44)
fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2018, 7, 19)
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 8, 7, 22, 39, 39)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2018, 8, 13)
fake.day_of_week()
# u'Selasa'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2010, 1, 20, 21, 34, 44)
fake.date_between(start_date="-30y", end_date="today")
# datetime.date(2005, 9, 21)
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2001, 5, 8, 17, 53, 49)
fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '1999-02-03'
fake.am_pm()
# 'AM'
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(2011, 4, 20)
fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2018, 4, 24)
fake.iso8601(tzinfo=None, end_datetime=None)
# '2013-06-11T18:46:53'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2018, 8, 26)
fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2006, 10, 4)
fake.month()
# '09'
fake.year()
# '1971'
fake.day_of_month()
# '06'
fake.unix_time(end_datetime=None, start_datetime=None)
# 102678015
fake.timezone()
# u'Africa/Mbabane'
fake.century()
# u'VII'
fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(1991, 10, 4)
fake.time_object(end_datetime=None)
# datetime.time(21, 42, 43)
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 5, 17, 0, 44, 30)
fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(1976, 6, 17, 5, 44, 38)
fake.time(pattern="%H:%M:%S", end_datetime=None)
# '17:42:37'
fake.date_this_month(before_today=True, after_today=False)
# datetime.date(2018, 8, 4)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2018, 8, 10, 22, 49, 42)
fake.month_name()
# u'September'
fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(802, 2, 25, 9, 56)
fake.time_delta(end_datetime=None)
# datetime.timedelta(1185, 51963)
faker.providers.file
¶
fake.unix_device(prefix=None)
# u'/dev/vds'
fake.mime_type(category=None)
# u'image/tiff'
fake.file_path(depth=1, category=None, extension=None)
# u'/exercitationem/illo.gif'
fake.unix_partition(prefix=None)
# u'/dev/sdj0'
fake.file_name(category=None, extension=None)
# u'totam.numbers'
fake.file_extension(category=None)
# u'js'
faker.providers.internet
¶
fake.ascii_free_email(*args, **kwargs)
# 'adamanik@yahoo.com'
fake.image_url(width=None, height=None)
# u'https://placeholdit.imgix.net/~text?txtsize=55&txt=25x536&w=25&h=536'
fake.tld()
# u'web.id'
fake.email(*args, **kwargs)
# u'yonosetiawan@hotmail.com'
fake.url(schemes=None)
# u'http://pd.org/'
fake.ipv4_private(network=False, address_class=None)
# '192.168.216.244'
fake.user_name(*args, **kwargs)
# u'cwijayanti'
fake.uri_extension()
# u'.jsp'
fake.uri_page()
# u'faq'
fake.free_email_domain(*args, **kwargs)
# u'gmail.com'
fake.safe_email(*args, **kwargs)
# u'safitrireza@example.org'
fake.ascii_email(*args, **kwargs)
# 'marasprasetyo@pt.my.id'
fake.ipv4_network_class()
# u'c'
fake.ipv4_public(network=False, address_class=None)
# '17.236.13.231'
fake.ascii_company_email(*args, **kwargs)
# 'irawanibun@perum.net'
fake.domain_name(*args, **kwargs)
# u'pt.edu'
fake.ipv4(network=False, address_class=None, private=None)
# '34.100.211.162'
fake.domain_word(*args, **kwargs)
# u'pt'
fake.slug(*args, **kwargs)
# u'aut-sint-tenetur'
fake.uri_path(deep=None)
# u'app'
fake.company_email(*args, **kwargs)
# u'tania38@pd.mil.id'
fake.uri()
# u'https://cv.co.id/tag/main/tag/homepage/'
fake.ipv6(network=False)
# 'b01d:c9d8:5d81:d2b2:3794:d53:8f73:3caa'
fake.free_email(*args, **kwargs)
# u'usman40@hotmail.com'
fake.ascii_safe_email(*args, **kwargs)
# 'gsuryatmi@example.org'
fake.mac_address()
# u'4e:ac:ce:2a:de:4f'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'1-4898-4395-7'
fake.isbn13(separator="-")
# u'978-1-00-089924-5'
faker.providers.job
¶
fake.job()
# 'Dealer'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Eveniet eius ipsa aspernatur vitae voluptas repellendus voluptatum. Laborum dignissimos nisi illo doloremque ipsa.\nDicta debitis fugit aut. Cum enim expedita assumenda doloremque autem.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Modi dolorum vero. Expedita esse dolores animi illum necessitatibus reprehenderit.',
# u'Delectus temporibus similique quis. Harum cum laboriosam ratione ut. Molestias quibusdam maiores nobis magni magni mollitia.',
# u'Ea sequi expedita corporis blanditiis numquam labore. Repudiandae occaecati itaque minus illum.']
fake.words(nb=3, ext_word_list=None)
# [u'eum', u'minima', u'fugit']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Alias earum unde nesciunt nihil similique.',
# u'Ipsum atque deleniti possimus.',
# u'Deleniti totam omnis maxime.']
fake.word(ext_word_list=None)
# u'cum'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Aliquid cum et nulla repellat adipisci eveniet. Excepturi harum nulla quas quo. Quod consectetur pariatur aliquam magni ipsum quas fugiat.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Consequuntur nobis commodi praesentium dolores commodi perspiciatis commodi.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'0Z+4wAzYTQ'
fake.locale()
# u'gd_GB'
fake.binary(length=1048576)
# bytearray(b'JB\xaa\x1a\xe3\xbe\x12\xc0Z\xb9\x05\xcb\xff\xab.G*\x0fHe\x17qb\xc6\xd7\x92\xdb\x08=\xb9UX)KD\xbdBk\x15-u*\xf1T\xd9\x1c\xa28\xb2\x86\x9aG\xae\xdf\xb4\xa7\x96\x92\n\xac\xd5/\xc95\x04\xab\xebJJ\xb3\x96,\xda\'E\x93\x93\xc5\x93]^\xb0\xa7){\x87\xee\xdc}\xf4\xa2\x0c\xd7:\x84`\xaf`\xec\xa2\x071]LIe\x8e?e\r\x0c<#\xe8\x04\x91:\r!$\xb2\\BK\xc2e\x16\xd3 1\x0crIX\x9dd\xdc\xa7\x07\x14\xc25\xbd*csx\n\xa0vt\xaf\xd2H\xac\xf9\x96\xdfq\xde\t\x9a@\xef\xaay\x88\xc2\xa8\xb4\xe7\xd7\xfd\x07Z\x90v\xbe\xce\x01L~\x85\xf0\xda\xc1\xc5\x82v\x8c\x94V\x93\x8d\xcf\\{\xbc\x02\xb1O\xcc\x89\x14#\x06\xe4b\xc4?\x9a}8\r\x16\xa4\xdc\tx`\xa9\xaak\xf9\xaf`i7\x1f\xc2\x98\x0b%\xbemU\xc0P*\xccu\xcd`\x9d\xe1\xae\xe9\xda\xf9\tu\xd8\xe2\x91\xcc\x7f\xefmz89\xd4R\xb2AZ\x82\xce\x0e\x19WC;\xaa\x1e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_output=False)
# 'da42ec68c1e591c7d1040cc1c76ef2fc'
fake.sha1(raw_output=False)
# 'd2f13ed21466fbbd894a3ddf35db9df4a2fb120c'
fake.null_boolean()
# None
fake.sha256(raw_output=False)
# 'ff0b0d3b28dbd7bf9a54e1283bec62951cfb38a113af5816278e535ce5d85f09'
fake.uuid4()
# 'ef3a5a0c-ef04-049d-d503-4e3e06e46ccb'
fake.language_code()
# u'nhn'
fake.boolean(chance_of_getting_true=50)
# False
faker.providers.person
¶
fake.last_name_male()
# u'Siregar'
fake.name_female()
# u'Karsa Zulkarnain'
fake.prefix_male()
# u'Tgk.'
fake.prefix()
# u'R.A.'
fake.name()
# u'dr. Hesti Pradipta, S.I.Kom'
fake.suffix_female()
# u'S.Pd'
fake.name_male()
# u'Sabrina Manullang'
fake.first_name()
# u'Jindra'
fake.suffix_male()
# u'S.Pt'
fake.suffix()
# u'M.Ak'
fake.first_name_male()
# u'Harsaya'
fake.first_name_female()
# u'Betania'
fake.last_name_female()
# u'Rahimah'
fake.last_name()
# u'Narpati'
fake.prefix_female()
# u'Cut'
faker.providers.phone_number
¶
fake.phone_number()
# u'0815761383'
fake.msisdn()
# '0751810811897'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'Jalan Gedebage Selatan No. 7\nJayapura, Kalut 86136',
# 'birthdate': datetime.date(2008, 7, 15),
# 'mail': u'yuliartisetya@hotmail.com',
# 'name': u'Tasdik Prasetyo',
# 'sex': 'M',
# 'username': u'lasmantosudiati'}
fake.profile(fields=None, sex=None)
# { 'address': u'Jalan Dipatiukur No. 8\nBengkulu, Kalimantan Timur 64255',
# 'birthdate': datetime.date(1977, 4, 21),
# 'blood_group': 'A-',
# 'company': u'Perum Napitupulu Halimah',
# 'current_location': (Decimal('-34.1284845'), Decimal('-126.486086')),
# 'job': 'Engineer, civil (consulting)',
# 'mail': u'cmarbun@hotmail.com',
# 'name': u'Uli Kusmawati',
# 'residence': u'Jl. Moch. Ramdan No. 154\nMetro, Gorontalo 11835',
# 'sex': 'F',
# 'ssn': u'769-85-0972',
# 'username': u'gandi32',
# 'website': [u'https://www.ud.or.id/', u'https://www.cv.net/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# ( u'tScPGtwYyqvBdgaoiRcO',
# u'rHHiqPVKrwPIlEZnoVTx',
# u'gkEAoMrhntCbZTpdDCiE',
# -12523604.677051,
# datetime.datetime(1987, 11, 20, 18, 3, 29),
# 2349,
# u'YdxflZvJMoWknPybPiLt',
# u'hRyNNDzEjUonQUFocPmm',
# u'http://www.pt.com/main/register.php',
# 831.33001353742,
# u'JEdiFWBQvWTmPjozMEjD',
# Decimal('3.70384554518E+12'),
# 6297)
fake.pystr(min_chars=None, max_chars=20)
# u'nQtNpKQKOyIavGiojxTw'
fake.pystruct(count=10, *value_types)
# ( [ u'rxQWOOcAvgkikXlnOsii',
# 5149201938.4,
# u'rRUPIFaczUSJaDNStMve',
# u'dYwojfGyeTYfYEDpFgfI',
# 2469,
# 7759,
# u'yqmwwaspRivZpfROCXSQ',
# 3510,
# u'http://www.pt.or.id/terms.htm',
# Decimal('707700113785')],
# { u'eligendi': u'najwawasita@pd.go.id',
# u'eum': Decimal('5.6243609051'),
# u'exercitationem': -8.442124265,
# u'facere': u'WSDIWlJkYPhhoumgwPPX',
# u'fugit': u'https://cv.net.id/search/',
# u'in': 5.6836950994867,
# u'maxime': -274546892237769.0,
# u'recusandae': 61930573404499.8,
# u'repellat': 2566,
# u'sint': 2703},
# { u'accusamus': { 7: u'kxdLegZfajpIpMymvteL',
# 8: [ u'iTXhkUvkQuURcIAMAtlq',
# 9177,
# u'maya33@perum.desa.id'],
# 9: { 7: u'ardiantohesti@hotmail.com',
# 8: u'kuswoyokuncara@hotmail.com',
# 9: [9018, 6181]}},
# u'adipisci': { 3: 9597,
# 4: [ u'http://ud.gov/homepage.html',
# u'tCUdzDbTbLyIJGKiJOpZ',
# Decimal('902991649478')],
# 5: { 3: u'https://www.pd.my.id/posts/category/terms/',
# 4: u'http://perum.gov/app/index/',
# 5: [ 3872,
# datetime.datetime(1976, 8, 21, 10, 30, 28)]}},
# u'beatae': { 5: u'vLyafqZExdwoeahmtspN',
# 6: [ datetime.datetime(1985, 2, 9, 3, 54, 52),
# u'YskQlmlhkekaxzMVtQtL',
# 3934],
# 7: { 5: 7236702.57315085,
# 6: Decimal('-9400183.1'),
# 7: [ u'https://cv.net/',
# Decimal('57040144.0')]}},
# u'error': { 4: 2526,
# 5: [ Decimal('3872504.67194'),
# 9315,
# u'ibrani09@yahoo.com'],
# 6: { 4: Decimal('-75661.92'),
# 5: 7875,
# 6: [ u'https://www.perum.int/login/',
# u'FiSFoqEpTGLDawwdVkhs']}},
# u'molestias': { 1: 4188,
# 2: [ u'https://pt.gov/search/faq.html',
# u'osxcPChyxDamsGmymsIj',
# datetime.datetime(2016, 7, 13, 6, 25, 20)],
# 3: { 1: 9088,
# 2: Decimal('-451526.53035'),
# 3: [ 80496.584525289,
# u'aFTFkruuktEwlZZmBlZy']}},
# u'nam': { 8: u'jJLxGFKFwcPpUUHTRxEr',
# 9: [23260.42, u'http://www.ud.net.id/', 2511],
# 10: { 8: u'https://perum.co.id/category/',
# 9: 2621,
# 10: [3874847444480.65, 9689]}},
# u'natus': { 9: 9384,
# 10: [ u'URZfHbwtIaofgjEuTBHr',
# u'JCbuUTPtFNQLAZULzceC',
# u'UzPIJgVQkALMMLSdmqol'],
# 11: { 9: u'hardiansyahsyahrini@hotmail.com',
# 10: u'YclJaWOrLCNwWmnKSVDj',
# 11: [21, -636025230100.7]}},
# u'nesciunt': { 6: u'https://www.perum.net/categories/main/category.html',
# 7: [ 856298970222.1,
# u'bAcNzyByjBSUfFRpmoGy',
# u'http://pd.org/login.html'],
# 8: { 6: u'CXbabttuOSnnnYSosepJ',
# 7: u'http://www.pd.net/terms.jsp',
# 8: [ Decimal('-1.58843105294E+13'),
# u'KTUZKTAoYhxpsjmZLERp']}},
# u'odio': { 0: 2509.78313584265,
# 1: [ u'https://pt.sch.id/index/',
# datetime.datetime(2017, 11, 16, 17, 8, 37),
# 2560],
# 2: { 0: u'RABMEyYKorxPhLURmMGz',
# 1: u'caketnamaga@pd.mil',
# 2: [ datetime.datetime(2001, 2, 7, 19, 8, 20),
# datetime.datetime(1970, 9, 25, 3, 0, 10)]}},
# u'qui': { 2: Decimal('-797.9'),
# 3: [u'YtcWqGdYYxEYvzfKSJXP', 8343, 96517831.86],
# 4: { 2: u'umiandriani@cv.biz.id',
# 3: Decimal('2.97945009962E+14'),
# 4: [ u'omarpaung@hotmail.com',
# u'ZrTVYSojKbqaZddiaSIp']}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# -98858203871668.0
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('-8.68113475996E+12')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ 7753,
# Decimal('-7.83525710857E+14'),
# Decimal('-48824.2290496'),
# Decimal('483581352998'),
# u'SUIsNBuXpLxhxbQKkjgk',
# u'XVOUenWbGErYkbxMPaRQ',
# 2905,
# u'https://www.pd.org/tags/search/categories/author/',
# 5746,
# u'http://cv.web.id/category.php',
# 926,
# 2365]
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( u'YWhYKRfrLwrVpajyELPP',
# u'http://perum.mil/main/explore/list/index/',
# u'UzoqYWRWpBhoZdawZIxS',
# u'darmaji16@gmail.com',
# 5738,
# -977337418.778,
# u'XMevbOioLsprBmejaXqH',
# u'fBVAppPfeKknldRmUres',
# 1202,
# u'ErdyUDQyIGLjQamgNSVf',
# u'bbswbxNZIFKUYJcocLTB',
# -95412328012.885)
fake.pybool()
# True
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([3616, 418402504854.1, u'ZcYgUNDuPsjSEgRGQMtc', u'cnipwLSEgblhXzkWXUvl', u'https://www.pd.edu/about.html', 4412, 8477, u'lwxlFtKmAUdjGprTGdIp'])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'amet': -25398817356474.0,
# u'asperiores': u'TeJuGcyIEzKDGHVNyAbu',
# u'dignissimos': 5403,
# u'nulla': u'xgEDeKKLahseIHROQrgw',
# u'possimus': 5502,
# u'quis': u'harimurtisimanjuntak@hotmail.com',
# u'vel': u'https://www.perum.desa.id/index/',
# u'velit': datetime.datetime(2013, 12, 21, 18, 46, 52),
# u'veritatis': datetime.datetime(1970, 5, 17, 1, 59, 32)}
fake.pyint()
# 2812
faker.providers.ssn
¶
fake.ssn(taxpayer_identification_number_type="SSN")
# u'296-17-4601'
fake.ein()
# u'15-1856367'
fake.itin()
# u'933-85-6624'
faker.providers.user_agent
¶
fake.mac_processor()
# u'U; Intel'
fake.firefox()
# u'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_12_1; rv:1.9.2.20) Gecko/2016-08-01 13:06:11 Firefox/3.6.3'
fake.linux_platform_token()
# u'X11; Linux x86_64'
fake.opera()
# u'Opera/8.56.(X11; Linux i686; wo-SN) Presto/2.9.170 Version/10.00'
fake.windows_platform_token()
# u'Windows 95'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 7.0; Windows 95; Trident/3.1)'
fake.user_agent()
# u'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_11_5) AppleWebKit/5340 (KHTML, like Gecko) Chrome/49.0.862.0 Safari/5340'
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/5342 (KHTML, like Gecko) Chrome/61.0.836.0 Safari/5342'
fake.mac_platform_token()
# u'Macintosh; PPC Mac OS X 10_9_0'
fake.safari()
# u'Mozilla/5.0 (iPod; U; CPU iPhone OS 4_0 like Mac OS X; gl-ES) AppleWebKit/532.6.2 (KHTML, like Gecko) Version/3.0.5 Mobile/8B114 Safari/6532.6.2'