Language id_ID¶
faker.providers.address
¶
fake.state_abbr()
# u'Sulsel'
fake.latitude()
# Decimal('-84.3571035')
fake.street_name()
# u'Lorong Cikapayang'
fake.address()
# u'Gang Kebonjati No. 76\nManado, Jawa Tengah 79874'
fake.street_address()
# u'Lr. Pasteur No. 833'
fake.postcode()
# u'87706'
fake.country_code(representation="alpha-2")
# u'AG'
fake.longitude()
# Decimal('-62.741023')
fake.country()
# u'Britania Raya'
fake.city_name()
# u'Padangpanjang'
fake.street_suffix()
# u'Street'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('-93.158691')
fake.street()
# u'Moch. Toha'
fake.city_suffix()
# u'Ville'
fake.building_number()
# u'1'
fake.street_prefix_short()
# u'Lr.'
fake.city()
# u'Banjar'
fake.street_prefix_long()
# u'Gang'
fake.state()
# u'Sulawesi Selatan'
faker.providers.automotive
¶
fake.license_plate()
# u'Q 9430 JT'
faker.providers.bank
¶
fake.bban()
# 'HLCH4095108334227'
fake.bank_country()
# 'GB'
fake.iban()
# 'GB16KQCI9227100725782'
faker.providers.barcode
¶
fake.ean(length=13)
# u'5199605547517'
fake.ean13()
# u'6318754081157'
fake.ean8()
# u'10340035'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(202,81,255)'
fake.color_name()
# u'SpringGreen'
fake.rgb_color()
# u'184,75,171'
fake.safe_hex_color()
# u'#667700'
fake.safe_color_name()
# u'fuchsia'
fake.hex_color()
# u'#9361b8'
faker.providers.company
¶
fake.company_suffix()
# u'(Persero) Tbk'
fake.company()
# u'CV Tarihoran'
fake.company_prefix()
# u'Perum'
fake.catch_phrase()
# u'Organic dynamic utilization'
fake.bs()
# u'repurpose robust metrics'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'198'
fake.credit_card_provider(card_type=None)
# u'VISA 19 digit'
fake.credit_card_full(card_type=None)
# u'VISA 13 digit\nRestu Andriani\n4589434864714 03/23\nCVC: 550\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '05/20'
fake.credit_card_number(card_type=None)
# u'5560209264974294'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'NMC'
fake.currency_code()
# 'UYU'
fake.currency_name()
# 'Surinamese dollar'
fake.cryptocurrency_name()
# 'Titcoin'
fake.cryptocurrency()
# ('IOTA', 'IOTA')
fake.currency()
# ('IQD', 'Iraqi dinar')
faker.providers.date_time
¶
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2018, 8, 30, 19, 5, 50)
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0xf5d992ac>
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(2013, 1, 1, 1, 14, 50)
fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2016, 8, 13)
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 8, 8, 2, 3, 12)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2018, 8, 13)
fake.day_of_week()
# u'Jumat'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2010, 5, 25, 22, 33, 49)
fake.date_between(start_date="-30y", end_date="today")
# datetime.date(2018, 3, 27)
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2011, 4, 30, 7, 37, 29)
fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '1998-12-14'
fake.am_pm()
# 'PM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2018, 8, 16, 9, 31, 47)
fake.date_object(end_datetime=None)
# datetime.date(1979, 4, 10)
fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2018, 6, 6)
fake.iso8601(tzinfo=None, end_datetime=None)
# '2005-10-03T07:43:45'
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(2004, 6, 6)
fake.month()
# '05'
fake.year()
# '1999'
fake.day_of_month()
# '23'
fake.unix_time(end_datetime=None, start_datetime=None)
# 1136162285
fake.timezone()
# u'Asia/Kuala_Lumpur'
fake.century()
# u'III'
fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(1944, 8, 23)
fake.time_object(end_datetime=None)
# datetime.time(4, 27, 55)
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 7, 12, 18, 23, 57)
fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(1993, 7, 17, 19, 45, 28)
fake.time(pattern="%H:%M:%S", end_datetime=None)
# '11:03:42'
fake.date_this_month(before_today=True, after_today=False)
# datetime.date(2018, 8, 1)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2018, 8, 2, 7, 14, 34)
fake.month_name()
# u'Desember'
fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(1572, 12, 8, 19, 8, 15)
fake.time_delta(end_datetime=None)
# datetime.timedelta(13255, 53243)
faker.providers.file
¶
fake.unix_device(prefix=None)
# u'/dev/sdh'
fake.mime_type(category=None)
# u'multipart/encrypted'
fake.file_path(depth=1, category=None, extension=None)
# u'/assumenda/quam.pptx'
fake.unix_partition(prefix=None)
# u'/dev/sds6'
fake.file_name(category=None, extension=None)
# u'quam.css'
fake.file_extension(category=None)
# u'jpg'
faker.providers.internet
¶
fake.ascii_free_email(*args, **kwargs)
# 'putu15@hotmail.com'
fake.image_url(width=None, height=None)
# u'https://dummyimage.com/883x251'
fake.tld()
# u'web.id'
fake.email(*args, **kwargs)
# u'rrajata@yahoo.com'
fake.url(schemes=None)
# u'https://www.pt.net.id/'
fake.ipv4_private(network=False, address_class=None)
# '172.23.223.222'
fake.user_name(*args, **kwargs)
# u'ewibisono'
fake.uri_extension()
# u'.htm'
fake.uri_page()
# u'index'
fake.free_email_domain(*args, **kwargs)
# u'yahoo.com'
fake.safe_email(*args, **kwargs)
# u'kuswoyoghaliyati@example.org'
fake.ascii_email(*args, **kwargs)
# 'digdaya02@cv.go.id'
fake.ipv4_network_class()
# u'c'
fake.ipv4_public(network=False, address_class=None)
# '202.161.111.10'
fake.ascii_company_email(*args, **kwargs)
# 'lsaputra@pd.gov'
fake.domain_name(*args, **kwargs)
# u'pd.sch.id'
fake.ipv4(network=False, address_class=None, private=None)
# '27.67.138.253'
fake.domain_word(*args, **kwargs)
# u'pd'
fake.slug(*args, **kwargs)
# u'modi-unde-beatae'
fake.uri_path(deep=None)
# u'app'
fake.company_email(*args, **kwargs)
# u'ega75@pd.edu'
fake.uri()
# u'http://www.pd.org/main/categories/posts/faq.htm'
fake.ipv6(network=False)
# 'b8a4:3f2f:f1da:4390:73c1:a777:8ccc:5929'
fake.free_email(*args, **kwargs)
# u'bala86@hotmail.com'
fake.ascii_safe_email(*args, **kwargs)
# 'spalastri@example.net'
fake.mac_address()
# u'8b:ca:3c:95:60:5c'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'0-9662590-2-5'
fake.isbn13(separator="-")
# u'978-0-08-856387-1'
faker.providers.job
¶
fake.job()
# 'Public librarian'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Assumenda nemo fugit dolor recusandae. Illum voluptatem asperiores molestiae distinctio alias itaque.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Fugiat quidem repudiandae similique. Nesciunt impedit impedit. Nobis aspernatur quidem animi ad magni omnis.',
# u'Ipsa tempora amet. Libero architecto deserunt aperiam maiores accusamus.',
# u'Incidunt corporis velit itaque sed. Assumenda eaque quibusdam quasi. Accusantium ea placeat et odio.']
fake.words(nb=3, ext_word_list=None)
# [u'quia', u'perferendis', u'error']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Quidem sunt quae necessitatibus veniam.',
# u'Mollitia laboriosam tempora quaerat.',
# u'Ipsa dignissimos adipisci vero pariatur.']
fake.word(ext_word_list=None)
# u'praesentium'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Hic iste placeat quae. Iure ea porro dicta sapiente fugit. Quam quisquam facere eum sed.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Beatae sed debitis enim asperiores.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'0#CGBWsf^0'
fake.locale()
# u'quz_PE'
fake.binary(length=1048576)
# bytearray(b'\xdc\x88\x11\x9b\xed\x9c7\x9bT\t4\x1c\t\xe0\xae\xecO\xfa_\xd3\xc6\\\xfb\x0c\xf1"\xfc\xe7\xd7\x10Bq\x80\x8c\x07\xd8\x19\x91\x19\xad\xa9\x93\x97\xb4y\xc1T-\xfdk.\'\xf8hC,\x89\xec\x1c^qa\xfa]\xd4@\x82\x90^\xb7\xf0\x13M\x03\xf7\xc6\x97\xb1w\x9ePTH\xf3\xad\xb9\x18\x18h\x9e\x80.\xae}w\xa5\xef\xe7\xa0h)\x16\xa8\xfd\xea\x93\xcf\x14\xc8^\x10\xf3#\xed\xf0\xa0\xa9lc\xe3U\x1d\xca\x8d\x90\x9cK\xb1\xf0\xe3.\xfb-\xbf\xde\xddq?\xe16\x17?\x8c\xb6M^\xdf\xc4\x0e\xeaE\x82\xf9\xd4\xc5\xbe\xb7\xb1#\x83\x90\x9do\xe2\x7f\xdc]\x93U%\x12\xc2\x9c\xe2rK\xc9w\x88\xf5B\xa1Y\x11;\x13\x91l\x83OW4\x1e\xe8\x01\xcb\xd2(XC\xf1QiS\x07\xc7Y\xd4\x13\xd7\x12\xf3\x19G\'0\x84\xae\xc0\xf33\xa7\xd94\x99\xabD\x87\xfeE@o\xf4\x1d\xe7\xe3|\xc3EN\x16\xd2\xa7[\xbcckA\xd6\xd1\xce\xc6\x8bi\x9c%\xd6\xf8,)\xb7\xed\xbd5\x93\xaa\x7f\xfd\x97\xf6\x9d\xd8\xb1<\xac\x06\xd6\xf1>\xa5N\xa3P\x048\xf4\x8e\xe0t\xfcX\xc23\xe7r\xc8\x9c\x91z\x94x\xccoy\x8e\xfe\xc8Ot\\\x04\x07\x9b\xd9\xac\xd7\xd2\xf3`\xd8\r\x9e\xa3]\xca\xc8\xb59=E\x04\xdcz\x10\xeb\xaa\r\x9e7\xf4\xf6\x00\xba\xddU\x9a\x9c-\xb7\xe1D\x9e\x1f\x8b\x0f\xc6\x17\xbaN\xc6O\x92\x0csS\x995a\xe4d\xe6\x18\xaahmwO\x86\xf0\xc7\x16`N\x1f}`6\x87\xc7\x08\xdd\xccb\x8b\xefy\xce\x96\xaa\xa2\xc4\xe0w\xaa|\xa0I&\xbe_V\xdd\xb7\x8e\x83\x95\xf9\xb7\x1e\xbc\x92"CS\xb1\x8fI\x1fP(\xd7\xbb\xe7q\x80\x94\x9e\x10\xb6\x18(:\x80pK\x9bw0_\xd0OaY!L\x87\xba\xcb9k\xa5t\x01p\x8d<\x00\xda\xaa\xe1l5\xbb\xee\xff\xe8\x0bB\xaewv\xa5\x8e!\x0f-\xff\x85T\xcc\x89\t-\xcd\xbb{\xd7\xb0\x17z\xbc\x1b\xfaz\xaf\x13\xfe\xfbB\xcdVp\x16mk\\\xa0\xd9I\xcd\xf7\xb3v0\x95\xd31\xf1|\xd8"\xb6-\x99\x81\xb5#$\x17\xe0Q\x1e\xef?\xa9<\x94\t\x95\x06Z\x82)\\\x8e\x87B\x8fT\x8a\xbbW\x0b\x95<v\x84t\xfb|\xc8\xe1\xbe\x9d9X\xa7R\xb8S\n\xcc\x91\x10\x1b!<\x04\x98\xfe\xd2_q\xeb\xa7\\\x95\xae\xa8!\xda\xad\xc8\xdeN\xb1\xa7\xc2\r\x8a\x83\x92\x17\x04\xacG-yqM\x8en\x82\xd1\xdd\x99\xbc*/\x0b4r\xca\xbe\xd7s\xb2\xc6\xfar\xd8SWf\xafwN\xff\'\xbd\x00Nq\x02r\x1aq\xb7\xa9\x0e\xcce\xb8R\x1a\xac>*t\xff\x8b\x14\x95\xc9hC\xd0K\x07\xa9\xa6\x10c\xde\xc3\xc1\xe7&\xfd\x1637<\xdaP\xeaKB!q\xd0\x134\xd7^\x04\x15n9\xa1\xd4\xc8\xa9cG\x03A\xc8+*U\x17\xbe\xdfDG\xa2\x84\x9f\xed\x9e\xaa.\x8c\xa3\xbf\xd2|9\xfbC\x0e\x9d\x1e50w\xca\x17\xf00]\x93X3b\xb0\x14GN\xc7\x98N\x02\x88\xb6\xcb\xea\xa4% (\xcc\x0f\xbb\xac[HI\xba$Tf\x04\xa23>\x8a\xdel\x18\xbc\x04bS\xce7\xb0LxK \x01\xa6\x14N\xa5\xa4\xa7\x87\xe6\xc7xg1\x93\x17D\xc2\\k{Eh\xd6~\x94\xcf\xaa\xa9\xa69@\x86\xd2\xd0"\\\x8e\x13\xb6\xd7U5\x1d\rX\x95\xdd\xb7_j\xc5\xff\x98\xe9\xf6\xd8\xb1\xe7\x94J\x81\xeb\xb03\xb1)\xad&q\xc8\xc0\xba\xaaEr\xbeG\x9bJ\xda\xa7\xbf8i\x97\x1d<\xeb\xbb\x9dT\x17Chr\xc4D\x06\x93Z\x8b6\x80aT\x11\xb4"mO;5\x08\x9f\xb5\x9c\x9e\xe9\x1bM\r\x04\r\x12n\x8dA\xb8\xf3\xbd\xe9\xc2\x98\x9b\xc8\x021G\xf3\x97\xab\xbf[\x99\xa2\x0b;\xdf\xfc\xf4U\t\xa28\x97\xe9\xc0\xb0vI\xbcd\x8a\x05\xdd\xcc\x97>\xca\xfekf\x12y]\t\x8f\xa1\xf2\xe8tH\xac6\xe2\x07\xec\xab#\xa9EE\xf6\x98\x0c\x0b\xd9\xc3\x1dOA\xdcb\xdf\xb8}\xf17\xdaK\x8ff\x82V\xbf\x99\x00\xbb\x8f\xc5\x11v')
fake.md5(raw_output=False)
# '3be7df2e7bd0941ed8772980239bc9d2'
fake.sha1(raw_output=False)
# '9fd0519c3c6706783fd9769f0bf6d4225a18cad4'
fake.null_boolean()
# False
fake.sha256(raw_output=False)
# '275cac3aae528edcdbaa4f9d7f27967f1b3633a02f9a22b903803f4c50414361'
fake.uuid4()
# 'acbb50f2-8b5c-98e7-f27e-66d74e25ef95'
fake.language_code()
# u'ayc'
fake.boolean(chance_of_getting_true=50)
# False
faker.providers.person
¶
fake.last_name_male()
# u'Narpati'
fake.name_female()
# u'Caket Zulkarnain'
fake.prefix_male()
# u'Drs.'
fake.prefix()
# u'Ir.Hj.'
fake.name()
# u'Satya Aryani'
fake.suffix_female()
# u'S.T.'
fake.name_male()
# u'Jagapati Puspita'
fake.first_name()
# u'Radit'
fake.suffix_male()
# u'M.Pd'
fake.suffix()
# u'S.Sos'
fake.first_name_male()
# u'Rahman'
fake.first_name_female()
# u'Yance'
fake.last_name_female()
# u'Yuliarti'
fake.last_name()
# u'Suartini'
fake.prefix_female()
# u'Drs.'
faker.providers.phone_number
¶
fake.phone_number()
# u'+62 (37) 056-9566'
fake.msisdn()
# '4599838722371'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'Lorong Setiabudhi No. 91\nTanjungpinang, NTT 57089',
# 'birthdate': datetime.date(1911, 3, 12),
# 'mail': u'ozysaptono@hotmail.com',
# 'name': u'Ridwan Marbun',
# 'sex': 'M',
# 'username': u'ymaryati'}
fake.profile(fields=None, sex=None)
# { 'address': u'Jalan Moch. Ramdan No. 552\nBontang, Riau 82938',
# 'birthdate': datetime.date(1945, 5, 13),
# 'blood_group': 'A+',
# 'company': u'CV Nugroho (Persero) Tbk',
# 'current_location': (Decimal('-18.210330'), Decimal('-69.286832')),
# 'job': 'Lobbyist',
# 'mail': u'leowinarsih@yahoo.com',
# 'name': u'Gilda Agustina',
# 'residence': u'Gang Pasir Koja No. 31\nMojokerto, Papua Barat 66577',
# 'sex': 'M',
# 'ssn': u'190-56-1638',
# 'username': u'permatabagya',
# 'website': [u'http://pt.mil/', u'http://www.ud.id/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# ( u'DRdNGQZXPjNwGwgFYAVZ',
# u'https://www.cv.or.id/',
# u'RjNUCEWtuHfDGFWBoQxd',
# 4970,
# -94475365.264,
# u'QAYBbCihbNtvoZYmpSVn',
# u'OlvHcVDvHUqVNQPsnJzf',
# u'CDXhFphImkzdUBxTrOIG',
# u'llQVIltaosshLeEiVgcd',
# datetime.datetime(2013, 9, 18, 6, 16, 11),
# u'http://www.cv.mil.id/posts/list/about/',
# u'http://pt.net/main/',
# Decimal('56.31124396'))
fake.pystr(min_chars=None, max_chars=20)
# u'LTqIBUggoTtmfgIrWMKi'
fake.pystruct(count=10, *value_types)
# ( [ Decimal('-2.85904234449E+12'),
# 6837,
# 6549,
# 5127,
# u'qPJBFiGZoEguFOaQPKch',
# u'ePtzqzSMphFgKZJDwWmg',
# u'gzBbpzsisDqqKFdsEqXj',
# u'TppUrWdrtQOHBiGlqcxK',
# 6375,
# u'nPQTzPoxHKyVUmgXszdi'],
# { u'ad': 5342,
# u'et': u'qnivVRglCFGnMhiWSaBi',
# u'eum': 8506,
# u'hic': u'IAvRtxVhChhIGUrRBcLS',
# u'necessitatibus': datetime.datetime(1995, 9, 16, 7, 47, 35),
# u'porro': u'cJpAcOtOKgzrXBCdmPdF',
# u'praesentium': 4820,
# u'sequi': Decimal('12968.480129'),
# u'sit': datetime.datetime(1994, 8, 5, 7, 38, 19),
# u'voluptatum': 61420.83806},
# { u'alias': { 7: Decimal('-968845.512731'),
# 8: [ u'wtOmIYodbvpljHIwtsBh',
# u'bpYpEDhxGvwyAgiWKLao',
# u'DcWAQSmOVohPQHOaoLJy'],
# 9: { 7: u'ycGIWgwiOjZLjoNQVPdq',
# 8: u'aprasetya@hotmail.com',
# 9: [ -94.469633227,
# datetime.datetime(2005, 10, 2, 23, 26, 6)]}},
# u'aliquid': { 1: u'fqqHhtCxBPjnDUrrpvoH',
# 2: [ 5880,
# u'xzavbqQlYzrvLAqShiyk',
# u'https://pd.biz.id/'],
# 3: { 1: 461,
# 2: Decimal('-4.81310880576'),
# 3: [Decimal('2.9965488909E+14'), 3482]}},
# u'animi': { 3: 4857,
# 4: [ u'https://perum.gov/main/tags/post/',
# u'EvtmfccKnlfiIVrdzhRJ',
# datetime.datetime(1975, 9, 25, 22, 8, 58)],
# 5: { 3: u'MyOPKRNVnhaCGdxNazmt',
# 4: u'zZwrgUqZqjKoWhOOTGHc',
# 5: [ datetime.datetime(1997, 11, 11, 14, 5, 8),
# u'http://pt.sch.id/terms.html']}},
# u'aut': { 6: 7557,
# 7: [ u'GMBCdLguvyQHuvzBxlVE',
# u'eggWOgSNcTGeKqZNmhQB',
# u'https://cv.desa.id/'],
# 8: { 6: 5.24472116,
# 7: u'tirtayasa81@perum.co.id',
# 8: [ u'https://cv.org/tags/wp-content/homepage/',
# u'JGEBbtjjyTePkjzjkUdZ']}},
# u'blanditiis': { 9: u'thartati@yahoo.com',
# 10: [ Decimal('93720.4315048'),
# u'dxmHjpOZVHPoIJMBEEGm',
# 9132],
# 11: { 9: -7772670139.2585,
# 10: u'https://www.cv.web.id/register.html',
# 11: [ u'JhkQJoTJfLQOnuWjNTLE',
# u'fhHNSOsinJiaCLKblAuZ']}},
# u'doloremque': { 5: u'vHEBsLOTuUlKzfFeMZPC',
# 6: [ u'fpxsEPBHcbUorSRyhCbD',
# u'https://pt.ponpes.id/app/category/homepage.html',
# u'TfhkRqCNZOOmPMzUaWcq'],
# 7: { 5: datetime.datetime(2010, 9, 10, 8, 59, 29),
# 6: u'RynArqllFidNzoGFLhZu',
# 7: [ 186,
# datetime.datetime(2005, 7, 11, 15, 38, 36)]}},
# u'ipsam': { 8: -30719828091679.0,
# 9: [ u'iRaGNBMXszSyDCRmxYvl',
# u'https://pt.co.id/terms/',
# u'karnawinarsih@cv.com'],
# 10: { 8: 7854,
# 9: Decimal('4.95331597298E+14'),
# 10: [ 2327,
# datetime.datetime(1983, 8, 24, 19, 22, 49)]}},
# u'nihil': { 2: 5394,
# 3: [ u'KoMbBNGvxsnelbHCgrCF',
# u'ioKfPirKxgMnuGgLovOl',
# u'olORmxTDnZeoAPMMTRvC'],
# 4: { 2: u'eGJrbBAGCfOVujRsUjyw',
# 3: u'https://pt.edu/author/',
# 4: [u'kjfMHUofbJJndvDStRFd', 4293]}},
# u'quo': { 0: u'idtuYQBNyDwSSYVriRGv',
# 1: [ u'http://ud.biz.id/category/terms/',
# u'urVFfBDoZxpkxtShbpKy',
# 9.2763],
# 2: { 0: Decimal('52326.845852'),
# 1: u'dfdcpIIRJONdGjtnrYit',
# 2: [-133067350.976, u'gsamosir@cv.net.id']}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# -913434768007543.0
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('-8743556506.57')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ u'mMzovEHriufiDutFfSIg',
# u'oMETvlsVqfIQGPxkPrbi',
# u'LefgersROtCFcbDRYrcN',
# datetime.datetime(1998, 11, 28, 6, 25, 43),
# u'IgRlGyJFHTZnRSjFwbUv',
# u'http://www.perum.int/posts/category/main/']
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( u'ibrani45@hotmail.com',
# 3368,
# 7052,
# datetime.datetime(1972, 9, 21, 18, 20, 43),
# 1168,
# u'https://ud.int/home/',
# u'ZswTJIiiFRyDMeLXbcoi',
# u'DSetghVtKbgVEFYssBlG',
# datetime.datetime(1999, 11, 14, 19, 51, 43),
# Decimal('8165.19983544'))
fake.pybool()
# True
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([Decimal('-843.7'), u'KaayyqpVInKjCvrxXqpG', u'https://cv.desa.id/', 818, Decimal('-37982709438.4'), u'siregardarmaji@yahoo.com', u'zdUUQnOWHuyyLxLmPOvI'])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'animi': u'JvqdnxjTvACFDvAefkkp',
# u'cumque': Decimal('-935673488.51'),
# u'fugit': u'https://ud.ponpes.id/privacy.asp',
# u'ipsa': u'PUEenGirwteAZRJaBtcq',
# u'iure': Decimal('9.25934885885E+14'),
# u'modi': 9625,
# u'necessitatibus': u'https://cv.web.id/',
# u'quibusdam': u'TcQHTpQcPIjtDmuqduKZ',
# u'quisquam': u'SxtUQDpYclYLZoCiRlTy',
# u'ullam': 62,
# u'veritatis': u'waluyodrajat@hotmail.com'}
fake.pyint()
# 5574
faker.providers.ssn
¶
fake.ssn(taxpayer_identification_number_type="SSN")
# u'331-93-0938'
fake.ein()
# u'40-5914144'
fake.itin()
# u'915-92-4578'
faker.providers.user_agent
¶
fake.mac_processor()
# u'U; PPC'
fake.firefox()
# u'Mozilla/5.0 (X11; Linux i686; rv:1.9.5.20) Gecko/2017-02-16 12:47:18 Firefox/3.8'
fake.linux_platform_token()
# u'X11; Linux x86_64'
fake.opera()
# u'Opera/9.16.(Windows 98; Win 9x 4.90; the-NP) Presto/2.9.160 Version/10.00'
fake.windows_platform_token()
# u'Windows NT 5.2'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 5.0; Windows NT 5.0; Trident/5.0)'
fake.user_agent()
# u'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/5310 (KHTML, like Gecko) Chrome/49.0.835.0 Safari/5310'
fake.linux_processor()
# u'x86_64'
fake.chrome(version_from=13, version_to=63, build_from=800, build_to=899)
# u'Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_6_4) AppleWebKit/5352 (KHTML, like Gecko) Chrome/37.0.869.0 Safari/5352'
fake.mac_platform_token()
# u'Macintosh; Intel Mac OS X 10_5_9'
fake.safari()
# u'Mozilla/5.0 (iPod; U; CPU iPhone OS 4_2 like Mac OS X; shs-CA) AppleWebKit/532.1.2 (KHTML, like Gecko) Version/4.0.5 Mobile/8B118 Safari/6532.1.2'