Language tw_GH¶
faker.providers.address
¶
fake.longitude()
# Decimal('160.281470')
fake.building_number()
# u'0466'
fake.street_address()
# u'90359 Yeboah Ports Apt. 986'
fake.postalcode_plus4()
# u'47862-1302'
fake.city_prefix()
# u'Lake'
fake.military_ship()
# u'USNV'
fake.city()
# u'Kwaakyeport'
fake.zipcode_plus4()
# u'67570-0321'
fake.state_abbr()
# u'VI'
fake.latitude()
# Decimal('85.4375425')
fake.street_suffix()
# u'Ramp'
fake.city_suffix()
# u'ton'
fake.military_dpo()
# u'Unit 9014 Box 4923'
fake.country_code(representation="alpha-2")
# u'UG'
fake.country()
# u'Mali'
fake.secondary_address()
# u'Apt. 654'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('-17.646266')
fake.postalcode()
# u'17123'
fake.address()
# u'623 Matthew Inlet Apt. 140\nAnokyetown, GU 01156'
fake.state()
# u'Missouri'
fake.military_state()
# u'AA'
fake.street_name()
# u'Katherine Club'
fake.zipcode()
# u'31816'
fake.postcode()
# u'78308'
fake.military_apo()
# u'PSC 5193, Box 0631'
faker.providers.automotive
¶
fake.license_plate()
# u'76G 114'
faker.providers.bank
¶
fake.bban()
# 'FBVR4354174180614'
fake.bank_country()
# 'GB'
fake.iban()
# 'GB59HKKR3092658203523'
faker.providers.barcode
¶
fake.ean(length=13)
# u'0229996935138'
fake.ean13()
# u'3079298307761'
fake.ean8()
# u'74238842'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(178,144,200)'
fake.color_name()
# u'OldLace'
fake.rgb_color()
# u'66,160,170'
fake.safe_hex_color()
# u'#667700'
fake.safe_color_name()
# u'silver'
fake.hex_color()
# u'#1f846e'
faker.providers.company
¶
fake.company()
# u'Amponsah, Kumi and Baa'
fake.company_suffix()
# u'PLC'
fake.catch_phrase()
# u'Total object-oriented function'
fake.bs()
# u'empower dynamic schemas'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'6560'
fake.credit_card_provider(card_type=None)
# u'JCB 16 digit'
fake.credit_card_full(card_type=None)
# u'Mastercard\nPatrick Mensa\n2222917493921756 03/19\nCVV: 663\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '08/23'
fake.credit_card_number(card_type=None)
# u'4188185829267132'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'UBQ'
fake.currency_code()
# 'KWD'
fake.currency_name()
# 'Cayman Islands dollar'
fake.cryptocurrency_name()
# 'Monero'
fake.cryptocurrency()
# ('XDN', 'DigitalNote')
fake.currency()
# ('TRY', 'Turkish lira')
faker.providers.date_time
¶
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2018, 9, 15, 7, 41, 6)
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0xffffaa3200f0>
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(2017, 1, 9, 10, 29, 51)
fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2011, 11, 1)
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 8, 13, 13, 2, 35)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2018, 7, 29)
fake.day_of_week()
# 'Tuesday'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2012, 8, 23, 7, 45, 36)
fake.date_between(start_date="-30y", end_date="today")
# datetime.date(2002, 1, 3)
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2008, 7, 22, 6, 13, 10)
fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '1991-06-21'
fake.am_pm()
# 'PM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2018, 8, 16, 10, 58, 45)
fake.date_object(end_datetime=None)
# datetime.date(1989, 6, 7)
fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2018, 1, 19)
fake.iso8601(tzinfo=None, end_datetime=None)
# '1985-03-21T03:27:26'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2018, 9, 6)
fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2000, 2, 10)
fake.month()
# '11'
fake.year()
# '1986'
fake.day_of_month()
# '11'
fake.unix_time(end_datetime=None, start_datetime=None)
# 765632194
fake.timezone()
# u'Asia/Calcutta'
fake.century()
# u'XIV'
fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(1991, 4, 12)
fake.time_object(end_datetime=None)
# datetime.time(17, 31, 22)
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 3, 18, 7, 50, 34)
fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(2005, 11, 25, 15, 7, 2)
fake.time(pattern="%H:%M:%S", end_datetime=None)
# '02:39:36'
fake.date_this_month(before_today=True, after_today=False)
# datetime.date(2018, 8, 15)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2018, 7, 29, 18, 56, 12)
fake.month_name()
# 'January'
fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(1990, 7, 31, 19, 18, 26)
fake.time_delta(end_datetime=None)
# datetime.timedelta(3366, 38013)
faker.providers.file
¶
fake.unix_device(prefix=None)
# u'/dev/xvdw'
fake.mime_type(category=None)
# u'video/mpeg'
fake.file_path(depth=1, category=None, extension=None)
# u'/ex/praesentium.odp'
fake.unix_partition(prefix=None)
# u'/dev/sdi1'
fake.file_name(category=None, extension=None)
# u'quasi.wav'
fake.file_extension(category=None)
# u'css'
faker.providers.internet
¶
fake.ascii_free_email(*args, **kwargs)
# 'cnti@hotmail.com'
fake.image_url(width=None, height=None)
# u'https://placeholdit.imgix.net/~text?txtsize=55&txt=87x831&w=87&h=831'
fake.tld()
# u'com'
fake.email(*args, **kwargs)
# u'bprempeh@agyapong.com'
fake.url(schemes=None)
# u'http://asante.com/'
fake.ipv4_private(network=False, address_class=None)
# '172.19.135.176'
fake.user_name(*args, **kwargs)
# u'gordonampofowaa'
fake.uri_extension()
# u'.htm'
fake.uri_page()
# u'category'
fake.free_email_domain(*args, **kwargs)
# u'yahoo.com'
fake.safe_email(*args, **kwargs)
# u'kwasi34@example.com'
fake.ascii_email(*args, **kwargs)
# 'sandra59@yahoo.com'
fake.ipv4_network_class()
# u'c'
fake.ipv4_public(network=False, address_class=None)
# '200.21.167.34'
fake.ascii_company_email(*args, **kwargs)
# 'teresaasamoah@agyare-dwamena.biz'
fake.domain_name(*args, **kwargs)
# u'badu.com'
fake.ipv4(network=False, address_class=None, private=None)
# '63.74.74.22'
fake.domain_word(*args, **kwargs)
# u'tawia'
fake.slug(*args, **kwargs)
# u'fugiat-omnis'
fake.uri_path(deep=None)
# u'main'
fake.company_email(*args, **kwargs)
# u'priscilla21@okyere.com'
fake.uri()
# u'https://www.agyapong.com/app/homepage.php'
fake.ipv6(network=False)
# '50b7:bf6d:d877:2bad:159c:5bd4:e159:4e6e'
fake.free_email(*args, **kwargs)
# u'afuagyasi@gmail.com'
fake.ascii_safe_email(*args, **kwargs)
# 'millicentdwamena@example.net'
fake.mac_address()
# u'89:1a:09:78:49:9a'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'0-16-752653-7'
fake.isbn13(separator="-")
# u'978-1-55278-542-3'
faker.providers.job
¶
fake.job()
# 'Interpreter'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Atque harum alias consequuntur commodi expedita placeat. Quod fugiat ratione porro. Totam repellendus impedit suscipit corporis vitae cupiditate.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Tempora voluptates ut beatae nostrum voluptatum. Consectetur dolor tempore.',
# u'Odit maiores repellat atque explicabo sapiente rerum. Est cupiditate fugiat quo ut. Rerum similique fuga nihil quod.',
# u'Vitae laudantium animi voluptas. Laborum temporibus alias accusamus. Aut officiis labore enim corrupti consequatur cupiditate.']
fake.words(nb=3, ext_word_list=None)
# [u'deserunt', u'eveniet', u'laborum']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Veritatis occaecati perspiciatis laborum minus.',
# u'Quas facere sint nobis maxime eos magnam eligendi.',
# u'Ex accusamus est quibusdam labore dignissimos libero.']
fake.word(ext_word_list=None)
# u'explicabo'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Dolorem vel doloribus modi totam veritatis quae illum. Possimus enim ipsum dignissimos accusantium.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Quo natus asperiores tempora est.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'^+08VGl_Te'
fake.locale()
# u'kok_IN'
fake.binary(length=1048576)
# bytearray(b'\x06\xb3)\xa6\x81\x11\x95\xe6\x0b\x9c\xf2\xa8\xe0\x94:\xb3\x9cX\x16}[\xab\xb5\x0c(\xdc+\x0e\xe5O\xd4\xd6JK;\\\x11\xd2\x90A1j\xb2\x19\xab[\x03\xf7\xa0?n\xf7\xa5k\x9f\x8d\xbd\x82"\xb0\xc5~6o\x99\n\x83\t\xf8hr\xc7[?\x95\xe0\x86\x94\x87t\xf9{}\x9f\xb5e\xab\x01\xc0\x7f\xd9-p"r\xb2\xe3\xe76\xbfU\xc3##\xae4x\x81\xc5V#\x08\xc4[M\x9eQ\x05\xb1\xf9\xa4S\xe1\xf56\x9e\x1fy.\x8c\x10\xf9fj\x15\x9eX\x12\xa3*\x86\xa7=\x0f\x19Mxc\x8c\x193\x89\xb3\x12\xc2\xe14\x91\xa1qt\xe9\xae\xb5\x86.\x0c?\x9d?\xf0\xf1\xd7)\x8f\x8a\xb5eZ\x11\x95\xa0\x8f\xae3sTS\xe7\x0f\x81+Hjm\x0f\x89\x93\x13\xee\x10K\xb9Yo\x85F\xbeS\xc7\xa9\x95\xca`vu}#\xe5t"v-:\rSh&!\xe3\xfdB\x82AS\xd1\x1a\x02\xf8\xf6l\x061\xab\x04\xba\xb7\x04\x1c\xe0\xa9\xc3R\x17m\xbb\xfc0\xc9\xa8c\x00&\x9d\xed\x8eGE\x93\x98\x0bB\xf0RU\x8a\xa3|\xc2\x9f\xac\x8b\xa3*-\xccS\xfc9\x08\xaa!\xf8r6\x9eV(CqL\xf3\xa6\\\xb5R\t\xefQ\xc1\xd6v\x08\xa7\xa1\x85\xadZe\xb5\x8c_-\x84\x82\xb6\'p\xa83\xd65-5L\x180\xde\xf6\x9a\xde\x8fMd\xad\\\xdd\tY\x94^\r\x84\xb8\x15\xcf\xb3Vfe,\x89\xd6=Kp\xf0\xd58\x19\xfbn:N4\xcfQ\x95N?P\x04"\x9a\x86v\x033\xe3\xe7\xd9J\x84/\xdc"\x15\xa0\x94<\xa3D\xd8\xd4\x12fb\xe9\xcd0;i5\x86O%K\rBs8\t\x96x[ t\xdbL\xaa\xb3(i\xc3Q\xad\xf14\x08\x01\x993\xd7\xb8Z~\xf9\xe9\x07\x9b\xe4\xd6\xd8\xdb\xe7\xb2\x99T\xfe\xb3`Q\xd3)\xc7\xa5\xa9\x85\x12\xf8\xdc\x93\x95m\xd2w-\xd7\xdd\xa5\xde\x8f\x81\xe9\\\xa6\xcfL\xfb\xde\xa5\xcc\xd08\xe6\x93e\x812\x1a\xed\xfd\x9f\x00\xf2\xd6\x05\xc0\x1c{\x85(\x97\xefT\x83\x9fcY\x8a\xaf;=jX\x8d:\x05.d2\xcdg1K\x0e</\xacC\x9b\xb3\x10\xaa\xbbP\x02\x10\xfcQQ6\xc5s\x18\xbd\xb4\tw\xdbw\x15\x97\x83\xb5\x93\xa2\xbf\xd3ur\x99\\W\xe10$\xcfk{Z\xbePU0/\x02@)\xfc\xddr\xa2\xf55\x82\x96\xf5a\x19\xd7\x9a\xac\xc4\xe7`\x86\x1b\xae\xbfuU\x8b\xcd6\xc2\rE\xd0\x8e:\x016\x05\xb1\x11\x82M\xe5+\r\xc7\xeevh\xd4]\x08\x83\xb9\xba\xf5\x8e@n\xdb\xa2\xc3\xfd\xe6\xa1\xadr\xe5r\x86\x8a\xaa\xb5)4\x1d\xb8\x7fH\x06\x1e\x9d\x07\'\xc0N\x90\xd1\xee\x8f\x82K\xd0\xe5\xfd\x8b,\xe8\xda\xcd\xb9\xa5\xfb\xf7\xe9\xb4q\xdf\x1e<@c\xc6M\xa9\xef\xd4\xb9#&\xe6\xc8\xf6"\x0f\xb5\x169\xb8\x14j"\xe0\x98\\F\\(\x11\xf6\x1d\x0f\xdb\xffq\xe9n;\x16\x9f\xdf\xd5)\xc3\xbb\xf4U,~\xcaW\x14y\x0f\x06\x15\x80&\xac\xf4\xc6\x9d\xb6\xe2\x01@\\)\xe5\xce\xc0\x8c\xb3xkY\xb2\xdaeJ\xdf$\xd2k0{\xf69i\xca3\xd8\xdbN\xfd\x06\x10-I\xa5-G\x89\xbb\x8a\rB\xef\xa3\x90\xa4\x01\xc5\xa1\xc4\xfcD 7\x01\x89\xdf\xbc;\xa1TEdc="\xe5\xd1\x9ak\x84j3Y\xb64vi\x99\xdeN\xcf\xc8\xa8;\xfe$\xaa\nDr\xecX\xa0\x8716\x81\xc2\x0e\xc9eUs\xe7\x17\xe7\xfe\xbco\x1e\x98\xb7\xb7[\x15y\xc6\x05\x93]g\xe0\x82%{u\xf9\xfd\xf2\x04\xe9\n\xb1\x925\xdc\xddr\x9d(\xb2G\xae\x96\x8dt1B\x05;\xa7\xdc\xddR\xab\xc7Y\xff\x1fak\xcc\xfb^\xef\xacPUA\xe0~\'K\xa1;\xa2$\xd6\xec\'e\xc5\xe5\xb1\xb3\x9a\x0b\xddf\x1f\xa9S\xd3\xe4t\xf3\x1b\xcf$\x03\xc5\x04\xe8\x92F%nN\x16tq\xdf\xe7r\x92q;\xf7\xc8A\x03\x93\xfc\xfb+\x17\xdd$g-\x11I\x02\xb2\xfb\xd7^.a\x08}\xf5,\x0c\xae\x1f\x81\x1f\xa2"\x1dt#$\x84\x9b&\xab{\x83\'\xd0')
fake.md5(raw_output=False)
# '20555d0f6314717c0a7ca02528b08053'
fake.sha1(raw_output=False)
# 'e25121642920c4322d57503c89f8d5f4412d2945'
fake.null_boolean()
# True
fake.sha256(raw_output=False)
# '1c8e5aff12e2c4166a74a0438f2b8152c454ef2834a230068c9ec6091cb20e88'
fake.uuid4()
# '3c954321-5f57-c831-61ed-fb1a642f5fcb'
fake.language_code()
# u'os'
fake.boolean(chance_of_getting_true=50)
# False
faker.providers.person
¶
fake.last_name_male()
# u'Yirenkyi'
fake.name_female()
# u'Elliot Kyei'
fake.prefix_male()
# u'Dr.'
fake.prefix()
# u'Awura'
fake.name()
# u'Jeffrey Akyer\u03b5ko'
fake.suffix_female()
# u''
fake.name_male()
# u'Veronica Daakoaa'
fake.first_name()
# u'Matthew'
fake.suffix_male()
# u''
fake.suffix()
# u''
fake.first_name_male()
# u'Kweku'
fake.first_name_female()
# u'Alice'
fake.last_name_female()
# u'Amoasi'
fake.last_name()
# u'Foriwaa'
fake.prefix_female()
# u'Awura'
faker.providers.phone_number
¶
fake.phone_number()
# u'+233560474439'
fake.msisdn()
# '5995165241843'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'0137 Kyerewaa Fall Suite 337\nKofiside, NM 82409',
# 'birthdate': datetime.date(1978, 4, 14),
# 'mail': u'tomobeng@hotmail.com',
# 'name': u'Yvonne Asiedu',
# 'sex': 'F',
# 'username': u'pkwaakye'}
fake.profile(fields=None, sex=None)
# { 'address': u'481 Amponsa Mission\nKyeiberg, VI 40058',
# 'birthdate': datetime.date(1906, 7, 23),
# 'blood_group': 'A-',
# 'company': u'Obeng Group',
# 'current_location': (Decimal('68.013389'), Decimal('-61.288739')),
# 'job': 'IT sales professional',
# 'mail': u'tinakyeiwaa@yahoo.com',
# 'name': u'Ms. Ann Ataa',
# 'residence': u'6086 Nicholas Ferry Suite 632\nNorth Jessica, KS 21534',
# 'sex': 'F',
# 'ssn': u'782-70-7618',
# 'username': u'ptawia',
# 'website': [u'http://www.nti-asamoah.com/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# ( datetime.datetime(1982, 12, 26, 17, 43, 19),
# u'DYytkxSViqBMULdZUeKw',
# 919978762.0,
# 619,
# 2734,
# 6801,
# u'https://www.asare.org/tag/search/search.php',
# u'BgisgTizyMYajyqFXYaa',
# 1589,
# u'derrick44@ntiamoa.org',
# u'https://asantewaa-ankra.com/blog/blog/main.html',
# 7516,
# u'zSlfutBeiAQxPTIMzCcj',
# 495220725128.16)
fake.pystr(min_chars=None, max_chars=20)
# u'rqFjlKSLWmFKhOnuCAei'
fake.pystruct(count=10, *value_types)
# ( [ u'https://www.acheampong-akyaa.biz/tag/posts/privacy.htm',
# 9900,
# 9824,
# Decimal('-5303517148.3'),
# u'hzqklIaxZfwOjZOczEmX',
# u'TKbPwhWiIHLYAUmcPcNB',
# u'FBEkoAMNddwoEabMQLXx',
# u'joxwVYvnAVblcQWxHDDO',
# 80455048966.0,
# u'KTuFIPTGfEYsUUibRWpZ'],
# { u'accusamus': u'CSCPPdmCwYhuLQKXNKlb',
# u'ducimus': u'http://asenso-twumasi.com/homepage/',
# u'eaque': u'josephineankra@opuku.com',
# u'ex': u'EyQRfSdWPkrvAgshxUXN',
# u'facere': 238990895.8,
# u'nihil': u'RLHlbjRTGdHwUvLqHhwL',
# u'perferendis': Decimal('-280885181.345'),
# u'ut': u'cJzCKiSyYVXWcVzRuTGy',
# u'voluptas': 6376988085.94,
# u'voluptatibus': u'eliabeth04@hotmail.com'},
# { u'animi': { 9: u'jopuku@yahoo.com',
# 10: [ -91473375.35,
# u'ajuSehZeWBTBHCfkfksf',
# u'SHjshyUizGRQtLEansrS'],
# 11: { 9: datetime.datetime(2006, 2, 4, 19, 22, 5),
# 10: u'francisnkrumah@yaamoa.com',
# 11: [ u'https://www.prempeh.info/category/explore/privacy.php',
# u'xSGJCqQKDIXYvLorDSZz']}},
# u'dolor': { 0: u'QlufMAmVOVOeqqzlchpA',
# 1: [ datetime.datetime(2000, 8, 8, 6, 25, 27),
# 895,
# u'http://www.nyantakyi.com/homepage.htm'],
# 2: { 0: 3094,
# 1: u'oaJvxBUxdRrXPsWacxNY',
# 2: [ u'cZrVsNKqzWIQlInBHksv',
# u'RzYrmvjwekAaQbqllnGK']}},
# u'dolores': { 5: datetime.datetime(1990, 4, 3, 13, 51, 58),
# 6: [ -91904993716.0,
# u'dxHbuURTELKJsGlkaAxx',
# u'EdAavsotFomBwDIUtJgn'],
# 7: { 5: -99505308127.0,
# 6: 43667.772,
# 7: [ datetime.datetime(2007, 1, 13, 12, 45, 24),
# -17965305248369.0]}},
# u'exercitationem': { 3: 3751,
# 4: [ datetime.datetime(1979, 10, 18, 9, 56, 53),
# Decimal('871631253.534'),
# u'akyerekogregory@hotmail.com'],
# 5: { 3: u'ieZaegAtxoiIrSOWnAdh',
# 4: 6322,
# 5: [u'BbMqsrFONNaMmlbFpPhq', 8263]}},
# u'facere': { 4: u'dansolydia@darko.info',
# 5: [ Decimal('35.4403899458'),
# u'joojo90@yirenkyi.com',
# u'michelle86@yahoo.com'],
# 6: { 4: u'albert35@agyeiwaa-awuah.org',
# 5: u'ama21@oppong.info',
# 6: [ u'snyame@baawia-anokye.org',
# u'https://www.akomaa.info/main.html']}},
# u'inventore': { 1: u'http://baa.info/app/categories/login/',
# 2: [ u'https://www.nkrumah-oppong.com/blog/blog/homepage/',
# u'NlRyVrASwsGzrdnYDMik',
# Decimal('-769111.3')],
# 3: { 1: Decimal('4.87910147789E+12'),
# 2: 2094,
# 3: [ u'http://dwamena.com/tag/app/homepage.php',
# datetime.datetime(1984, 11, 5, 4, 52, 35)]}},
# u'magnam': { 6: 3440,
# 7: [ u'https://www.fosu.biz/terms/',
# u'jrFDLbzuQNHlwBxKJvPR',
# u'jill21@ata.com'],
# 8: { 6: u'QoMiPREIfoWqJtuZCxxy',
# 7: u'https://www.anokye-tiwaa.com/about/',
# 8: [ datetime.datetime(1991, 5, 2, 20, 9, 52),
# 6045]}},
# u'natus': { 8: u'http://www.akoto.org/blog/blog/terms.htm',
# 9: [ u'fosuajulian@agyeiwaa.com',
# u'PlAueLWDwOxqcKKJGNhF',
# 2868],
# 10: { 8: u'FeOhhPPkHfcAINnNNgrk',
# 9: u'mrleWmXlqwEDdDQOCfze',
# 10: [u'EybuSSbsuQejqVwGEcnC', 9800]}},
# u'voluptas': { 7: u'jacobagyeiwaa@nkansa-owusuwaa.com',
# 8: [ u'TvyQGrnoJjIvKQqeaXVY',
# 5216,
# u'UtgyuLSlEXXrRUYJxtcZ'],
# 9: { 7: Decimal('401286471.0'),
# 8: datetime.datetime(1973, 4, 29, 20, 53, 56),
# 9: [ u'epqSYMkuyoYFISmdiQkd',
# 9738445041.321]}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# -559625.7967
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('128.3')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ u'xdaako@antwi.com',
# 7412,
# 4619,
# u'PdhiczOIIsBewoGEJKiP',
# u'http://www.boahen-nkansa.org/home.htm',
# 105,
# Decimal('7042650108.77'),
# Decimal('731875075.0'),
# u'SxaZyilQzozMfThloFEt',
# u'EUSyUzVoJsWiHpxFtuCR',
# 1727,
# u'PvlFGvEJlbEQKYtDYFFA',
# 5.70357379584]
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( u'aVMEgVYpknARfuaXXdJa',
# u'adarko@hotmail.com',
# -569528182769336.0,
# u'https://www.takyi.com/wp-content/explore/homepage/',
# u'VljmUuPdAYaoLBJLoluK',
# 2639,
# u'http://www.baa.com/main/wp-content/search/',
# datetime.datetime(2005, 10, 16, 21, 4, 12),
# datetime.datetime(2008, 2, 9, 3, 19, 15))
fake.pybool()
# False
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([u'OwIaksCIrhPAFwzjnnwl', u'nQGKjbvSqACoahQqftFc', Decimal('34759937.0'), u'NURIlckuCEHmOnoHSAGt', u'yXmyPdcdfUZhaSjxQXqP', u'jsMEVXfGmFRzjOCQoSTl', Decimal('-760367205549'), u'eCxIepZAsXltBjFvDzvN', u'CiDCfnBXrdcbgwNtOFKz', u'SkVYiQftCOJbLJAxhxLX', datetime.datetime(1979, 8, 25, 12, 31, 39)])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'consequuntur': u'tleAXZRGxWKlSpgqzPAR',
# u'debitis': 5014,
# u'delectus': u'izEJlRogLViHgqoAHtwe',
# u'doloribus': Decimal('-60.56'),
# u'earum': u'malcolm31@ata-otiwa.com',
# u'natus': datetime.datetime(1991, 3, 26, 21, 59, 57),
# u'neque': -78.237}
fake.pyint()
# 7997
faker.providers.ssn
¶
fake.ssn(taxpayer_identification_number_type="SSN")
# u'445-50-1385'
fake.ein()
# u'22-5225166'
fake.itin()
# u'916-83-8978'
faker.providers.user_agent
¶
fake.mac_processor()
# u'Intel'
fake.firefox()
# u'Mozilla/5.0 (X11; Linux i686; rv:1.9.7.20) Gecko/2016-05-25 20:45:05 Firefox/6.0'
fake.linux_platform_token()
# u'X11; Linux x86_64'
fake.opera()
# u'Opera/8.61.(Windows 98; et-EE) Presto/2.9.184 Version/12.00'
fake.windows_platform_token()
# u'Windows NT 4.0'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)'
fake.user_agent()
# u'Mozilla/5.0 (compatible; MSIE 5.0; Windows NT 6.2; Trident/3.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/5342 (KHTML, like Gecko) Chrome/31.0.833.0 Safari/5342'
fake.mac_platform_token()
# u'Macintosh; U; PPC Mac OS X 10_9_0'
fake.safari()
# u'Mozilla/5.0 (Windows; U; Windows NT 6.1) AppleWebKit/531.49.6 (KHTML, like Gecko) Version/4.0.3 Safari/531.49.6'