Language en_CA¶
faker.providers.address
¶
fake.latitude()
# Decimal('51.717088')
fake.street_name()
# u'Garcia Ridge'
fake.address()
# u'7404 Hannah Knolls Suite 811\nFerrellshire, SK Y9Y6P7'
fake.street_address()
# u'3044 Mosley Spring Suite 414'
fake.postcode()
# u'41267'
fake.longitude()
# Decimal('-172.025284')
fake.country()
# u'Belize'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('170.195090')
fake.postal_code_letter()
# u'M'
fake.province()
# u'New Brunswick'
fake.city_prefix()
# u'Lake'
fake.street_suffix()
# u'Estates'
fake.city_suffix()
# u'mouth'
fake.building_number()
# u'4376'
fake.country_code()
# u'CN'
fake.secondary_address()
# u'Apt. 414'
fake.city()
# u'Whitetown'
fake.province_abbr()
# u'BC'
fake.postalcode()
# u'S3S 7N7'
faker.providers.automotive
¶
fake.license_plate()
# u'864 954'
faker.providers.barcode
¶
fake.ean(length=13)
# u'4187921221311'
fake.ean13()
# u'3570248715013'
fake.ean8()
# u'18693478'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(174,247,152)'
fake.color_name()
# u'SlateGray'
fake.rgb_color()
# u'4,91,198'
fake.safe_hex_color()
# u'#bb9900'
fake.safe_color_name()
# u'aqua'
fake.hex_color()
# u'#6b5476'
faker.providers.company
¶
fake.company()
# u'Edwards PLC'
fake.company_suffix()
# u'Ltd'
fake.catch_phrase()
# u'Multi-layered well-modulated initiative'
fake.bs()
# u'strategize bleeding-edge networks'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'937'
fake.credit_card_provider(card_type=None)
# u'JCB 16 digit'
fake.credit_card_full(card_type=None)
# u'Maestro\nRachel Maynard\n501820291570 06/21\nCVV: 783\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '08/20'
fake.credit_card_number(card_type=None)
# u'5388589337913167'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'XRP'
fake.currency_code()
# 'CNY'
faker.providers.date_time
¶
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2016, 11, 5, 14, 13, 21)
fake.date_time_between(start_date="-30y", end_date="now", tzinfo=None)
# datetime.datetime(1996, 5, 24, 22, 49, 37)
fake.time(pattern="%H:%M:%S")
# '16:51:10'
fake.date_time_ad(tzinfo=None)
# datetime.datetime(1897, 2, 13, 10, 28, 45)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2017, 7, 6)
fake.day_of_week()
# 'Sunday'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2012, 8, 10, 15, 31, 55)
fake.time_object()
# datetime.time(5, 23, 19)
fake.iso8601(tzinfo=None)
# '2016-08-06T12:17:48'
fake.time_delta()
# datetime.timedelta(4720, 29380)
fake.am_pm()
# 'PM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2017, 7, 21, 7, 42, 39)
fake.date_object()
# date(1986, 3, 16)
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2017, 7, 24, 19, 16, 3)
fake.date_time(tzinfo=None)
# datetime(2016, 2, 25, 15, 19, 38)
fake.date(pattern="%Y-%m-%d")
# '2011-11-17'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2017, 8, 17)
fake.month()
# '06'
fake.unix_time()
# 773216609
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2017, 7, 1, 6, 28, 52)
fake.day_of_month()
# '12'
fake.year()
# '2000'
fake.timezone()
# u'Africa/Douala'
fake.century()
# u'XVI'
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2017, 7, 12, 19, 8, 49)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2017, 7, 20, 18, 52, 18)
fake.month_name()
# 'April'
faker.providers.file
¶
fake.file_path(depth=1, category=None, extension=None)
# u'/quod/a.png'
fake.mime_type(category=None)
# u'image/png'
fake.file_name(category=None, extension=None)
# u'veritatis.pages'
fake.file_extension(category=None)
# u'png'
faker.providers.internet
¶
fake.url()
# u'https://mata-green.com/'
fake.company_email()
# u'smithkatherine@moran-steele.com'
fake.uri()
# u'http://www.robinson.com/homepage.htm'
fake.domain_word(*args, **kwargs)
# u'spencer-newton'
fake.ipv4(network=False)
# '146.146.157.213'
fake.domain_name(levels=1)
# u'johnson-smith.com'
fake.tld()
# u'org'
fake.uri_path(deep=None)
# u'tag/blog'
fake.free_email()
# u'sarah19@yahoo.com'
fake.slug(*args, **kwargs)
# u'debitis-possimus'
fake.free_email_domain()
# u'hotmail.com'
fake.uri_extension()
# u'.jsp'
fake.ipv6(network=False)
# '8e2e:803d:39c5:7d48:33a8:37ab:6ea4:7e55'
fake.user_name(*args, **kwargs)
# u'john24'
fake.image_url(width=None, height=None)
# u'https://dummyimage.com/523x557'
fake.email()
# u'stevethompson@norris-carpenter.info'
fake.uri_page()
# u'register'
fake.mac_address()
# u'aa:0a:a1:db:10:d9'
fake.safe_email()
# u'smithphillip@example.com'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'0-7786-1701-7'
fake.isbn13(separator="-")
# u'978-0-07-686349-5'
faker.providers.job
¶
fake.job()
# 'Research scientist (life sciences)'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Odit aspernatur sit numquam neque laudantium minus aliquid. Nihil dolor vitae perspiciatis neque. Cumque illum ipsam quisquam iure. Repudiandae enim molestias facilis voluptatibus.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Inventore illum nulla in est cumque quod. Aperiam vero fuga ducimus soluta excepturi atque aliquam labore. Accusamus incidunt aspernatur necessitatibus sequi consectetur corporis illo. Enim enim officia esse consequuntur.',
# u'Deserunt sint soluta quod adipisci. Assumenda voluptate alias voluptatum vitae consectetur. Odio id odit nihil porro architecto dolor earum. Quam blanditiis vitae debitis tenetur. Quam minus aut atque quis aperiam.',
# u'Dolor itaque deleniti quidem ratione velit. Excepturi optio id laudantium enim debitis ipsam aperiam. Omnis molestiae veritatis iste placeat iure facere dolores. Harum repellendus earum necessitatibus nobis architecto impedit doloremque.']
fake.words(nb=3, ext_word_list=None)
# [u'quisquam', u'ea', u'ea']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Maxime nostrum odio ullam nihil perferendis magni.',
# u'Dignissimos delectus cumque repellat nulla minima numquam voluptatum.',
# u'Ipsum ab amet ab ipsa.']
fake.word(ext_word_list=None)
# u'corporis'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Laborum eum consequatur minus consequatur veniam doloribus. Expedita magni aut quibusdam placeat. Aliquid quae omnis at id rerum atque. Doloribus quas nulla quidem.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Nisi ratione nostrum occaecati animi minima.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'&J10Zi7&ZZ'
fake.locale()
# u'zh_SG'
fake.binary(length=1048576)
# bytearray(b'\xda\xca0\x16\xb0o\x9a\x10p?\x15d\r\x19\xe4\x85\xa9\xf0\xc0\xc9\xf0.2\x96\x1b|\x80\x87>\x19\x04-\xaf\xcb\xc9\t\xc9a\x91\xe3\xe0\xd8K\xfb\x96\xde^\x03*\xab\x17h\xc3\xf2VB\xdf~\xba\x91z\x07Zo"\x01\x94W\xf1*\xa0\xfc\x9a\xd7a\xc6\x8e\xb4jCn\xee\x00_x5\x82Jy\xf2{e\xbc\x08\xf7F\xe2%\xcb\x04\xddb_\x85F\xeb\xa2\xae\x97ba\xc9\xcd&8\xc4|o7\xd8\xbe\xb4\xa9\x96\xf3\t\x16\xa8*j\xf2\xe5)\x9f\xde\x8f\xe5\xa3\x04\xcavgLVuU\xea^\xd6\xa4\x96\xbd\xf2\xab\xd3\xc1\xf8"[\x04\xd1\x8d\x1a\x0b\x02\xa6\x1e\xac~\xeb\x85P\xdc\x11(X\x9d\x16g~2W\xad"\x0c\xf4\xf0F\xd6\x07|\x91\x83\xa7\xa1\x8b\xb3\xf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y\xff\x9fb\xbc4\x938\xb3n\x86\xdc\x908{\xb2B\x14\xb8\xb2_\xe8\xe1r\xf8\xb6\xd4.\xab\xcd,\x874\xac\x9e\xd1N\x99S\x8f\x82i\xcbaEl')
fake.md5(raw_output=False)
# '27946523789529c96436535e9f730039'
fake.sha1(raw_output=False)
# '859d05acbce6c847388800a3999749f3af40d6b7'
fake.null_boolean()
# True
fake.sha256(raw_output=False)
# '91b1351a3fe7e253ceb5671729c7094affe5ffae21da4b6bc022d4211cd62eef'
fake.uuid4()
# 'fb94e723-fbcf-f956-6988-ae3052d742c5'
fake.language_code()
# u'yi'
fake.boolean(chance_of_getting_true=50)
# True
faker.providers.person
¶
fake.last_name_male()
# u'Garcia'
fake.name_female()
# u'Amy Adams'
fake.prefix_male()
# u'Mr.'
fake.prefix()
# u'Mr.'
fake.name()
# u'Devin Jones'
fake.suffix_female()
# u'MD'
fake.name_male()
# u'Jason Porter'
fake.first_name()
# u'Timothy'
fake.suffix_male()
# u'Jr.'
fake.suffix()
# u'Jr.'
fake.first_name_male()
# u'Luke'
fake.first_name_female()
# u'Kathryn'
fake.last_name_female()
# u'Gamble'
fake.last_name()
# u'Wright'
fake.prefix_female()
# u'Mrs.'
faker.providers.phone_number
¶
fake.phone_number()
# u'361 301 1792'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'47292 West Passage\nLake Heather, MB X4R 4J7',
# 'birthdate': '1999-04-26',
# 'mail': u'gburns@gmail.com',
# 'name': u'Kimberly Abbott',
# 'sex': 'F',
# 'username': u'cookjames'}
fake.profile(fields=None, sex=None)
# { 'address': u'219 Arnold Falls Apt. 876\nAlvarezhaven, NB R5Y3B8',
# 'birthdate': '2009-05-14',
# 'blood_group': '0+',
# 'company': u'Bailey, Wilson and Manning',
# 'current_location': (Decimal('-2.766251'), Decimal('49.055994')),
# 'job': 'Forest/woodland manager',
# 'mail': u'phillipperkins@hotmail.com',
# 'name': u'Caitlin David',
# 'residence': u'581 Isabel Field\nSotofort, YT B2R5G2',
# 'sex': 'F',
# 'ssn': u'094 866 241 ',
# 'username': u'davidmunoz',
# 'website': [u'https://potts-hayes.biz/', u'http://www.barnes.com/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# [ 7134,
# u'michaelking@yahoo.com',
# u'jorge84@yoder.com',
# Decimal('-8357.5255302'),
# u'ZmloGPWtgEfUgSbmTnIe',
# datetime(1973, 10, 2, 21, 40, 40),
# 8067,
# 5515,
# u'wHMoelwqqQlspNrFiSDe',
# u'LSVCfUjmGUngoMLfDbug',
# -33254565367473.0,
# u'fAItOooviXfXwOdudpQw',
# u'NgdFQEBjXhsVsfCySPYn']
fake.pystr(min_chars=None, max_chars=20)
# u'AzCSeshhAKWApbwqMPoY'
fake.pystruct(count=10, *value_types)
# ( [ u'DltbFrqcGXplBExNUEmK',
# datetime(2001, 10, 21, 17, 40, 34),
# -2576913102105.0,
# u'mitchellbarbara@beasley-brown.com',
# u'vLTJHdRjvnBRivGkIHuo',
# Decimal('-642648649924'),
# u'davidmoreno@newton.net',
# u'SUmRhmMsIEZhUYfnpUir',
# 28.266,
# u'https://www.mullins.com/index.asp'],
# { u'accusamus': 80591459065968.0,
# u'aliquam': u'OHsCFrwJUipjpRzQKYto',
# u'consequatur': u'kimberlygonzalez@hotmail.com',
# u'cupiditate': 1.59007022938,
# u'ducimus': u'sokxbLjuDdDBattorQKw',
# u'expedita': u'https://howell.com/category/main.html',
# u'mollitia': Decimal('-80961034.52'),
# u'recusandae': 9493,
# u'sed': datetime(2007, 9, 2, 3, 38, 37)},
# { u'adipisci': { 9: u'JTxbWvQhyBojgxKTrhtF',
# 10: [ 2531,
# u'wvEgzLmhvhVZYshhdGus',
# u'oholt@robinson.com'],
# 11: { 9: u'MavUfhnNAYUDZUlYVkRn',
# 10: u'walkerricky@webb.com',
# 11: [ datetime(1989, 7, 12, 3, 59, 14),
# 10.181258125]}},
# u'consequuntur': { 7: -715552884902132.0,
# 8: [ u'GyvjRVWnGuNEqsVledHm',
# u'http://hernandez.com/author/',
# Decimal('-519.50692279')],
# 9: { 7: Decimal('2.61843972232E+14'),
# 8: u'OBrHIRzargGxUNofsxcx',
# 9: [ Decimal('621351688523'),
# u'http://newton-wyatt.com/register.php']}},
# u'corrupti': { 5: 27,
# 6: [ u'FSHDEWdOvjGGKlrkqaOM',
# u'xUvzCEIGapjqsDDhAhRr',
# u'https://www.oconnor.com/author/'],
# 7: { 5: u'EVPcxGlYNPMgednYFtoG',
# 6: u'GUxLTHcXYurVZRJpSuoN',
# 7: [1824, u'saDNKDcnAUlklbXHFOVH']}},
# u'eius': { 4: u'egarcia@scott.org',
# 5: [ -348294159488165.0,
# -813220893098333.0,
# Decimal('-2.2030866327')],
# 6: { 4: datetime(2007, 6, 24, 7, 23, 52),
# 5: u'gsxYKgBggKuNzvufhsSS',
# 6: [ u'vaGNEdloJLJKJOyHKFql',
# datetime(1987, 2, 1, 16, 10, 19)]}},
# u'ex': { 1: u'http://www.garrett-sampson.net/about/',
# 2: [ Decimal('399370220688'),
# u'dgVTXTqxANsaDsEuhebB',
# 900],
# 3: { 1: Decimal('-12504913.634'),
# 2: u'ashleyharper@hotmail.com',
# 3: [ u'christopherolsen@taylor.biz',
# u'ZmHYzmMDnfzrAUUpXYBD']}},
# u'modi': { 0: u'tMMtOMBhMvkjZCzgaifI',
# 1: [ datetime(2016, 3, 14, 18, 34, 16),
# u'qZQyHvMHrUPPlvYYzhZY',
# datetime(2004, 9, 22, 6, 4, 57)],
# 2: { 0: -5677115.9574,
# 1: 2242,
# 2: [ Decimal('-72856672.24'),
# u'QDlkHrxYuCKaGGluWNYx']}},
# u'odit': { 2: u'RwMSDLndIbxXhVlasaqI',
# 3: [ 633915661354638.0,
# u'jEVhaaJMsJBsrotmjFbf',
# u'robertmoreno@gutierrez-brown.biz'],
# 4: { 2: u'cNWqZhLmBbjYYnlkSZiO',
# 3: 9672,
# 4: [u'MpCiqlQmbZivVUFAhfvr', 7770]}},
# u'optio': { 8: 7214,
# 9: [ u'joshua43@yahoo.com',
# 1790,
# u'YaGNiuirMIzTRLjcweiy'],
# 10: { 8: u'http://elliott.com/blog/tag/tags/register.html',
# 9: u'bFYjVYZyMcklhbNfyVwz',
# 10: [ u'jeremiahjohnston@spears.org',
# -588566606730.44]}},
# u'quis': { 3: u'uQThLlyanTXQnpXYGMnZ',
# 4: [ u'OCJaKzOGfKLqViQyHywQ',
# 2707,
# u'YRwJmYhhJmpOqKpbBzaO'],
# 5: { 3: u'https://lutz.com/author/',
# 4: datetime(1982, 4, 14, 22, 55, 49),
# 5: [ u'uPongVgxmBiFCZmEGiAq',
# u'jVOQuCzzcUxUgyYIGyvT']}},
# u'sapiente': { 6: -754385641590582.0,
# 7: [ u'UOeNBPBQJQOJnbckboFa',
# Decimal('-13110188777.4'),
# u'osqVsSIRIAFLKUHXiIvl'],
# 8: { 6: 22690877800004.0,
# 7: u'gegzdZLPsTcnAYnGTjDj',
# 8: [ u'raymond84@yahoo.com',
# u'alexanderjohnson@gmail.com']}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# 709978420.109067
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('-923519.233')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ u'jackiefigueroa@hotmail.com',
# Decimal('8.72283'),
# u'https://www.lewis.com/blog/terms.jsp',
# Decimal('-9471498.395'),
# u'FEyeIMELVjGGoJERYyTH',
# datetime(1982, 4, 30, 14, 51, 26),
# u'TiKNomiMCGUFvMqiTyqj',
# 4256,
# -166526621310697.0,
# u'amber95@yahoo.com',
# u'https://hurley.info/',
# u'angelamitchell@hotmail.com']
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( u'rachael03@gmail.com',
# datetime(1972, 7, 7, 18, 12, 59),
# 2887,
# 3277,
# Decimal('-766636474189'),
# u'http://martin.com/faq/',
# u'zNHmqVRuTaxNbGMpUoEc')
fake.pybool()
# False
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([Decimal('221409460.231'), u'https://guzman.org/tags/search.htm', 6086, u'http://sullivan-griffin.com/tag/category/terms.htm', u'ICtOrYaRLRGlhLZWiooo', u'kZFSQSAjAwYdvZXOdRcb', u'http://www.nash-davis.org/register.htm', 91263453.0, u'etcoEPQfHaZsSDKfglSQ', u'https://williams-crawford.com/about/', u'BnDBfHxFKevygeVozuSC', u'stephanie71@hotmail.com', u'psoto@gmail.com', u'CSdjlEZlACuqmiKluujG'])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'aliquid': u'YSUvnzllBmRhgOcGPiii',
# u'aut': u'RFpVxvUalNtFdbrXdaSF',
# u'dolorem': datetime(1999, 7, 3, 20, 57, 58),
# u'ea': u'WorbLiucmYBxszvUcLPq',
# u'eos': 8121,
# u'id': u'patrick83@hotmail.com',
# u'maiores': u'KbvoIXkKHekLNNkWFtrw',
# u'quidem': u'jHmcxVMDHVwLBoZCHaoW',
# u'saepe': u'http://www.garcia.com/',
# u'sit': -7.13252188784914}
fake.pyint()
# 3264
faker.providers.ssn
¶
fake.ssn()
# u'473 305 282 '
faker.providers.user_agent
¶
fake.mac_processor()
# u'PPC'
fake.firefox()
# u'Mozilla/5.0 (X11; Linux i686; rv:1.9.6.20) Gecko/2013-07-19 07:02:27 Firefox/5.0'
fake.linux_platform_token()
# u'X11; Linux i686'
fake.opera()
# u'Opera/9.16.(X11; Linux i686; id-ID) Presto/2.9.175 Version/11.00'
fake.windows_platform_token()
# u'Windows NT 5.2'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 7.0; Windows 98; Trident/5.0)'
fake.user_agent()
# u'Opera/9.59.(X11; Linux i686; dz-BT) Presto/2.9.169 Version/10.00'
fake.chrome()
# u'Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_6_5) AppleWebKit/5360 (KHTML, like Gecko) Chrome/13.0.880.0 Safari/5360'
fake.linux_processor()
# u'i686'
fake.mac_platform_token()
# u'Macintosh; PPC Mac OS X 10_5_3'
fake.safari()
# u'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5 rv:6.0; ca-ES) AppleWebKit/532.12.5 (KHTML, like Gecko) Version/4.0.2 Safari/532.12.5'