Language tw_GH¶
faker.providers.address
¶
fake.longitude()
# Decimal('-100.938247')
fake.building_number()
# u'115'
fake.street_address()
# u'726 Danny Route'
fake.postalcode_plus4()
# u'49905-9226'
fake.city_prefix()
# u'New'
fake.military_ship()
# u'USNV'
fake.city()
# u'Asamoamouth'
fake.zipcode_plus4()
# u'47234-5282'
fake.state_abbr()
# u'SC'
fake.latitude()
# Decimal('71.485553')
fake.street_suffix()
# u'Bridge'
fake.city_suffix()
# u'port'
fake.military_dpo()
# u'Unit 0216 Box 2245'
fake.country_code(representation="alpha-2")
# u'TD'
fake.country()
# u'China'
fake.secondary_address()
# u'Apt. 163'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('-58.455355')
fake.postalcode()
# u'59471'
fake.address()
# u'91195 Abigail Summit Apt. 044\nLake Patricktown, GA 29686-7040'
fake.state()
# u'Louisiana'
fake.military_state()
# u'AP'
fake.street_name()
# u'Fofie Meadows'
fake.zipcode()
# u'37112'
fake.postcode()
# u'23818'
fake.military_apo()
# u'PSC 4371, Box 4703'
faker.providers.automotive
¶
fake.license_plate()
# u'3R617'
faker.providers.bank
¶
fake.bban()
# 'WFYQ3616099739367'
fake.bank_country()
# 'GB'
fake.iban()
# 'GB78WURW2271537801466'
faker.providers.barcode
¶
fake.ean(length=13)
# u'1626559229472'
fake.ean13()
# u'2663269800033'
fake.ean8()
# u'52702365'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(198,46,9)'
fake.color_name()
# u'Aquamarine'
fake.rgb_color()
# u'191,39,101'
fake.safe_hex_color()
# u'#440000'
fake.safe_color_name()
# u'olive'
fake.hex_color()
# u'#588255'
faker.providers.company
¶
fake.company()
# u'Kwarteng-Otuo'
fake.company_suffix()
# u'Group'
fake.catch_phrase()
# u'Inverse empowering approach'
fake.bs()
# u'maximize ubiquitous technologies'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'068'
fake.credit_card_provider(card_type=None)
# u'JCB 16 digit'
fake.credit_card_full(card_type=None)
# u'VISA 16 digit\nPatricia Fosua\n4708772597511626 05/26\nCVC: 292\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '12/27'
fake.credit_card_number(card_type=None)
# u'213190996879724'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'DRC'
fake.currency_code()
# 'MXN'
fake.currency_name()
# 'Zimbabwean dollar'
fake.cryptocurrency_name()
# 'NEO'
fake.cryptocurrency()
# ('SRN', 'Sirin Labs')
fake.currency()
# ('JOD', 'Jordanian dinar')
faker.providers.date_time
¶
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2018, 9, 6, 5, 58, 55)
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0x7f6bca1dcdc0>
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, 9, 14, 23, 44, 28)
fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2011, 11, 23)
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 8, 10, 6, 20, 20)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2018, 8, 14)
fake.day_of_week()
# 'Sunday'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2016, 7, 19, 7, 30, 46)
fake.date_between(start_date="-30y", end_date="today")
# datetime.date(2007, 1, 27)
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 7, 25, 20, 2, 57)
fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '1998-05-25'
fake.am_pm()
# 'PM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2018, 8, 16, 9, 28, 18)
fake.date_object(end_datetime=None)
# datetime.date(1999, 7, 10)
fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2018, 7, 7)
fake.iso8601(tzinfo=None, end_datetime=None)
# '1988-10-15T03:24:09'
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(2003, 4, 20)
fake.month()
# '08'
fake.year()
# '1970'
fake.day_of_month()
# '11'
fake.unix_time(end_datetime=None, start_datetime=None)
# 688529910
fake.timezone()
# u'Asia/Bahrain'
fake.century()
# u'XIV'
fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(1991, 3, 11)
fake.time_object(end_datetime=None)
# datetime.time(9, 43, 2)
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 3, 14, 9, 51, 15)
fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(2005, 3, 29, 10, 32, 55)
fake.time(pattern="%H:%M:%S", end_datetime=None)
# '06:17:15'
fake.date_this_month(before_today=True, after_today=False)
# datetime.date(2018, 8, 8)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2018, 8, 13, 16, 7, 45)
fake.month_name()
# 'March'
fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(735, 9, 14, 8, 55, 7)
fake.time_delta(end_datetime=None)
# datetime.timedelta(3071, 40260)
faker.providers.file
¶
fake.unix_device(prefix=None)
# u'/dev/vdk'
fake.mime_type(category=None)
# u'image/pjpeg'
fake.file_path(depth=1, category=None, extension=None)
# u'/excepturi/saepe.mp3'
fake.unix_partition(prefix=None)
# u'/dev/vdo9'
fake.file_name(category=None, extension=None)
# u'cumque.wav'
fake.file_extension(category=None)
# u'gif'
faker.providers.internet
¶
fake.ascii_free_email(*args, **kwargs)
# 'ankrajuliana@hotmail.com'
fake.image_url(width=None, height=None)
# u'https://dummyimage.com/8x403'
fake.tld()
# u'com'
fake.email(*args, **kwargs)
# u'pamponsa@hotmail.com'
fake.url(schemes=None)
# u'http://boahen.info/'
fake.ipv4_private(network=False, address_class=None)
# '10.6.8.255'
fake.user_name(*args, **kwargs)
# u'priscilla90'
fake.uri_extension()
# u'.php'
fake.uri_page()
# u'author'
fake.free_email_domain(*args, **kwargs)
# u'gmail.com'
fake.safe_email(*args, **kwargs)
# u'bsarpong@example.org'
fake.ascii_email(*args, **kwargs)
# 'uacheampong@kusi.com'
fake.ipv4_network_class()
# u'a'
fake.ipv4_public(network=False, address_class=None)
# '196.142.35.13'
fake.ascii_company_email(*args, **kwargs)
# 'kyeiwaamaureen@baah.net'
fake.domain_name(*args, **kwargs)
# u'boaten-boadi.org'
fake.ipv4(network=False, address_class=None, private=None)
# '229.145.152.48'
fake.domain_word(*args, **kwargs)
# u'osei'
fake.slug(*args, **kwargs)
# u'facere-itaque-sunt'
fake.uri_path(deep=None)
# u'explore/tags/tag'
fake.company_email(*args, **kwargs)
# u'dora43@yeboah.com'
fake.uri()
# u'https://donkor.com/privacy/'
fake.ipv6(network=False)
# '220a:a458:dc37:40ff:c4d1:e0c9:7040:8c0a'
fake.free_email(*args, **kwargs)
# u'thomasdwamena@gmail.com'
fake.ascii_safe_email(*args, **kwargs)
# 'iquartey@example.net'
fake.mac_address()
# u'08:59:31:9b:93:01'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'0-263-04896-9'
fake.isbn13(separator="-")
# u'978-0-621-69521-2'
faker.providers.job
¶
fake.job()
# 'Statistician'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Cupiditate ea facere repellendus distinctio aperiam hic. Quos consequatur quo magni. Ipsum ratione provident esse voluptatibus.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Ad consectetur porro et atque error. Qui fuga laboriosam reiciendis est aliquam repellendus. Quaerat totam voluptatum nemo.',
# u'Culpa hic dicta voluptates illo. Id inventore iusto adipisci.',
# u'Suscipit tempora nihil voluptates exercitationem ut non impedit. Itaque beatae eligendi harum reprehenderit recusandae. Corporis blanditiis nesciunt atque accusamus reiciendis expedita.']
fake.words(nb=3, ext_word_list=None)
# [u'consequatur', u'nisi', u'necessitatibus']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Laboriosam nulla tempore eligendi mollitia tempora.',
# u'Illum hic natus eveniet.',
# u'Ullam quae illo pariatur dignissimos quaerat ad.']
fake.word(ext_word_list=None)
# u'quae'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Quidem facere iste quibusdam impedit nam corporis quos. Hic harum labore enim neque illum. Necessitatibus mollitia debitis alias fuga.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Corrupti inventore expedita pariatur voluptatem saepe.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'*1B!F7g$g5'
fake.locale()
# u'hr_HR'
fake.binary(length=1048576)
# bytearray(b'W*O\t\x9a\xba\xd8C\x07\xf9\x14\x93\xeb\x0b\xc3\x9c&\xf6\xee\x1a\\,\xb3\xbe6\x15\x8e\xe0\x9fr\x8aB\x06\xcb\xd3\xab\xd7\x9b\x9c\xe0\x80\xe9\t\x93\x00\xe4\xe8\xfd\x9a,\x1d\x0b\x8dI\xbd\x07\xae\x8a\xaf\xf1\xc4\xf8G\xb2\xf1*\xc6&\ne\x93N\x07\x0c\x80A\xa9\xd6\xff\xf2,\xee\xc7\xf5;0\xb1\xc0\xfd\x9e\xdc\xb9\xd3\x95\xcf5F\xb6W<\x1a\xdcp\x98\t\x83c&\xeb\x06\x96\x80\x10\x93T\xf1\x7fi\xc6~d\x12\n\xaf\x9a\xe9\xb9g\xbb\xcc\'0I\xc6$P\xdb\xb6\xa4R \xbbX(\x8c\x85\x1b\xe6_"\x92\xd9\x96\x9e8E\xc8\xd4\xb5\x08\xbf\x11\x8f\x8e\x9c\x85\x0fe\x14aX\x87\xae\xe9lz\xe4\xabG\xa1-\x8b\xb3\xb6\x9f\xfaND\xc6e3D95Ge\xc0*k\xf5\xa4\x16\xaek\xbd\x9e"\n\xecEb=\x1a\xe3a \xb2 \x93\x8f\x85\xfa\xb2g,\x80w\x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\xd1x\xda\x92\xcb,\'\x85L{\x8a\xee\xcc\x81x[\x90\xade\xa8:Vi\x17\x14!\x17K\x8d\xd7\xdf')
fake.md5(raw_output=False)
# '8f22595761ce68f6d243621f53467628'
fake.sha1(raw_output=False)
# '68e56ed87c94a22d6495cf919c068656f205c2dc'
fake.null_boolean()
# None
fake.sha256(raw_output=False)
# 'd22f25da9840a9e736775d03dbf0c266a44d8304e8fd254c137e067480dc67b9'
fake.uuid4()
# '3a0add83-5a1f-7f9a-6dbf-47bc37c47791'
fake.language_code()
# u'wae'
fake.boolean(chance_of_getting_true=50)
# True
faker.providers.person
¶
fake.last_name_male()
# u'Ntim'
fake.name_female()
# u'Paul Twumasi'
fake.prefix_male()
# u'Dr.'
fake.prefix()
# u'Agya'
fake.name()
# u'Maame Maureen Nyaakoaa'
fake.suffix_female()
# u''
fake.name_male()
# u'Janice Asare'
fake.first_name()
# u'Mandy'
fake.suffix_male()
# u''
fake.suffix()
# u''
fake.first_name_male()
# u'Gerald'
fake.first_name_female()
# u'Amanda'
fake.last_name_female()
# u'Ansomaa'
fake.last_name()
# u'Akoaa'
fake.prefix_female()
# u'Ms.'
faker.providers.phone_number
¶
fake.phone_number()
# u'+233242996513'
fake.msisdn()
# '3387835996754'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'PSC 6647, Box 6763\nAPO AE 29952-7886',
# 'birthdate': datetime.date(1935, 10, 14),
# 'mail': u'nakyeampomaa@gmail.com',
# 'name': u'COmfort Adutwum-Amoa',
# 'sex': 'M',
# 'username': u'jeffrey14'}
fake.profile(fields=None, sex=None)
# { 'address': u'USNS Nyaako\nFPO AE 68823',
# 'birthdate': datetime.date(1971, 4, 13),
# 'blood_group': '0+',
# 'company': u'Bonsu-Omani',
# 'current_location': (Decimal('-2.5889775'), Decimal('39.938616')),
# 'job': 'Logistics and distribution manager',
# 'mail': u'qboaten@gmail.com',
# 'name': u'Josh Asare',
# 'residence': u'3593 Rosemary Drive\nLake Abenaton, DC 15544-0572',
# 'sex': 'F',
# 'ssn': u'858-43-5781',
# 'username': u'russellpomaa',
# 'website': [ u'http://adu.com/',
# u'https://nkansah.biz/',
# u'http://www.owusuwaa-acheampong.info/',
# u'http://www.yeboa.info/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# ( Decimal('-67730051.9272'),
# u'MDbjiQqATdkWiipmnswX',
# 9926,
# datetime.datetime(1973, 3, 29, 15, 17, 47),
# u'eIFVEjlLixdJUiBsuRTT',
# u'https://www.kyei.com/homepage/',
# u'lZdlRKtUALhJwkKFSKcj')
fake.pystr(min_chars=None, max_chars=20)
# u'SHMMDpkXRBCuBywlahHD'
fake.pystruct(count=10, *value_types)
# ( [ Decimal('7.24396386785E+14'),
# 801997574387.7,
# u'jnsYhmYsVexxrHOzPMzV',
# u'ezPJtFpFynOJNMRXuDht',
# -9215355.47874,
# 4722,
# 2200,
# datetime.datetime(1974, 1, 28, 5, 43, 18),
# u'https://danso.com/app/main/',
# 8583],
# { u'atque': u'WAMMrgQPuiRepQcpEnCf',
# u'cupiditate': u'BdIsKwjuYwKcaBnMsBLB',
# u'occaecati': datetime.datetime(1989, 1, 5, 23, 50, 22),
# u'officia': Decimal('4.50939627316E+13'),
# u'omnis': u'npbqiFoQGaHvSFQngyyV',
# u'quis': u'akyeampomaaronald@gmail.com',
# u'temporibus': 59.36561,
# u'tenetur': 6811},
# { u'ad': { 5: u'https://kwarteng.com/login/',
# 6: [ 5936,
# u'https://mensa.info/main/wp-content/search/about.html',
# u'kumiadwoa@oti.com'],
# 7: { 5: Decimal('8.80077989539E+12'),
# 6: datetime.datetime(1979, 2, 14, 3, 42, 15),
# 7: [ datetime.datetime(2013, 9, 17, 2, 12, 22),
# u'https://www.gyamfi-tweneboa.com/']}},
# u'culpa': { 2: u'vMiSDjvoJnUgBhffPzwE',
# 3: [ u'VsarudRDBkDZYkPqyAzb',
# datetime.datetime(1994, 6, 14, 10, 26, 19),
# u'jDsIgLYnjcIzemBeDeUo'],
# 4: { 2: 7416,
# 3: u'CnePkywNFumpfhMkXpNp',
# 4: [ 6424,
# datetime.datetime(1999, 11, 16, 17, 43, 16)]}},
# u'dolorum': { 3: u'OsNvngxBqaBqKbyHnsfG',
# 4: [4375, 435893.33, u'eRjxvunFumjakQJdwvdV'],
# 5: { 3: u'AxpGzsQkxTchoxafwzXC',
# 4: u'RTETIuLfnKSqmxcsnDaq',
# 5: [3324, u'bfxtHKrVECxRkUZhHXpS']}},
# u'fugit': { 1: datetime.datetime(1981, 7, 24, 8, 57, 58),
# 2: [ u'TgxVGLVsTkgNifpUHMxw',
# 3136,
# Decimal('-554530369.278')],
# 3: { 1: u'UrrIBNgOYOkFkszuAzAe',
# 2: 9857,
# 3: [ u'vUoMUIttCTJOvPZJulKn',
# Decimal('-7895487885.36')]}},
# u'in': { 7: Decimal('374520736.15'),
# 8: [ u'tyKQsMXmQtjBtspigTCA',
# datetime.datetime(2000, 11, 11, 17, 39, 29),
# 3692],
# 9: { 7: u'zkMLamsiDUuCamRasVVU',
# 8: 6793,
# 9: [1526, Decimal('437.78')]}},
# u'libero': { 4: u'lPzvUpmDXGYsoahPZjbj',
# 5: [ u'patrickyaamoa@gmail.com',
# Decimal('4.78435193567E+14'),
# u'sylvia70@yahoo.com'],
# 6: { 4: datetime.datetime(1980, 6, 2, 5, 18, 37),
# 5: u'yeboajack@oppong-ataa.com',
# 6: [ u'kGbhlBDLQidaUFTKIaZW',
# u'josephine84@amoako.com']}},
# u'placeat': { 9: u'ranokye@gyamfi.info',
# 10: [ u'FISSbSTBWcGSyYhrBUQQ',
# 20766.9846958897,
# u'GHGeeHoopYTDVVenQQoB'],
# 11: { 9: u'lAQSfwKVBcXyrVbPqtbT',
# 10: u'wafirifa@hotmail.com',
# 11: [ Decimal('493051.36'),
# u'ZSnIcKKkNqcXuZgTIOUh']}},
# u'quaerat': { 8: 4480,
# 9: [ datetime.datetime(2005, 10, 7, 2, 22, 48),
# 0.5,
# u'https://ansa.com/register.htm'],
# 10: { 8: u'YDamHevcekPLYpDGzHHD',
# 9: u'YfRkafMbEUVznyPmzUHB',
# 10: [ 4028,
# datetime.datetime(2012, 11, 19, 18, 44, 56)]}},
# u'recusandae': { 6: u'kgmJtxmhRjWlAreUrpUp',
# 7: [Decimal('-478051326.503'), 3846581.12, 7976],
# 8: { 6: u'onyantakyi@frimpomaa.com',
# 7: u'http://www.akyeamfuo.com/blog/app/blog/register.html',
# 8: [7673, -543908.4005324]}},
# u'suscipit': { 0: 39144219.1892875,
# 1: [4233, 7929564153572.69, 18],
# 2: { 0: u'BHTffyBGPsYqMidRqnhr',
# 1: u'duncangyamfi@acheampong-baah.info',
# 2: [ datetime.datetime(2014, 6, 20, 13, 0, 51),
# u'DiqVxiKiDrXrGzMnwjqf']}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# -1491.30996839
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('7028577704.0')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ 6006,
# 760,
# u'BMJLmQpFmAbeQTHFUzrG',
# Decimal('666148658281'),
# 406.907935,
# Decimal('-7066.7134312'),
# u'tEsDwISgILqsRJUuHGoG',
# 4675,
# u'http://www.baa.com/author/',
# u'dUGQcfiEcNGhDDRAwlSc',
# Decimal('-7617319.315'),
# datetime.datetime(1996, 7, 24, 11, 45, 17),
# u'data@agyei.net']
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( u'xdHKJbrGNILBVIdWgFys',
# Decimal('7.04374188725E+12'),
# datetime.datetime(2004, 7, 1, 6, 5, 41),
# Decimal('-5073343.11415'),
# datetime.datetime(2000, 9, 2, 0, 2, 21),
# 7388)
fake.pybool()
# False
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([u'ACSSxCkURzgaNoEkgpBW', u'PVBOjFXXenxUiWwmCRkh', -23500.854852, u'mjBHWPbIxDfklutdoVQs', u'hWmqrNOorKsJHoJrsjuT', datetime.datetime(1998, 9, 19, 0, 22, 7), u'HNyKIiTgOXriFEycJVts', u'https://www.ampofo.com/register.html', 3038, 5703.4690746])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'consequuntur': u'MufAoAprbzNuFZaPdsSs',
# u'mollitia': 9097,
# u'reprehenderit': 704,
# u'repudiandae': u'kaeRWGXoUlVcXaBNAytD',
# u'sed': u'xCUDuXYZfTesgGjRSCLl',
# u'similique': u'max61@akomaa.com',
# u'sint': u'https://gyamfi.com/'}
fake.pyint()
# 5513
faker.providers.ssn
¶
fake.ssn(taxpayer_identification_number_type="SSN")
# u'378-93-5336'
fake.ein()
# u'16-5162010'
fake.itin()
# u'950-72-3687'
faker.providers.user_agent
¶
fake.mac_processor()
# u'Intel'
fake.firefox()
# u'Mozilla/5.0 (X11; Linux x86_64; rv:1.9.6.20) Gecko/2015-04-01 20:07:33 Firefox/10.0'
fake.linux_platform_token()
# u'X11; Linux i686'
fake.opera()
# u'Opera/9.84.(Windows NT 4.0; sat-IN) Presto/2.9.170 Version/12.00'
fake.windows_platform_token()
# u'Windows NT 5.01'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 7.0; Windows NT 6.0; Trident/3.1)'
fake.user_agent()
# u'Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 5.0; Trident/5.0)'
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; PPC Mac OS X 10_9_4) AppleWebKit/5351 (KHTML, like Gecko) Chrome/49.0.877.0 Safari/5351'
fake.mac_platform_token()
# u'Macintosh; Intel Mac OS X 10_8_5'
fake.safari()
# u'Mozilla/5.0 (iPod; U; CPU iPhone OS 4_2 like Mac OS X; nr-ZA) AppleWebKit/534.44.4 (KHTML, like Gecko) Version/3.0.5 Mobile/8B116 Safari/6534.44.4'