Language tw_GH¶
faker.providers.address
¶
fake.longitude()
# Decimal('-11.174733')
fake.building_number()
# u'9161'
fake.street_address()
# u'327 Osei Road Apt. 284'
fake.postalcode_plus4()
# u'44330-9078'
fake.city_prefix()
# u'North'
fake.military_ship()
# u'USCGC'
fake.city()
# u'Stanleyfurt'
fake.zipcode_plus4()
# u'50531-0092'
fake.state_abbr()
# u'KY'
fake.latitude()
# Decimal('65.1787945')
fake.street_suffix()
# u'Hill'
fake.city_suffix()
# u'haven'
fake.military_dpo()
# u'Unit 7687 Box 5135'
fake.country_code(representation="alpha-2")
# u'LK'
fake.country()
# u'Sweden'
fake.secondary_address()
# u'Suite 675'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('-102.923915')
fake.postalcode()
# u'49836'
fake.address()
# u'232 Akoto Points\nAduseiside, KY 71911'
fake.state()
# u'Wisconsin'
fake.military_state()
# u'AE'
fake.street_name()
# u'Amo Points'
fake.zipcode()
# u'58966'
fake.postcode()
# u'66995'
fake.military_apo()
# u'PSC 8109, Box 8552'
faker.providers.automotive
¶
fake.license_plate()
# u'AJV-244'
faker.providers.bank
¶
fake.bban()
# 'FGZV5968566952213'
fake.bank_country()
# 'GB'
fake.iban()
# 'GB19WEZS1440544260832'
faker.providers.barcode
¶
fake.ean(length=13)
# u'6154005244151'
fake.ean13()
# u'7672759677043'
fake.ean8()
# u'40462493'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(100,205,81)'
fake.color_name()
# u'DarkViolet'
fake.rgb_color()
# u'150,178,125'
fake.safe_hex_color()
# u'#22dd00'
fake.safe_color_name()
# u'green'
fake.hex_color()
# u'#1a0d92'
faker.providers.company
¶
fake.company()
# u'Kyerewaa Group'
fake.company_suffix()
# u'Ltd'
fake.catch_phrase()
# u'Networked coherent solution'
fake.bs()
# u'redefine turn-key platforms'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'825'
fake.credit_card_provider(card_type=None)
# u'JCB 16 digit'
fake.credit_card_full(card_type=None)
# u'VISA 16 digit\nLucy Anokye\n4980811135165096 01/23\nCVC: 763\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '01/25'
fake.credit_card_number(card_type=None)
# u'6507826426829076'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'EOS'
fake.currency_code()
# 'THB'
fake.currency_name()
# 'Guyanese dollar'
fake.cryptocurrency_name()
# 'Tether'
fake.cryptocurrency()
# ('STC', 'SwiftCoin')
fake.currency()
# ('KPW', 'North Korean won')
faker.providers.date_time
¶
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2018, 9, 14, 6, 48, 9)
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0xf5cce464>
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(2010, 9, 8, 4, 10, 59)
fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2014, 8, 27)
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 8, 10, 14, 11, 57)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2018, 8, 5)
fake.day_of_week()
# 'Monday'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2017, 7, 11, 17, 37, 48)
fake.date_between(start_date="-30y", end_date="today")
# datetime.date(1998, 11, 29)
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2002, 1, 13, 7, 43, 47)
fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '1970-10-02'
fake.am_pm()
# 'PM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2018, 8, 16, 9, 31, 49)
fake.date_object(end_datetime=None)
# datetime.date(1973, 2, 15)
fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2018, 1, 21)
fake.iso8601(tzinfo=None, end_datetime=None)
# '2012-04-20T13:15:15'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2018, 9, 11)
fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2006, 7, 9)
fake.month()
# '08'
fake.year()
# '2000'
fake.day_of_month()
# '11'
fake.unix_time(end_datetime=None, start_datetime=None)
# 970562545
fake.timezone()
# u'Africa/Nouakchott'
fake.century()
# u'VII'
fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(1959, 10, 14)
fake.time_object(end_datetime=None)
# datetime.time(22, 59, 25)
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 8, 15, 3, 8, 10)
fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(2009, 7, 23, 15, 13, 14)
fake.time(pattern="%H:%M:%S", end_datetime=None)
# '07:03:29'
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, 7, 29, 13, 32, 40)
fake.month_name()
# 'October'
fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(890, 4, 16, 8, 52, 8)
fake.time_delta(end_datetime=None)
# datetime.timedelta(7358, 47506)
faker.providers.file
¶
fake.unix_device(prefix=None)
# u'/dev/vdo'
fake.mime_type(category=None)
# u'video/webm'
fake.file_path(depth=1, category=None, extension=None)
# u'/quibusdam/iure.png'
fake.unix_partition(prefix=None)
# u'/dev/xvdb8'
fake.file_name(category=None, extension=None)
# u'sunt.pptx'
fake.file_extension(category=None)
# u'docx'
faker.providers.internet
¶
fake.ascii_free_email(*args, **kwargs)
# 'kwartengthomas@gmail.com'
fake.image_url(width=None, height=None)
# u'https://dummyimage.com/892x554'
fake.tld()
# u'com'
fake.email(*args, **kwargs)
# u'janice26@gmail.com'
fake.url(schemes=None)
# u'https://www.agyapong.com/'
fake.ipv4_private(network=False, address_class=None)
# '172.16.179.194'
fake.user_name(*args, **kwargs)
# u'twumasikwaku'
fake.uri_extension()
# u'.htm'
fake.uri_page()
# u'main'
fake.free_email_domain(*args, **kwargs)
# u'yahoo.com'
fake.safe_email(*args, **kwargs)
# u'yvonneomani@example.com'
fake.ascii_email(*args, **kwargs)
# 'paulankrumah@danso-appia.com'
fake.ipv4_network_class()
# u'c'
fake.ipv4_public(network=False, address_class=None)
# '176.211.155.214'
fake.ascii_company_email(*args, **kwargs)
# 'casare@adusei-andorful.com'
fake.domain_name(*args, **kwargs)
# u'prempeh-fosu.info'
fake.ipv4(network=False, address_class=None, private=None)
# '67.236.24.12'
fake.domain_word(*args, **kwargs)
# u'prempeh'
fake.slug(*args, **kwargs)
# u'laborum-quidem-est'
fake.uri_path(deep=None)
# u'blog/category/main'
fake.company_email(*args, **kwargs)
# u'hannabel11@kyei.org'
fake.uri()
# u'https://yeboah.org/blog/search/explore/post/'
fake.ipv6(network=False)
# '63a:a5a:1708:eab2:85c2:395e:69fb:13cb'
fake.free_email(*args, **kwargs)
# u'twumasijill@gmail.com'
fake.ascii_safe_email(*args, **kwargs)
# 'akwasi45@example.org'
fake.mac_address()
# u'52:d4:c5:db:84:4e'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'1-368-59546-4'
fake.isbn13(separator="-")
# u'978-0-00-947201-5'
faker.providers.job
¶
fake.job()
# 'Designer, multimedia'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Consequatur eos maiores repudiandae soluta harum. Illo libero blanditiis eos. Repudiandae explicabo inventore eum.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Autem deserunt et mollitia quam commodi.',
# u'Quo impedit odio debitis perferendis tempora sint libero.',
# u'Nesciunt officia libero repellendus tempore excepturi. Perspiciatis maxime a architecto. Laborum numquam numquam ducimus sit saepe modi.']
fake.words(nb=3, ext_word_list=None)
# [u'occaecati', u'repudiandae', u'minima']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Illum quo iure non dignissimos labore.',
# u'Delectus ad consequatur expedita.',
# u'Id ea asperiores autem veritatis cum enim.']
fake.word(ext_word_list=None)
# u'vero'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Facilis ut perspiciatis sint voluptate totam.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Ducimus officiis tenetur iusto.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'^Pw5TxSuGS'
fake.locale()
# u'dv_MV'
fake.binary(length=1048576)
# bytearray(b'\x85\xad\x01\xa7\xb6\xb5/Q\x87D\x87\xba\xd9\xa9\xe9\xdf\x13\xc5Vc\x7f\xc3\x03\xffRJ\xe2v\xf3\x82\xbf\x15\xd1\xb6\xdb[\x98\x8b,)Q\x13Q\xce\x0c\xedZ\xee\x99\xd8\xa1\x95\x07\x88\xc8\xbb\xe3\xb9\x03\xa6x\xa4\x16\x01\x86$\x84k\xa7H\xff\xe5\xdfHm/\x0b\x00Ks\xfe\xce#\xa2W4ep\x07;R\xf85B(O\x91\xaaW9\xae\xbffz\xb49\x83_\xf2\xed\xf9E\xf1\xd8\x07\\\xc7Vq\x13.\xd8>=\xeb\xab\x01;(\x14\xb3&\x0e\xf8F \xfe\n\x12 \xedK{\x13~"\x85v\xa1\xaa.\xa6\xfeW\xc1\xbb\xba\xe9\x8fq\x9d\xadR\x1f\xeeF\xf1\xda"Y\x87-\xbd\x8c\xfc\x94\x9b\xa6\xa4\xa1yKaWs\xbeT\xa0[?\xf6\xce\xd2a\x16\xed5z\x1b\xd7\xb9+\x83DS\xee\x00?\xba]\x18\xcd3+\x8e_\xdc\x88U\x81\xa2a\x85\xdc3\xcdv)\xce\x80\xddM\xcd\x0f\x89\x90&/\x00\xea\x1as\xed*;/n\x97\xe5\xfb\xa35\xb4V\xd1\xf4\x9e}\x12\x8f\x13mj~\x84\x83M09\tq|\x8e\xc3U\xbb\xb6<G\x17$\x06\xb2(\x89\x9bj\xde\xab\xc4\xd3\xa7/\x04\xc0\xac3Q\xd8A~\x01q\x98\xf8+\x19\x97\\\x87\xde4\xc9E\xe8\xc10v*7\xea\xf9N6\xc8\t\xad\x17\xed\x936|\x17\t*\x0c\x9a\xaas\xe5P>\x0e\xb4\xaf\xf1\xb7\xb0\x0b\xd2\xb5"x"\xef\x1ay9v\xac\xb0L\x0c\x8c\x1a7\nm\xb4\xd1\x0bl\xbd\xb6\xac\xb6w\x1dl\xf4v\xb5\x05\xf6\xf1\x95\xdc\xb1\xa2\x8c"Y\x97\xd4\xf1#\x7f:Tx\x0e\xc2o\\\xc8\x816\xd8\xff\x1c#\x84S\x85Xr\xe1\x0bt\xcb\xe9co\x1e\xdb\xe1\xec\xfe\xdbS\x11\x9d3\xd1\x06(n!\xa9o}v\xf9\x93\xc2>ZZ\xc1!\xf8mhd,I\xa7\x14\xe3\x14s\xa6\x81F\x1e\xdcU\xcd~\xc2\xb2\xf7\xbfV\xa1\xfc\xc6\x8f\x91Ocs\x8f\xd7F|\xa6\x16\xb3+7\xd6\xbc\xd4\xe1\x13\x93{\x08\xf8\xe9Bx\x8d:\xa6%\xcf\xd8q\xbaa[\x8b\x84\xb0\xb9m\xf5\x054\xe2.\xc5\xf6/\xe8\t\xbb\x08\x1d4e\x9b\xb1f\xa0@\xf9U\x89\x94\xe2\xcd\xa7\x98[\x0b\xb4\xd8g\x14\x087\x1dS\x10\x7f\x1a\xd6S}\x99tBE\xf9*\\\x0bW\xcb\x7f\xa8o\x1bJ!|\'\xc3H\xe1\xdd;\xfe\xdf\x92\x9eQ\x06Ft`\x94\xfcy\xaf^3\xf9\xa7\x9f\x96\xd6\x89-\x04\xb6\x1f}g\x16\x0c \xdfzZ\x11@\x19\x9fx\x9c^\x05\x91\xd8\xf9\x8d\xdfJ\x89\xe0\xc3\xf1 "\xc6\x96\x80\xe3ubI\xe7w\xfb\x15(\x88\xac\xb2\x96F\xae\xc4\x13:\xda\xa6U\x1d\x90\x03\xf2\x8d\x18\xb5\xc4\x9b\xdb\xa9\xd6M\xddU&\xd3\xb7\x80\x8a\x7f\xa9BY\x16]o\xe0U\x90\xac\x90\xbc\xfeY3\x06\xebb\x9c\xff(\xe5\xd6d\xa3\x97g[N\xf3~\x7f\xba\x8e\xf4\r\xc2h\xf8\x9cgEb\xc0$:\x14m\xbd7\'\x03\xb5\xc5\xe0\xdf\xdfaF\xe9#.\xc5@\n\x92\x9a\x9dp\x198zf\xbc\xfd\xc8\x81\x13\x1c\xcf\xdb\x8f\x85\x10\x84A\xf5X\x02\xc3*rT\xa9x\xfc\xfa\xf0\xc4\xb5\xcd\xc2!*>\xe2\x01\xae\x9f\xbd4\x14[~(\x15\xc4\xf7=\xbbu\'\xc4\x81Ly\x03\xff\xa4+\xd9y\xce\xb2\xf0\xc1\x1a\xe3\'\x0bL\x13\x7fM\x84\x8a!}+\x92\xe3\xce\xd1\xd8\x15\xd4\xa3\x1a\xcbwkRX\xbd\xe5\xe8\xc3\xb8\x1dZN$w/Q}\xaa\xd0m\xdf\xe0}\xe0\x8a\xd7\xd1o\xa4\xf9\xccA\t\x96\xf1\x8d\xfd\xd7[G\x8e6\xfd?\x03\x80\xdc\xb4\xfa\xf5m\\a`B\xa8\xf238\x81\x8d"\x0f1\x9b\xdb\x02\xa5}\x84\x8f\x0c\x13\xc9W\xe4f\xbcv\xda\xe0\xee\xfb\x8ddq\xf5\xb9^+J\x85\x1d\xa0\x9a3\xff,H\xd16\xeb\xcd\xea\xf7\xac\xe6\x16\x82\x17\xbaJ7&\x82\x9c\xbay\xd3\xc3^\xcb\xcbXIj_b\xb5>>[\x11\x92\x8c\x12\x10\xa4\xea\xe5\xfd\xf7,\n7\xc2\xb7\x88c\t\xfe\x8ef)\xf8#=b\xc3\xbe\xb2E\xdbr\xdbML\xeeEA\xf8\x13\xc1\xc3G\x90\x04\xf1-;\xa5\x80')
fake.md5(raw_output=False)
# '8f2fe1d9ed6a3feda9048cf70a3db42b'
fake.sha1(raw_output=False)
# 'e008517689ea95e765703217e5c76414ccdf153e'
fake.null_boolean()
# None
fake.sha256(raw_output=False)
# 'ca9808fcd7bb113c7d468633eb6f42864e23cf623cb3cb519b1b12b1b911ddca'
fake.uuid4()
# 'd4dd84d6-8fac-ab8e-a7aa-7e1771f389a7'
fake.language_code()
# u'csb'
fake.boolean(chance_of_getting_true=50)
# True
faker.providers.person
¶
fake.last_name_male()
# u'Anokye'
fake.name_female()
# u'Michelle Duah'
fake.prefix_male()
# u'Mr.'
fake.prefix()
# u'Dr.'
fake.name()
# u'Ms. Rachael Agyei'
fake.suffix_female()
# u''
fake.name_male()
# u'Owura Kofi Appiah'
fake.first_name()
# u'Emily'
fake.suffix_male()
# u''
fake.suffix()
# u''
fake.first_name_male()
# u'Paul'
fake.first_name_female()
# u'Mary'
fake.last_name_female()
# u'Amo'
fake.last_name()
# u'Bonsu'
fake.prefix_female()
# u'Awura'
faker.providers.phone_number
¶
fake.phone_number()
# u'0506164578'
fake.msisdn()
# '4548509758909'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'342 Bernard Divide Apt. 818\nPort Susanville, VT 02419',
# 'birthdate': datetime.date(1964, 11, 20),
# 'mail': u'elliott11@gmail.com',
# 'name': u'Elliott Kusi',
# 'sex': 'M',
# 'username': u'mosei'}
fake.profile(fields=None, sex=None)
# { 'address': u'089 Oliver Dale\nWest Sam, DE 89833-2559',
# 'birthdate': datetime.date(1995, 4, 16),
# 'blood_group': 'A+',
# 'company': u'Frema-Amponsa',
# 'current_location': (Decimal('-2.485268'), Decimal('50.632182')),
# 'job': 'Engineer, manufacturing',
# 'mail': u'hyawson@gmail.com',
# 'name': u'Owura Robert Kusi',
# 'residence': u'126 Nti Burg\nNew Frank, MO 14455',
# 'sex': 'F',
# 'ssn': u'530-24-9312',
# 'username': u'donaldosei',
# 'website': [u'https://nyame.com/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# set([u'tghrOTCmtdjqAtSHKGbE', u'nZrLkYiZVXuSXbSiUIbd', u'http://ata-agyapong.org/', u'harry08@asante-obeng.com', u'ihkxwWRLwFmVlCaSywGr', u'XhzVcyiOImQgFzeJpszl'])
fake.pystr(min_chars=None, max_chars=20)
# u'DHQXQjVLknSUkeclBaKt'
fake.pystruct(count=10, *value_types)
# ( [ u'NkjYCDCQBcSLRmguWXrA',
# u'QaoTnZZwQMXwbtuXHYrj',
# Decimal('333554515.686'),
# 1059,
# 41446439286.0,
# u'efWJTyPrfEALRWhgDCUi',
# -7871401392564.0,
# u'https://asante.net/posts/categories/categories/register/',
# u'ahFnBqswvptybhaIbtUW',
# u'OrfszmGtzQYEURTaPTxZ'],
# { u'assumenda': 6245.8861710495,
# u'blanditiis': datetime.datetime(1976, 12, 10, 22, 23, 25),
# u'consequuntur': u'UztsMDFpdVwHpgrcHIBL',
# u'esse': u'nSeJoVUYuiIronercePk',
# u'est': u'fxaeAqzIoVianGwsNQNk',
# u'nam': u'rebMhycYgpEMYGuEuWTM',
# u'odit': 6969,
# u'perferendis': -3380.381588296,
# u'quae': u'lydia21@hotmail.com',
# u'veritatis': u'PhYcTHupqAusIEiXbneP'},
# { u'dolorem': { 6: u'WzbQMHdLsrEXRYTuNsLa',
# 7: [ u'WDnmsCMdsflzfgigotZK',
# u'gadomah@gmail.com',
# 1480],
# 8: { 6: u'GCgUeWanZwmmNSlGjUYk',
# 7: 2672,
# 8: [ u'https://okyere.com/search/post.htm',
# u'https://www.boateng.com/']}},
# u'eligendi': { 9: u'OfDhNWseZCwJtpsdXRJJ',
# 10: [ u'jhPzccKzBbErkqATMEKp',
# u'GDqsIxgAlLvHlppwuEYQ',
# -4722549045.0],
# 11: { 9: 8623,
# 10: 2653,
# 11: [ u'AEjogSkKYCFXRlkHtBZh',
# datetime.datetime(2004, 2, 29, 7, 18, 25)]}},
# u'incidunt': { 8: Decimal('-1.38059574008E+12'),
# 9: [u'PyzCqIKRVlhSpgSCeXkZ', 8964, -526569.800398],
# 10: { 8: datetime.datetime(1997, 12, 19, 18, 16, 37),
# 9: u'RgZlANhihEXHmGqwZdqv',
# 10: [ u'JvHzRrCGHUAJNqZPmRdV',
# u'millicent53@gmail.com']}},
# u'nemo': { 5: 9123,
# 6: [ u'http://www.kumi.com/explore/index.php',
# 9997,
# u'sarah15@hotmail.com'],
# 7: { 5: Decimal('-58617493620.5'),
# 6: datetime.datetime(1974, 10, 1, 9, 15, 9),
# 7: [ u'OtGDJqGsOUGdeyAGCzdH',
# datetime.datetime(1988, 11, 27, 19, 23, 1)]}},
# u'quis': { 4: -735442303595.0,
# 5: [ Decimal('9531.84'),
# u'yUcwefuTqjgHOHelOqLI',
# u'https://www.osei.com/category.php'],
# 6: { 4: 7727,
# 5: 1874,
# 6: [ u'TgSWOeQBNfSOpxllAkOh',
# Decimal('-8442699523.3')]}},
# u'quisquam': { 3: 9691,
# 4: [ Decimal('587096677.0'),
# u'ZttSKyowTXJGVwAaFWtO',
# Decimal('-507.2')],
# 5: { 3: u'http://www.agyare.net/homepage.html',
# 4: 7615,
# 5: [ 8879,
# datetime.datetime(1976, 2, 5, 4, 45, 11)]}},
# u'ratione': { 1: u'RUGVSOTyhggyyFkMYPlK',
# 2: [ u'HmpaKEKVCelyNrCPpshB',
# u'iVqucidkfwtvQOLRKIKr',
# 7893],
# 3: { 1: u'bowusu@gmail.com',
# 2: 3142,
# 3: [ datetime.datetime(1972, 5, 7, 1, 7, 27),
# 3710]}},
# u'rem': { 0: 9724,
# 1: [ u'http://obeng.net/privacy.jsp',
# u'johngyamfi@amoanimaa-anokye.info',
# u'glrCCCsWYQfQhEZyKXkU'],
# 2: { 0: 4138,
# 1: 1797,
# 2: [u'iCWaFODZgYsRrMhlsWCW', 36031633192.6549]}},
# u'rerum': { 7: u'henryboakye@akyeamfuo.com',
# 8: [ u'VLzIaTrejBsnaUHAOXua',
# u'feliciamansa@akoto.biz',
# u'MEYLHtFNJexICrLAWbty'],
# 9: { 7: Decimal('-2.7520346185E+11'),
# 8: 674,
# 9: [ u'http://www.donkor-afoakwa.com/tag/tag/tags/post/',
# u'yAkWACgTnfZOjOtNMTlS']}},
# u'tenetur': { 2: u'kdCungZzmGaddDhKJPKF',
# 3: [ Decimal('27816634157.0'),
# datetime.datetime(1990, 9, 27, 14, 46, 48),
# datetime.datetime(2004, 6, 17, 4, 19, 17)],
# 4: { 2: u'LXSGdISyiaoxswADpfPF',
# 3: u'vQxeYgxXYQnPlXEjujYB',
# 4: [ datetime.datetime(1982, 9, 24, 6, 26, 46),
# u'vvoTftGhCXnFeXppdibx']}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# -6776386.7349
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('634024924.876')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ u'julianaawuah@hotmail.com',
# u'vNDPIcVdCPOCRgKzShLt',
# u'ronaldafrakomaa@yahoo.com',
# u'WiCwUdOTLTGqPBCfDuiT',
# -601.3,
# u'VShUSTsWMfFBGZTRraDE',
# 29,
# u'http://www.gyamfiaa.com/wp-content/register/',
# u'VyKZHuPNbybvzpmjqJLq',
# u'http://amoanimaa-darko.com/explore/wp-content/tags/index/']
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( 3712,
# Decimal('1565884519.33'),
# u'wQNLSRiRauDhZHmDSYNz',
# 9476,
# datetime.datetime(1975, 12, 21, 1, 35, 1),
# u'gIaskTGBiBjznPUiwXlV',
# u'http://boahen.com/about.html',
# u'wMibBXDyrZLIaCKyOjhr',
# 250.63473045503,
# u'IkjalCNGMtmdxFGijgoI',
# u'VPHaZGpRvqlEFXhNxwsv')
fake.pybool()
# True
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([u'http://www.ntim-darko.com/terms/', u'XBEAYfSutPgQSgtqWxNl', u'takyinathan@kwaakye-anima.info', 9579, 5490, u'CtpoFWvFbJLCEfzOcDdN', 8594, u'vgpzsLoueGtxZSquHlMs', -884.1337, 9788])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'aperiam': u'https://www.tutu.org/',
# u'autem': Decimal('-584565314.736'),
# u'cumque': u'amHkUEWVYadWbUHGJBGd',
# u'fugit': u'vhQcOprmnwWcigYcDdKq',
# u'molestiae': Decimal('25158.3'),
# u'neque': u'dyjNIqkQVlEOgnwnhyEJ',
# u'repudiandae': 2817}
fake.pyint()
# 2723
faker.providers.ssn
¶
fake.ssn(taxpayer_identification_number_type="SSN")
# u'783-13-8839'
fake.ein()
# u'01-1480273'
fake.itin()
# u'935-97-8423'
faker.providers.user_agent
¶
fake.mac_processor()
# u'PPC'
fake.firefox()
# u'Mozilla/5.0 (X11; Linux i686; rv:1.9.7.20) Gecko/2017-08-07 23:15:47 Firefox/3.6.19'
fake.linux_platform_token()
# u'X11; Linux i686'
fake.opera()
# u'Opera/8.77.(Windows NT 5.0; tr-TR) Presto/2.9.186 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/3.1)'
fake.user_agent()
# u'Mozilla/5.0 (X11; Linux x86_64; rv:1.9.7.20) Gecko/2017-03-27 11:37:15 Firefox/5.0'
fake.linux_processor()
# u'i686'
fake.chrome(version_from=13, version_to=63, build_from=800, build_to=899)
# u'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/5341 (KHTML, like Gecko) Chrome/48.0.862.0 Safari/5341'
fake.mac_platform_token()
# u'Macintosh; U; Intel Mac OS X 10_7_3'
fake.safari()
# u'Mozilla/5.0 (Windows; U; Windows 95) AppleWebKit/535.44.3 (KHTML, like Gecko) Version/5.1 Safari/535.44.3'