Language en_TH¶
faker.providers.address
¶
fake.longitude()
# Decimal('-144.094706')
fake.building_number()
# u'9465'
fake.street_address()
# u'834 Puntira Mountains Apt. 333'
fake.postalcode_plus4()
# u'36176-5210'
fake.city_prefix()
# u'Lake'
fake.military_ship()
# u'USNS'
fake.country_code()
# u'ZM'
fake.city()
# u'Kitprapaview'
fake.zipcode_plus4()
# u'34836-3535'
fake.state_abbr()
# u'MA'
fake.latitude()
# Decimal('-11.2134895')
fake.street_suffix()
# u'Keys'
fake.city_suffix()
# u'shire'
fake.military_dpo()
# u'Unit 1071 Box 2165'
fake.country()
# u'Netherlands'
fake.secondary_address()
# u'Suite 318'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('-55.373711')
fake.postalcode()
# u'42712'
fake.address()
# u'6356 Kunaporn Crest Apt. 970\nPadashire, IA 19227-2889'
fake.state()
# u'New York'
fake.military_state()
# u'AA'
fake.street_name()
# u'Chanikan Plain'
fake.zipcode()
# u'30713'
fake.postcode()
# u'35661-0247'
fake.military_apo()
# u'PSC 4992, Box 0106'
faker.providers.automotive
¶
fake.license_plate()
# u'5XNC 12'
faker.providers.barcode
¶
fake.ean(length=13)
# u'7775393295205'
fake.ean13()
# u'5620278323219'
fake.ean8()
# u'56594447'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(92,48,98)'
fake.color_name()
# u'Aquamarine'
fake.rgb_color()
# u'132,72,26'
fake.safe_hex_color()
# u'#dd8800'
fake.safe_color_name()
# u'silver'
fake.hex_color()
# u'#7f5daa'
faker.providers.company
¶
fake.company()
# u'Krittayanukoon, Bunlerngsri and Pongpanitch'
fake.company_suffix()
# u'PLC'
fake.catch_phrase()
# u'Future-proofed tertiary neural-net'
fake.bs()
# u'facilitate dynamic models'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'101'
fake.credit_card_provider(card_type=None)
# u'Maestro'
fake.credit_card_full(card_type=None)
# u'VISA 16 digit\nNutwadee Srisoontorn\n4727145395253906 08/25\nCVC: 777\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '12/18'
fake.credit_card_number(card_type=None)
# u'4365922549400'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'XDN'
fake.currency_code()
# 'THB'
faker.providers.date_time
¶
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2001, 3, 3, 9, 39, 44)
fake.date_time_between(start_date="-30y", end_date="now", tzinfo=None)
# datetime.datetime(2008, 12, 22, 7, 47, 34)
fake.time(pattern="%H:%M:%S")
# '07:50:03'
fake.date_time_ad(tzinfo=None)
# datetime.datetime(2009, 4, 3, 2, 25, 49)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2017, 9, 2)
fake.day_of_week()
# 'Thursday'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2016, 4, 6, 11, 36, 36)
fake.time_object()
# datetime.time(10, 39, 18)
fake.iso8601(tzinfo=None)
# '2015-02-15T23:35:31'
fake.time_delta()
# datetime.timedelta(4857, 71934)
fake.am_pm()
# 'PM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2017, 9, 6, 20, 17, 14)
fake.date_object()
# date(1974, 4, 10)
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2017, 9, 9, 19, 28, 6)
fake.date_time(tzinfo=None)
# datetime(2006, 10, 30, 15, 54, 17)
fake.date(pattern="%Y-%m-%d")
# '1989-05-27'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2017, 9, 29)
fake.month()
# '09'
fake.unix_time()
# 1489624527
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2017, 9, 6, 5, 22, 48)
fake.day_of_month()
# '28'
fake.year()
# '1972'
fake.timezone()
# u'Africa/Abidjan'
fake.century()
# u'XII'
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0xb50ac238>
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2017, 6, 24, 18, 32, 20)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2017, 8, 30, 17, 9, 30)
fake.month_name()
# 'July'
faker.providers.file
¶
fake.file_path(depth=1, category=None, extension=None)
# u'/nisi/officiis.mov'
fake.mime_type(category=None)
# u'image/gif'
fake.file_name(category=None, extension=None)
# u'aliquam.jpg'
fake.file_extension(category=None)
# u'wav'
faker.providers.internet
¶
fake.url()
# u'http://suraprasert.biz/'
fake.company_email()
# u'sireelertarisara@sujjaboriboon.com'
fake.uri()
# u'http://www.chowitunkit.info/wp-content/blog/tags/faq.php'
fake.domain_word(*args, **kwargs)
# u'polauaypon-prayoonhong'
fake.ipv4(network=False)
# '17.76.77.23'
fake.domain_name(levels=1)
# u'trikasemmart-siripaiboo.com'
fake.tld()
# u'com'
fake.uri_path(deep=None)
# u'tag'
fake.free_email()
# u'xsorattanachai@hotmail.com'
fake.slug(*args, **kwargs)
# u'sed-iure-vel'
fake.free_email_domain()
# u'hotmail.com'
fake.uri_extension()
# u'.php'
fake.ipv6(network=False)
# '92b7:d166:c459:e5cb:3304:f3a9:66f9:1b2d'
fake.user_name(*args, **kwargs)
# u'ypichpandecha'
fake.image_url(width=None, height=None)
# u'http://www.lorempixel.com/332/661'
fake.email()
# u'wcharoensuksopol@habpanom.com'
fake.uri_page()
# u'post'
fake.mac_address()
# u'89:e9:cf:ad:00:e1'
fake.safe_email()
# u'titipatrayunyongpachongruk@example.net'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'0-86118-810-1'
fake.isbn13(separator="-")
# u'978-1-928113-91-1'
faker.providers.job
¶
fake.job()
# 'Adult nurse'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Mollitia minus deleniti ratione officiis sunt porro molestiae esse. Iusto beatae excepturi totam. Iusto sapiente quod impedit.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Nostrum labore aliquam aut ab error. Placeat incidunt asperiores molestias rem repudiandae praesentium. Eveniet iure voluptate assumenda.',
# u'Debitis animi asperiores dignissimos velit eos. Id labore similique dolore. Similique veniam sed accusantium modi.',
# u'Itaque reprehenderit animi aliquam dignissimos voluptas. Voluptas delectus ea sunt. Accusamus consequatur molestias quae laboriosam maxime rem autem. Quaerat adipisci necessitatibus velit sunt vel tempore amet.']
fake.words(nb=3, ext_word_list=None)
# [u'laudantium', u'provident', u'laudantium']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Culpa ipsum molestias deleniti natus.',
# u'Culpa doloremque adipisci officia porro ullam dolore tenetur repudiandae.',
# u'Ea rerum temporibus esse animi.']
fake.word(ext_word_list=None)
# u'at'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Dolores nulla voluptatum deserunt iste odit sapiente. Illo esse libero repudiandae. Doloribus facere error quam laboriosam perspiciatis. Mollitia accusamus excepturi magni voluptatum modi.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Consequatur adipisci delectus maxime sunt ab eius odio.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'$6WqLSdbvz'
fake.locale()
# u'ms_MY'
fake.binary(length=1048576)
# bytearray(b'\x85\xcc\xe0\xa5\xe0\xe5\xe0\xc3\x17\xb4`d\xcd\xe7E\xe60\xf4\xcbE\x03A\xd3\xaau\xc3d\x00\xf4i\xa0.\xf4N\rn\xfaH\x0cZ\xcbm\xb0\x14NO\xc1\x13C\xb6\x16\x04^\x13\x94\xec\x18(\x9b\xe3<p\x8f\xa2!\xc6\x1cz\x81\xc1\xfe\xe5\xb0\xe3\x18\xe5o\'\x94|\xaaK\xeev\x14\x06\xb9\xa1\x93\x1b\x10\xfc\xa52\xf8\xf0h\x17\xb6jE\x10\x17\xc5\xf5f\xb3\x97Z\xc9j\xbc\xb8\xb8\xa2\xcb\x98\xba\xef,\x10N\x8c\x94d\x1b6n\x97\x0c>\x10,d\xd3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\xc5\x1c\x85\xb4\x0c\xeb-\x1a8(\x1f\xd1@\r\xb9\xcc\xd4\xb6\rtI\x99\x00\x0b\xc8\xdc*n\xab\xdb\x1d7I5"\x87\xd5F\xf2-\xa6k\x83\xf5\x03\xf3hg\x8aaan~)Q\xe2\x915Kz({\x8e\xb2.\xd3\xda=\xa8\x0c\x04\x96c\xb7\xceU;\xcao\xa3!\xd5\xc9q\x0bFY\xcfo\x15L\x03\x84\x14S\xda%\xa7b\x04 \x96\x1f\x84\xec\x0b\xd2\x01\xc8I\x81')
fake.md5(raw_output=False)
# '1442d2f9418164f91229bf3c206f3a26'
fake.sha1(raw_output=False)
# 'd1369ce40e427810c301d19e2724c6cb5e2e395b'
fake.null_boolean()
# False
fake.sha256(raw_output=False)
# '2abeed1407d56e5b48998265eb95e26a6314d04545496d427a466d72ae3784e7'
fake.uuid4()
# '9b294172-4f98-508b-9fac-0707ca4d088c'
fake.language_code()
# u'ts'
fake.boolean(chance_of_getting_true=50)
# False
faker.providers.person
¶
fake.last_name_male()
# u'Thantananont'
fake.name_female()
# u'Pak Vethayasas'
fake.prefix_male()
# u'POL LT GEN'
fake.prefix()
# u'MR'
fake.name()
# u'Aunyaporn Polauaypon'
fake.suffix_female()
# ''
fake.name_male()
# u'Chayapat Chaisatit'
fake.first_name()
# u'Patcharaporn'
fake.suffix_male()
# ''
fake.suffix()
# ''
fake.first_name_male()
# u'Suvakit'
fake.first_name_female()
# u'Patchaploy'
fake.last_name_female()
# u'Vethayasas'
fake.last_name()
# u'Wannapaitoonsri'
fake.prefix_female()
# u'PFC'
faker.providers.phone_number
¶
fake.phone_number()
# u'(510)948-7843'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'900 Pachongruk Tunnel Suite 939\nNorth Suvakit, NM 79396',
# 'birthdate': '1994-02-16',
# 'mail': u'kkongsri@gmail.com',
# 'name': u'Pintusorn Charoensuksopol',
# 'sex': 'F',
# 'username': u'prachayarochnattawun'}
fake.profile(fields=None, sex=None)
# { 'address': u'968 Phenphitcha Mall Apt. 791\nSupasitaview, PA 99178-6388',
# 'birthdate': '1974-09-29',
# 'blood_group': 'AB+',
# 'company': u'Kamalanon, Vethayasas and Intaum',
# 'current_location': (Decimal('27.2885865'), Decimal('100.002616')),
# 'job': 'Conservation officer, nature',
# 'mail': u'polauayponkamolchanok@hotmail.com',
# 'name': u'MAJ GEN Nutcha Kongsri',
# 'residence': u'34341 Nattawun Ranch\nWest Kunaporn, MD 36380-1058',
# 'sex': 'F',
# 'ssn': u'068-74-7817',
# 'username': u'dposalee',
# 'website': [u'https://norramon.com/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# set([6080, 4569780323902.35, 3874, -204854.471970996, 4936, u'VLErPvhjFnhBFrPoaoQc', Decimal('2.3526839579E+12'), Decimal('-520572042393'), datetime(1994, 9, 24, 10, 16, 51), u'WUitKnEjwPhVQbgNLIKJ', u'vchowitunkit@hotmail.com', u'hEOjaFYNnfmtEpPhSEIB', 9245, u'ftodsapornpitakul@bunlupong.com'])
fake.pystr(min_chars=None, max_chars=20)
# u'yoKsoiNmtlfXnDQyNCez'
fake.pystruct(count=10, *value_types)
# ( [ datetime(1974, 1, 18, 11, 26, 24),
# -80432046653.832,
# u'VlYdWaHACObTlTIpdWfQ',
# Decimal('-29728.9'),
# 6772,
# u'ttOaHRPoPjULuCgOirKc',
# u'rGMGqUfuDrTdoiWqWFek',
# u'EIkyRcJjlfUEwzXMEtJL',
# u'http://www.pichpandecha.org/',
# u'UUxAklDUEwYThHaSOhic'],
# { u'aliquam': datetime(1979, 10, 2, 5, 21, 28),
# u'amet': u'ctungkasethakul@pikatsingkorn-pianduangsri.com',
# u'animi': u'iillKCBEaNBKMGxcxcgH',
# u'cumque': u'bDsAyDQhPrpXApmiNgti',
# u'dolorem': u'atkXytcOICvPUtGytQbl',
# u'labore': u'EOMVttJXmbWMooXypRnQ',
# u'quam': u'https://www.todsapornpitakul.biz/category.asp',
# u'quibusdam': 2052,
# u'sint': -74.11911153466,
# u'voluptate': u'XtKGRCNvdRSyFgwLswkD'},
# { u'animi': { 6: u'eivnZnLqXTAtGQakabUT',
# 7: [ u'wassaya55@polauaypon.com',
# -80081297.0,
# u'eKceKNpYhogihUNvxdzR'],
# 8: { 6: u'http://www.kumsoontorn-boonpungbaramee.com/',
# 7: u'https://www.chowitunkit.net/',
# 8: [2158, datetime(1998, 7, 4, 3, 57, 31)]}},
# u'dicta': { 0: Decimal('2855.41'),
# 1: [Decimal('40640800521.4'), 58967.817751, 1959],
# 2: { 0: u'QiQKORHWrkLVhPEnuyBs',
# 1: u'EPrsTvBTLGNrOAkgqpid',
# 2: [ datetime(2005, 8, 8, 20, 44, 39),
# u'AelxQqRiVpNcxEzakGVL']}},
# u'dignissimos': { 9: u'http://intaum.net/posts/search/register.html',
# 10: [ u'PWPcyXEHGakZXmqUtceH',
# u'patcharaporn82@gmail.com',
# u'ANVRANWvrxWkxdNsYBsm'],
# 11: { 9: u'qFaKcmoYwUeSFjPvxUKt',
# 10: u'prima92@yahoo.com',
# 11: [7261, u'bgEPZdNdohCMIldswons']}},
# u'eligendi': { 7: 9952,
# 8: [ 5380,
# u'pada92@yahoo.com',
# datetime(1995, 1, 24, 21, 53, 31)],
# 9: { 7: u'VnNYapedyqthrAnfnptF',
# 8: u'prames27@prakalpawong.org',
# 9: [3500, 7779]}},
# u'pariatur': { 3: 9975,
# 4: [ u'fUXdjSepZMorTbBpPaTD',
# 5591,
# datetime(2015, 9, 16, 0, 15, 2)],
# 5: { 3: Decimal('-79.1709545577'),
# 4: 96,
# 5: [ u'IzYqlqhUeXLblxxOqpNI',
# u'https://www.chomsri.biz/terms.php']}},
# u'placeat': { 2: u'thanatcha22@yahoo.com',
# 3: [ 5090,
# u'tQhmoFlRxWNQpnpZYbyn',
# u'eOJuuYsGnCsUttWEGAop'],
# 4: { 2: 6300,
# 3: u'CaSMISaZEKkAFyRsMBfF',
# 4: [ u'BimAAmyPoMxwAvSQJEFj',
# u'csWWkkdLVzADjyZCyhSq']}},
# u'provident': { 1: u'vNsPLIvzKpMZvOMyHxDX',
# 2: [ u'http://krittayanukoon.com/tags/wp-content/tags/home.asp',
# 7568,
# Decimal('-8.74386016957E+13')],
# 3: { 1: datetime(1972, 2, 24, 2, 34, 28),
# 2: Decimal('-6.82882391461E+14'),
# 3: [ datetime(2015, 1, 1, 15, 19, 7),
# datetime(2011, 1, 26, 21, 15, 35)]}},
# u'quia': { 8: u'http://chowitunkit-phusilarungrueng.com/author.html',
# 9: [ u'bayjIhWZDKfQvflHuGWi',
# u'OGaunfFQCiVxSeJnuSGr',
# u'PafgiJcHJSATLZOEaskr'],
# 10: { 8: u'QWLaZZCnTVpsoYhNuFQq',
# 9: u'weZNRVRUJwteCZkkDNPg',
# 10: [3329, u'bEdcGGbEGpsanIyyQzAB']}},
# u'similique': { 4: u'iWzJtDejzmlvsnADIrwo',
# 5: [ u'xtYUDduXcPgzNxHCDelC',
# 4796,
# Decimal('67820237919.8')],
# 6: { 4: u'opasuk@hotmail.com',
# 5: 4439,
# 6: [ u'lTHPYQBtYjrGbOCCJODb',
# u'methavorakulyanisa@hotmail.com']}},
# u'voluptates': { 5: u'ychoeychuen@pikatsingkorn.com',
# 6: [ u'JNMIawIXJyPmOZPLZGym',
# u'dCLrkVvxmRseQhWPVwGb',
# 1666],
# 7: { 5: u'LpgUjoJLzZMQECAfxHMU',
# 6: datetime(1976, 2, 5, 15, 8, 1),
# 7: [ Decimal('4.61349801881E+13'),
# u'uODuZoXfEyezyHNbAVbe']}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# 5196.9346773
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('-2.35193211982E+12')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ 6177,
# Decimal('9557.21'),
# u'lcYlFceihtbdlipuioPu',
# u'sarunpornsuraprasert@kongchayasukawut.com',
# datetime(2008, 8, 14, 10, 52, 20),
# u'https://polpo.info/search/',
# datetime(1997, 10, 1, 10, 19, 40),
# -565.73074,
# 3552,
# 5484]
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( Decimal('-38948574.427'),
# 85711.51,
# 7174,
# datetime(1979, 3, 19, 18, 43, 27),
# u'sireelertpeem@todsapornpitakul-losatapornpipit.biz',
# -83574719348833.3,
# 1105,
# u'BNKNFYUFnzAkbbCiQNtL',
# u'BxEDmLBKJtwPBDZyQJzW',
# 733559.0,
# 7280.677099816,
# 6630,
# u'https://wimolnot-phusilarungrueng.net/faq/',
# 3966)
fake.pybool()
# True
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([datetime(1998, 1, 8, 11, 12, 49), datetime(1987, 3, 17, 3, 55, 51), 2055, Decimal('317692786.6'), u'nMHjvOpkeZKdCaezqnLt', u'jOcdQWvNrxSYsxuHxVuo', -746618673946.6, u'gASmXSeeIIpWeBhNaAdL', -444.1784, u'ehUCXEHhDRuNsxfWjXEV', Decimal('20617749399.0'), u'RthPENnHGRkzcTXSbqft', datetime(1993, 7, 8, 3, 55, 58)])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'doloremque': 824,
# u'eaque': u'BsYsCyYObVnJdAknBMpa',
# u'exercitationem': u'BLqTnihIxNyzTTKYaLpl',
# u'facilis': 2423,
# u'id': u'nRpGAivfpyrGVVysouvU',
# u'provident': u'tXnrwoWCNpCyJDRBvECR',
# u'quia': 7995,
# u'quis': u'http://www.suraprasert.info/tags/privacy.html',
# u'quod': Decimal('88747627.7'),
# u'saepe': u'CLPNmVxNDXUcQzVPDJhG'}
fake.pyint()
# 6390
faker.providers.ssn
¶
fake.ssn()
# u'440-83-7671'
faker.providers.user_agent
¶
fake.mac_processor()
# u'PPC'
fake.firefox()
# u'Mozilla/5.0 (Windows 98; Win 9x 4.90; nb-NO; rv:1.9.2.20) Gecko/2015-01-27 07:27:59 Firefox/12.0'
fake.linux_platform_token()
# u'X11; Linux x86_64'
fake.opera()
# u'Opera/9.46.(Windows NT 6.0; lij-IT) Presto/2.9.163 Version/10.00'
fake.windows_platform_token()
# u'Windows NT 5.2'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 8.0; Windows 95; Trident/4.0)'
fake.user_agent()
# u'Mozilla/5.0 (Windows NT 4.0; ti-ET; rv:1.9.1.20) Gecko/2015-05-07 05:32:49 Firefox/15.0'
fake.chrome()
# u'Mozilla/5.0 (Windows NT 5.2) AppleWebKit/5320 (KHTML, like Gecko) Chrome/14.0.858.0 Safari/5320'
fake.linux_processor()
# u'x86_64'
fake.mac_platform_token()
# u'Macintosh; PPC Mac OS X 10_7_8'
fake.safari()
# u'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_7_4 rv:6.0; zh-TW) AppleWebKit/535.27.6 (KHTML, like Gecko) Version/4.0.3 Safari/535.27.6'