Language en_US¶
faker.providers.address
¶
fake.longitude()
# Decimal('-121.760456')
fake.building_number()
# u'1674'
fake.street_address()
# u'44068 Timothy Underpass Apt. 493'
fake.postalcode_plus4()
# u'14804-2397'
fake.city_prefix()
# u'Port'
fake.military_ship()
# u'USNV'
fake.country_code()
# u'TZ'
fake.city()
# u'Port Johnport'
fake.zipcode_plus4()
# u'59984-0028'
fake.state_abbr()
# u'MD'
fake.latitude()
# Decimal('7.5266485')
fake.street_suffix()
# u'Walk'
fake.city_suffix()
# u'chester'
fake.military_dpo()
# u'Unit 9579 Box 2178'
fake.country()
# u'Isle of Man'
fake.secondary_address()
# u'Apt. 007'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('178.982780')
fake.postalcode()
# u'47601'
fake.address()
# u'9391 Amy Causeway Apt. 162\nSanchezport, CT 25073'
fake.state()
# u'Arkansas'
fake.military_state()
# u'AP'
fake.street_name()
# u'Brandon Throughway'
fake.zipcode()
# u'74101'
fake.postcode()
# u'10782'
fake.military_apo()
# u'PSC 6438, Box 3263'
faker.providers.automotive
¶
fake.license_plate()
# u'994-AAV'
faker.providers.barcode
¶
fake.ean(length=13)
# u'5202594774359'
fake.ean13()
# u'4787938859134'
fake.ean8()
# u'27385135'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(84,117,147)'
fake.color_name()
# u'LightCyan'
fake.rgb_color()
# u'145,136,24'
fake.safe_hex_color()
# u'#ff8800'
fake.safe_color_name()
# u'lime'
fake.hex_color()
# u'#63da5a'
faker.providers.company
¶
fake.company()
# u'Clark-Obrien'
fake.company_suffix()
# u'Inc'
fake.catch_phrase()
# u'Multi-tiered 6thgeneration structure'
fake.bs()
# u'evolve vertical platforms'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'583'
fake.credit_card_provider(card_type=None)
# u'JCB 15 digit'
fake.credit_card_full(card_type=None)
# u'Discover\nJonathan Horne\n6011040598548238 05/21\nCVC: 249\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '03/22'
fake.credit_card_number(card_type=None)
# u'3088026184825499'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'XDN'
fake.currency_code()
# 'TWD'
faker.providers.date_time
¶
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2006, 12, 19, 14, 14, 47)
fake.date_time_between(start_date="-30y", end_date="now", tzinfo=None)
# datetime.datetime(1993, 1, 3, 14, 23, 27)
fake.time(pattern="%H:%M:%S")
# '10:57:46'
fake.date_time_ad(tzinfo=None)
# datetime.datetime(1000, 3, 24, 0, 3, 51)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2017, 8, 7)
fake.day_of_week()
# 'Tuesday'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2010, 5, 9, 21, 46, 30)
fake.time_object()
# datetime.time(9, 28, 19)
fake.iso8601(tzinfo=None)
# '1980-12-18T18:12:21'
fake.time_delta()
# datetime.timedelta(12058, 11845)
fake.am_pm()
# 'AM'
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(1991, 4, 5)
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2017, 10, 5, 19, 14, 27)
fake.date_time(tzinfo=None)
# datetime(2005, 6, 1, 15, 34, 17)
fake.date(pattern="%Y-%m-%d")
# '1978-02-17'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2017, 9, 24)
fake.month()
# '11'
fake.unix_time()
# 790217337
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2017, 9, 5, 2, 42, 27)
fake.day_of_month()
# '01'
fake.year()
# '1984'
fake.timezone()
# u'Africa/Kigali'
fake.century()
# u'II'
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0xb50480d0>
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2017, 6, 23, 11, 52, 42)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2017, 8, 11, 9, 6, 36)
fake.month_name()
# 'August'
faker.providers.file
¶
fake.file_path(depth=1, category=None, extension=None)
# u'/sit/magni.jpeg'
fake.mime_type(category=None)
# u'text/plain'
fake.file_name(category=None, extension=None)
# u'harum.ods'
fake.file_extension(category=None)
# u'json'
faker.providers.internet
¶
fake.url()
# u'https://www.james-dudley.com/'
fake.company_email()
# u'markhunter@cooper.com'
fake.uri()
# u'https://www.moore.info/search/blog/about.html'
fake.domain_word(*args, **kwargs)
# u'brown'
fake.ipv4(network=False)
# '122.236.198.248'
fake.domain_name(levels=1)
# u'martin-roberts.com'
fake.tld()
# u'net'
fake.uri_path(deep=None)
# u'main/app'
fake.free_email()
# u'katie70@hotmail.com'
fake.slug(*args, **kwargs)
# u'fugit-ea-voluptates'
fake.free_email_domain()
# u'yahoo.com'
fake.uri_extension()
# u'.asp'
fake.ipv6(network=False)
# 'cec8:46a9:7426:34ae:c417:f453:3136:3e1f'
fake.user_name(*args, **kwargs)
# u'hammondbrandi'
fake.image_url(width=None, height=None)
# u'https://placeholdit.imgix.net/~text?txtsize=55&txt=559x215&w=559&h=215'
fake.email()
# u'gchandler@riley.net'
fake.uri_page()
# u'register'
fake.mac_address()
# u'a9:22:ee:df:5d:59'
fake.safe_email()
# u'henryjennifer@example.org'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'0-570-93159-2'
fake.isbn13(separator="-")
# u'978-1-63775-669-0'
faker.providers.job
¶
fake.job()
# 'Paramedic'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Itaque asperiores eum necessitatibus. Eius sapiente dolorem saepe velit alias. Ut quas commodi placeat temporibus vel laboriosam. Maxime recusandae repellendus quisquam atque nesciunt.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Itaque cum dignissimos a placeat quae sunt odio. Corporis incidunt dolores exercitationem animi expedita praesentium deserunt. Sequi ad sit eos. Cupiditate reprehenderit repellat eligendi non magni voluptas dignissimos fugit. Fugiat impedit sequi doloribus ipsa autem.',
# u'Veniam culpa minus aspernatur maiores. Officia nulla sit nobis error suscipit maiores perspiciatis. Minus eveniet voluptates dicta magnam soluta.',
# u'Facilis temporibus architecto dolor iusto. Doloremque numquam qui suscipit numquam facere. Incidunt doloribus ex distinctio fugiat voluptatum numquam. Occaecati impedit architecto quo facilis minus corrupti et eius.']
fake.words(nb=3, ext_word_list=None)
# [u'voluptatum', u'cum', u'repellendus']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Nisi provident quam reprehenderit tempore harum praesentium.',
# u'Ullam non eligendi beatae eum culpa ad.',
# u'Eos similique delectus cupiditate neque dolore.']
fake.word(ext_word_list=None)
# u'minus'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Velit deserunt sed enim laboriosam beatae quibusdam aliquid. Ab excepturi at neque at alias. Est cupiditate mollitia neque nesciunt neque sapiente accusamus. Repellendus iure deleniti consequatur aliquam dolor provident perferendis.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Quos molestias deleniti corporis voluptatibus laboriosam labore molestiae.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'!$1DnsLVsI'
fake.locale()
# u'et_EE'
fake.binary(length=1048576)
# bytearray(b'\xbd\x88\xbcJ\x19U;\x0f\x0e\xb1O\xfd\x067\t~\xcc\xdb\x05F\xaf\x83\xd0\x88\x8f\xdc\xb2\xcbj<.\x1dzs\xe7za\x1cB\xab5\x192X7ws}\x12\x05\xa06\x90\'*\xbf\xe2P@J\\\x0e\xa84\xb45D\x84\xbdp-\x98\xda\x94\xa9\xdf\xbf5^\xef.\xfa\x082\x14\xfab\x9cG\x0e\x9d\x83R\x0c\xdb\x01\x87\xf9oo%_\xd8\x89)\x1etNW8\xbaz\x0bd\xf9dv\x89.^\xef\x8e\xf6$YK\x0e\xeb\xe2\xb3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]\xaag\x0b\xe2,\x1b=\xc8%G\xb1\xca\xff0\xc7\xe1y\xa4\xae0\x9c\xb9\xef\xcb\xc7\xb1VMI+\xbf\xe7-\xd8- \xd0\x14\xac\xc0\xadCt\x10\x13\xb3\x01\x19l\xf1,\xbf,\x85\\\x16\x94\x11\xbevI\xbeqQ\xb2\xdak\x84\x80\x108\xfc\x08\xd0Y\xae\xb5\x07I\'\xe5\x99\xd8\t\x86\x81\xc4L" \x03\x1a\xdf\xe7\x93B\x91\xd3\xb4x%7\xd5')
fake.md5(raw_output=False)
# '427052f6796b995cc1b9402952bec914'
fake.sha1(raw_output=False)
# '0f94c5527dac3f6df41949d34dc3171a05d9aa06'
fake.null_boolean()
# False
fake.sha256(raw_output=False)
# '7fd7678421f95d4011d614abab7f3e90ffc715dd1f251b92e4c296982f60686a'
fake.uuid4()
# 'd3783be4-d5a5-fd1f-f7bb-cbe72cbfe386'
fake.language_code()
# u'da'
fake.boolean(chance_of_getting_true=50)
# True
faker.providers.person
¶
fake.last_name_male()
# u'Robertson'
fake.name_female()
# u'Sylvia Rodriguez'
fake.prefix_male()
# u'Dr.'
fake.prefix()
# u'Mrs.'
fake.name()
# u'Jordan Price'
fake.suffix_female()
# u'DVM'
fake.name_male()
# u'Andrew Moore'
fake.first_name()
# u'Lucas'
fake.suffix_male()
# u'Jr.'
fake.suffix()
# u'DDS'
fake.first_name_male()
# u'Andrew'
fake.first_name_female()
# u'Crystal'
fake.last_name_female()
# u'Wilkerson'
fake.last_name()
# u'Kim'
fake.prefix_female()
# u'Dr.'
faker.providers.phone_number
¶
fake.phone_number()
# u'(645)973-6339'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'118 Burns Branch Suite 026\nNew Jennamouth, KY 34754-0609',
# 'birthdate': '2005-11-04',
# 'mail': u'matthew75@hotmail.com',
# 'name': u'William Torres',
# 'sex': 'M',
# 'username': u'stanleyadriana'}
fake.profile(fields=None, sex=None)
# { 'address': u'92400 Carrillo Groves Apt. 213\nLake Carrie, NM 80456',
# 'birthdate': '1993-01-30',
# 'blood_group': 'AB+',
# 'company': u'Chapman-Wood',
# 'current_location': (Decimal('58.5971165'), Decimal('-167.737749')),
# 'job': 'Haematologist',
# 'mail': u'ellistammy@yahoo.com',
# 'name': u'Cory Fisher',
# 'residence': u'756 Evans Walk Suite 110\nNorth Nicole, WA 32375-8372',
# 'sex': 'M',
# 'ssn': u'769-08-5696',
# 'username': u'jacksonjacob',
# 'website': [u'https://young.com/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# [ 7295,
# 2748,
# 5726,
# Decimal('-3.12779317629E+12'),
# u'gritter@gutierrez-perez.biz',
# u'wandagutierrez@hotmail.com',
# u'ffdDFaUrNlvFejxgRfOJ',
# -3700503324438.0,
# 1695,
# u'lAurMlSSSRSyXWsmbZxV',
# u'https://george.com/']
fake.pystr(min_chars=None, max_chars=20)
# u'uLNycoxhugHHHgJkNfvi'
fake.pystruct(count=10, *value_types)
# ( [ u'ifAzFVzNgeJBHGjbNqpH',
# 444,
# u'EkLNfcNgmciRVEQlWSpI',
# Decimal('-7.19452234749E+14'),
# u'THUkQrGTXoqFolNyLakP',
# u'GxvQNeGTKFasEaKVdHgz',
# u'SBvtOADoqsMnLwweXyuP',
# u'RRkiIbwskdNTOmFhIViL',
# u'tehiJTnALXiuilYKzLwh',
# 8821],
# { u'architecto': u'james22@lara-smith.org',
# u'consectetur': u'zzMHOudByBJqgJDVhtQW',
# u'facilis': Decimal('653751.299906'),
# u'iste': u'jurUSbGSWfTJlBJAQAjf',
# u'laborum': datetime(1979, 12, 31, 9, 44, 16),
# u'mollitia': datetime(2014, 10, 6, 20, 30, 33),
# u'nesciunt': u'xowens@gmail.com',
# u'occaecati': 1.373152305021,
# u'similique': 6659,
# u'unde': u'hhwhbhkxrKsPbGAseNtw'},
# { u'ab': { 7: u'XtvbnfhAIIsHFjnKIeZq',
# 8: [Decimal('4.37205410611E+13'), 143746629271.24, 9132],
# 9: { 7: u'JjwIGBSBYrVsGZqjqfTQ',
# 8: u'VjRuXjMBnqIZAmRuJtWd',
# 9: [ u'brendawalters@gmail.com',
# datetime(1977, 11, 7, 3, 4, 42)]}},
# u'eligendi': { 4: datetime(1992, 7, 17, 13, 20, 52),
# 5: [ -3744916500816.9,
# datetime(2003, 10, 2, 2, 23, 14),
# Decimal('-393.0')],
# 6: { 4: datetime(2000, 4, 28, 17, 20, 46),
# 5: u'susan62@davis-butler.biz',
# 6: [ Decimal('-72900901.6454'),
# u'QjSFFYSWkiwzZBPoaqcG']}},
# u'enim': { 2: 2785,
# 3: [ Decimal('89016278.3'),
# u'JMoCXkAkXgwTlXhScgYm',
# u'andrew38@johnson.net'],
# 4: { 2: u'NxJDRvNMZiVNNBhSkIHI',
# 3: datetime(1987, 7, 6, 2, 42, 57),
# 4: [3593, 3930]}},
# u'explicabo': { 5: u'SzPvXGHsuFzmaAzEYtfb',
# 6: [ u'WdhIIOfMGJIkGqirnRsz',
# u'JNJpmbneIlxCthirFLdW',
# datetime(1999, 6, 26, 7, 27, 50)],
# 7: { 5: -908293872.0,
# 6: u'tharris@gmail.com',
# 7: [ u'michaelsherman@parker.com',
# Decimal('-65604365.7823')]}},
# u'magni': { 6: 5392,
# 7: [ -195284347.9708,
# Decimal('-6.27445054117'),
# 667881645.947627],
# 8: { 6: 7137,
# 7: u'WaZLdqgrWLHiikyuOxnp',
# 8: [ u'marthamills@hotmail.com',
# Decimal('-64.2')]}},
# u'occaecati': { 3: u'DWYOUDDHSxmXevgeliJL',
# 4: [-916629724.476573, 2502, -384672.948995],
# 5: { 3: u'MvmFYofoqooBjmqNEVyM',
# 4: datetime(1992, 3, 13, 4, 59, 49),
# 5: [ u'christina25@watts.com',
# u'johnsonwayne@morris-moore.org']}},
# u'pariatur': { 0: u'bwUvBjjcrrmRgfRaCQPK',
# 1: [ 4584,
# u'FaILmEfPhyjwcVhcvXjb',
# u'http://www.duncan.com/post/'],
# 2: { 0: 707,
# 1: u'andrew28@ross.com',
# 2: [ u'nFyAPgozHFvjRPSuKGzd',
# Decimal('-7534007.90911')]}},
# u'porro': { 8: u'https://bridges.biz/post.jsp',
# 9: [ u'ZkexrciXXMQmFaBtezid',
# datetime(2005, 4, 8, 9, 10, 53),
# datetime(1989, 5, 22, 18, 26, 32)],
# 10: { 8: 911748638790.975,
# 9: 6872,
# 10: [ u'YDkXsaADSpxUXuhIFiTo',
# u'wOfEeqnuWHTLwvDshoPY']}},
# u'quas': { 1: u'salaszachary@hotmail.com',
# 2: [ 135,
# datetime(1985, 6, 7, 12, 45, 12),
# u'MsZfSpChCWaxKygKGDuF'],
# 3: { 1: Decimal('-17.246849676'),
# 2: u'https://bell.com/faq/',
# 3: [u'dGfQaRyCrkzbhwrobHCx', 614]}},
# u'quidem': { 9: Decimal('-5372264948.37'),
# 10: [ u'MkSUEvrlBjUkKvsnSzyn',
# u'CQPhJcIJYiEZyXJdmsia',
# u'http://www.richards.info/terms.php'],
# 11: { 9: u'pEgiHALmlRVbNOqoVvZu',
# 10: u'VlvxWnfveOBmmDSgBIfC',
# 11: [ datetime(1998, 7, 29, 15, 59, 59),
# -6032.51068]}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# -1714258428.2
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('9.602293837')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ Decimal('-7.68976793126E+14'),
# u'DlAXaJQeEgmMjWgWKBca',
# u'PlktDOuvarVlgZXVDRnK',
# u'nxgUijZADdsVobjTPmlu',
# 513,
# u'samantha99@noble-bond.com',
# datetime(1994, 10, 15, 9, 35, 41),
# u'jJiuapXHmGGyyskkMInT',
# 813563328119458.0,
# u'https://www.medina.com/tags/list/app/homepage/',
# -73465.2,
# u'dqZJozPHtRjcTkoQDLJq',
# u'aaItSKSHcheuillazMgJ',
# 7906,
# u'BXbJMMtahQaaYaCjFFqd']
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( 8321,
# u'http://stein.org/',
# 807,
# u'aayVMjZufhwXguTjgtbs',
# datetime(1993, 7, 15, 5, 1, 43),
# datetime(1978, 5, 13, 9, 19, 29),
# datetime(1994, 4, 1, 19, 42, 17),
# u'HTtxjuRFiiLvCAjLTJLa',
# u'RHBzGniTCcgRxLNceSan',
# u'http://www.bryant.com/search/main.html',
# u'DudfBeyOgbzZXqoHDxqm',
# u'meaqaaNqaOnuWvexaxOV',
# u'https://blake.net/',
# datetime(1982, 12, 17, 17, 56, 12))
fake.pybool()
# True
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([Decimal('299.192167175'), u'yzoysfenxooRwFkHDXCM', datetime(1970, 11, 17, 3, 30, 31), 112024.475128, u'MsGhRnvHXEukmjmZwPxU', u'cpJrAlbGTmALMoloSAOd', u'zKIcDaEhhqASkOhmqqNX', Decimal('-46369.27'), Decimal('-5.933794'), u'hWOPmRTCPCotykRPvcgi', u'rNICcuyxsMCwiDQqUeya', 2362, -649.6337, u'ayugnEYJAmSMNMdbbttw'])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'delectus': 2930,
# u'impedit': Decimal('802043355269'),
# u'in': u'heatherwebb@gould.com',
# u'neque': Decimal('777283638.347'),
# u'odit': Decimal('-2.70383303327E+14'),
# u'qui': u'robert43@nguyen-hernandez.info',
# u'rerum': 8454,
# u'veritatis': u'kBCuZuIsiXpvCUzkxEqx'}
fake.pyint()
# 842
faker.providers.ssn
¶
fake.ssn()
# u'608-28-0939'
faker.providers.user_agent
¶
fake.mac_processor()
# u'U; Intel'
fake.firefox()
# u'Mozilla/5.0 (Windows 95; lo-LA; rv:1.9.2.20) Gecko/2013-08-04 17:49:49 Firefox/3.8'
fake.linux_platform_token()
# u'X11; Linux i686'
fake.opera()
# u'Opera/9.62.(X11; Linux i686; mr-IN) Presto/2.9.161 Version/11.00'
fake.windows_platform_token()
# u'Windows CE'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 4.0; Trident/5.0)'
fake.user_agent()
# u'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 5.2; Trident/5.0)'
fake.chrome()
# u'Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_8_1) AppleWebKit/5351 (KHTML, like Gecko) Chrome/14.0.823.0 Safari/5351'
fake.linux_processor()
# u'i686'
fake.mac_platform_token()
# u'Macintosh; U; Intel Mac OS X 10_5_0'
fake.safari()
# u'Mozilla/5.0 (iPod; U; CPU iPhone OS 4_3 like Mac OS X; bhb-IN) AppleWebKit/534.33.1 (KHTML, like Gecko) Version/3.0.5 Mobile/8B119 Safari/6534.33.1'