Language en_US¶
faker.providers.address
¶
fake.longitude()
# Decimal('121.679647')
fake.building_number()
# u'26870'
fake.street_address()
# u'09946 Toni Tunnel'
fake.postalcode_plus4()
# u'41762-5908'
fake.city_prefix()
# u'Port'
fake.military_ship()
# u'USNV'
fake.country_code()
# u'MA'
fake.city()
# u'Johnmouth'
fake.zipcode_plus4()
# u'21779-7542'
fake.state_abbr()
# u'KY'
fake.latitude()
# Decimal('-29.055240')
fake.street_suffix()
# u'Isle'
fake.city_suffix()
# u'mouth'
fake.military_dpo()
# u'Unit 9254 Box 4769'
fake.country()
# u'Guyana'
fake.secondary_address()
# u'Suite 009'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('-176.188560')
fake.postalcode()
# u'44301'
fake.address()
# u'9606 Mills Lights Suite 834\nEast Lisa, NE 69390'
fake.state()
# u'Mississippi'
fake.military_state()
# u'AE'
fake.street_name()
# u'Hays Expressway'
fake.zipcode()
# u'10680'
fake.postcode()
# u'77023-7173'
fake.military_apo()
# u'PSC 2692, Box 0853'
faker.providers.automotive
¶
fake.license_plate()
# u'EKY1757'
faker.providers.barcode
¶
fake.ean(length=13)
# u'5335145245104'
fake.ean13()
# u'8601692889533'
fake.ean8()
# u'55539630'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(148,63,118)'
fake.color_name()
# u'MediumPurple'
fake.rgb_color()
# u'194,201,254'
fake.safe_hex_color()
# u'#770000'
fake.safe_color_name()
# u'green'
fake.hex_color()
# u'#f7b210'
faker.providers.company
¶
fake.company()
# u'Beck, Mueller and Edwards'
fake.company_suffix()
# u'and Sons'
fake.catch_phrase()
# u'Vision-oriented tertiary software'
fake.bs()
# u'scale open-source systems'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'927'
fake.credit_card_provider(card_type=None)
# u'Discover'
fake.credit_card_full(card_type=None)
# u'Mastercard\nKimberly Pearson\n5533760453147773 06/22\nCVV: 644\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '02/24'
fake.credit_card_number(card_type=None)
# u'4033129362239'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'SIL'
fake.currency_code()
# 'CUP'
faker.providers.date_time
¶
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2004, 12, 9, 5, 23, 52)
fake.date_time_between(start_date="-30y", end_date="now", tzinfo=None)
# datetime.datetime(2000, 7, 27, 18, 20, 54)
fake.time(pattern="%H:%M:%S")
# '07:02:11'
fake.date_time_ad(tzinfo=None)
# datetime.datetime(1215, 6, 12, 13, 55, 36)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2017, 6, 24)
fake.day_of_week()
# 'Saturday'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2015, 10, 31, 4, 5, 56)
fake.time_object()
# datetime.time(0, 22, 7)
fake.iso8601(tzinfo=None)
# '2004-04-10T16:35:54'
fake.time_delta()
# datetime.timedelta(13238, 55171)
fake.am_pm()
# 'AM'
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(1988, 7, 8)
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2017, 8, 11, 16, 46, 45)
fake.date_time(tzinfo=None)
# datetime(2009, 12, 8, 17, 6, 36)
fake.date(pattern="%Y-%m-%d")
# '2013-12-31'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2017, 7, 28)
fake.month()
# '01'
fake.unix_time()
# 1395787584
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2017, 7, 3, 7, 56, 17)
fake.day_of_month()
# '12'
fake.year()
# '2008'
fake.timezone()
# u'Africa/Kigali'
fake.century()
# u'XVIII'
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2017, 1, 2, 7, 48, 53)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2017, 7, 3, 3, 38, 17)
fake.month_name()
# 'April'
faker.providers.file
¶
fake.file_path(depth=1, category=None, extension=None)
# u'/fugit/omnis.mp4'
fake.mime_type(category=None)
# u'model/iges'
fake.file_name(category=None, extension=None)
# u'voluptatem.mp3'
fake.file_extension(category=None)
# u'flac'
faker.providers.internet
¶
fake.url()
# u'https://www.downs.com/'
fake.company_email()
# u'michelleblair@morales-miller.com'
fake.uri()
# u'http://www.lopez-walker.com/'
fake.domain_word(*args, **kwargs)
# u'faulkner'
fake.ipv4(network=False)
# '206.92.155.115'
fake.domain_name(levels=1)
# u'roman.org'
fake.tld()
# u'com'
fake.uri_path(deep=None)
# u'main'
fake.free_email()
# u'scottrogers@gmail.com'
fake.slug(*args, **kwargs)
# u'a-impedit-aliquam'
fake.free_email_domain()
# u'gmail.com'
fake.uri_extension()
# u'.jsp'
fake.ipv6(network=False)
# '1972:fc6a:ed2b:cf71:4d89:ecfe:93d8:e55c'
fake.user_name(*args, **kwargs)
# u'christinajones'
fake.image_url(width=None, height=None)
# u'https://dummyimage.com/397x446'
fake.email()
# u'qnelson@wright-best.org'
fake.uri_page()
# u'terms'
fake.mac_address()
# u'6b:92:4c:04:b0:13'
fake.safe_email()
# u'jonathan61@example.com'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'0-7323-1244-2'
fake.isbn13(separator="-")
# u'978-0-05-371040-8'
faker.providers.job
¶
fake.job()
# 'Solicitor, Scotland'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Cupiditate pariatur quo voluptate quas aspernatur quas corporis. Similique provident corporis assumenda exercitationem accusamus perspiciatis odit itaque.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Quis facere architecto quasi iusto deleniti. Ad suscipit vero harum neque dolore dolor voluptatem. Voluptatem nihil hic temporibus vel. Omnis sed nostrum consequuntur ipsum. Ipsa distinctio sunt alias doloremque.',
# u'Corrupti ducimus soluta aliquam ratione eius magni. Provident ipsum labore rem optio nobis voluptatem. Fugiat inventore soluta vero accusamus. Dolore veniam suscipit officia corporis eveniet perferendis blanditiis dolore.',
# u'Repellat aut voluptatibus sunt. Cumque nostrum deleniti quis voluptas illum voluptatum. Itaque distinctio sit voluptatibus hic tempora voluptatum.']
fake.words(nb=3, ext_word_list=None)
# [u'quod', u'occaecati', u'officiis']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Eos ad sunt tempora placeat.',
# u'Placeat aliquid quia provident quas.',
# u'Consequuntur totam quo doloremque saepe unde libero perferendis.']
fake.word(ext_word_list=None)
# u'vel'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Reprehenderit officia voluptatem quae sunt veniam exercitationem perferendis. Earum id ipsum dignissimos atque. Delectus voluptate velit quod voluptates saepe distinctio veniam eaque. Porro harum sed deleniti aliquid vitae aspernatur hic.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Esse corrupti voluptatem voluptatem quo ea.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'9@%5L)Ah*4'
fake.locale()
# u'uk_UA'
fake.binary(length=1048576)
# bytearray(b'p\xb3!H\xe6I<}\xf5\xf9\xa8z\x7f\x82\xfe\xd4\x84\x94\xb4\x9b\xcd\x1b\xf8N\x9c\xa7\xa7(\xe1\xc3\xa8_\t\x14S#q\xeb\x8f\t\xc4\x91\xdb(\xa3{\x0e\xb8\x18\xae`\xdf\xbe\xe3~-\n\x84\xfb)\x97W\x8eyZ\x98\xdc\x12\xfbsm\x11\xd2\xc2\xc5\xc2%\xb1\xe7Q\xec\xbc\x83m\xca \xd6\x9b~\x1b#\xb9\xe8\n\xf9\xc3bk\x80\x11\xdf\xc1\x8cj)\xf3\xac\xe4|w\x87\xb9\x84uP\x8a3$&\xabj\x7f\xe9\x82\xd1*_l\x11\xef\xa7\xb5\x88$\xed\xa3\xbf y\x85\x9b\xa7\xdd\xfdf\xd6\xae\xc0\xa9\x8e\x12\x86\x81\x11&\xbd\xdd;\x9e\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8\xdef_\xdcr[8\xd3\x15\x13\xc0^k=\xa0Sh\xd7\x83\x01ws+\xb9\xe8Q%\x95"\x88\xd0^\xf9\xdc\xf1G\x9d\x1f\xa1c\xaf\xb8[\xe9\xe9\xdf\x9f+\x14\x1b\xec\xf3;\x8et#\xf9l\x94\xfc\x89Xi"\\&\x0e\xc4[2\x94\xa0~w\xb8Y\xc3\x0c0\x84E\x1a7\x06\xa0,;lO\x16\x9di\x85\xdf\xa8fIo\'\x1d\t\x9c\x94\xb2\xad\xd4')
fake.md5(raw_output=False)
# '9102716c1807edf9307675d653743977'
fake.sha1(raw_output=False)
# '15dfaf594d8f56253dea7e7d3a079bbd1a5fc268'
fake.null_boolean()
# False
fake.sha256(raw_output=False)
# 'c7b3c3a3e8d0020a0d3ffa3f52fc2ed6860ac4f47764c767b010aee69ccb381a'
fake.uuid4()
# '0ce7e30a-ecdd-898f-0808-e2078146dd21'
fake.language_code()
# u'nan'
fake.boolean(chance_of_getting_true=50)
# True
faker.providers.person
¶
fake.last_name_male()
# u'Nguyen'
fake.name_female()
# u'Jessica Pena'
fake.prefix_male()
# u'Mr.'
fake.prefix()
# u'Dr.'
fake.name()
# u'Michael Callahan'
fake.suffix_female()
# u'MD'
fake.name_male()
# u'Andrew Anderson'
fake.first_name()
# u'John'
fake.suffix_male()
# u'Jr.'
fake.suffix()
# u'MD'
fake.first_name_male()
# u'James'
fake.first_name_female()
# u'Jessica'
fake.last_name_female()
# u'Francis'
fake.last_name()
# u'Kelly'
fake.prefix_female()
# u'Mrs.'
faker.providers.phone_number
¶
fake.phone_number()
# u'760-599-8027'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'444 Mckenzie Spring Apt. 045\nNorth Michelletown, GA 06873-7442',
# 'birthdate': '2012-08-12',
# 'mail': u'michelle19@hotmail.com',
# 'name': u'Erin Perez',
# 'sex': 'F',
# 'username': u'smithmaxwell'}
fake.profile(fields=None, sex=None)
# { 'address': u'0653 Jerome Alley\nClaireville, AL 88579',
# 'birthdate': '2011-10-31',
# 'blood_group': 'B+',
# 'company': u'Freeman Group',
# 'current_location': (Decimal('74.4621745'), Decimal('-86.294138')),
# 'job': 'Operational investment banker',
# 'mail': u'michelle94@hotmail.com',
# 'name': u'Pamela Harper',
# 'residence': u'516 Martin Forks Apt. 841\nMillermouth, HI 97086-4853',
# 'sex': 'F',
# 'ssn': u'353-28-7048',
# 'username': u'aaronmiller',
# 'website': [ u'https://www.curry-dickerson.com/',
# u'http://jackson.com/',
# u'https://gibbs-mcknight.com/',
# u'https://www.jordan.com/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# [ Decimal('-63343216.5499'),
# u'smithcheryl@mccormick-alvarez.com',
# u'mJWHyRxHFSHVSwTHwWJs',
# u'zbcNEOdwyWqcUWXOysaR',
# u'ASeFDDhqLSYEPmXHisEv',
# u'http://parker-ramirez.com/category/wp-content/search/main.html',
# Decimal('-95555891.1364'),
# Decimal('-8830845.98'),
# datetime(2009, 7, 3, 12, 12, 9),
# 61047490258.762,
# datetime(1980, 7, 21, 16, 7, 25),
# Decimal('-472002818792'),
# 4160]
fake.pystr(min_chars=None, max_chars=20)
# u'CixMhgJLoLptjJNhsXEe'
fake.pystruct(count=10, *value_types)
# ( [ 5127,
# u'sjiKhRmOUbyxkqkGNXCu',
# Decimal('7.939423337'),
# u'qVuzconZgcZCqzORNgJf',
# 457011.33032633,
# u'ZcxyxLGtBOZlrqsrvYUl',
# u'WvhzXonoWFrsbjlzzgNn',
# u'ZsuPVuIwVCVTkuExkDnZ',
# u'carmenpayne@gmail.com',
# u'rwZqqRddYkNxdJpiNzTk'],
# { u'ab': u'iFTDdDlihpzTzkGMbuRl',
# u'aut': u'dAgMIHuyLdStMMyhxPyC',
# u'cum': u'NzbRkvIcahXwZDYnnsrK',
# u'fugit': u'PThYDILVISFODHKuCItu',
# u'iure': 848,
# u'libero': u'QDluGuTtUlgGUnJMwNMe',
# u'quia': u'http://www.cabrera.info/terms.asp',
# u'quos': u'todd70@hill.com',
# u'similique': Decimal('-31817398115.4')},
# { u'earum': { 8: u'oSfoZEsZtxMuPDnXIxDw',
# 9: [ u'david35@hotmail.com',
# u'diazalexander@yahoo.com',
# u'https://charles.com/list/search/login.php'],
# 10: { 8: u'IoxwrQDufrOUkFJuvRUM',
# 9: 8137,
# 10: [ u'xdbdqrBOzdtJsNMOaQca',
# Decimal('-584451046033')]}},
# u'fugiat': { 5: 55572.204570301,
# 6: [ 4116,
# u'JdXunAaXMSDzLmqktTEh',
# u'AhqesxnPFhqGjgtcywbK'],
# 7: { 5: u'upZYOgnbheugzPxsZale',
# 6: u'uQhdLdXIReNiMUJGJXVB',
# 7: [ Decimal('-508408676391'),
# datetime(2011, 7, 16, 2, 2, 18)]}},
# u'harum': { 9: 685244071.0,
# 10: [ 658361027651112.0,
# datetime(2006, 11, 12, 2, 58, 16),
# u'YGKkoxMXxSuQPbQLQiRc'],
# 11: { 9: 3504,
# 10: u'arAQFOsXRTUwzvrWpSye',
# 11: [6500, 49]}},
# u'id': { 3: u'CPNtkghelJCygVuHBYiC',
# 4: [ 3807,
# Decimal('38524299.629'),
# u'IvDeEdmyfuvHCmBMRDuB'],
# 5: { 3: 3930, 4: 5769, 5: [5564, u'uEQckTkodGnqztQmRbMF']}},
# u'minus': { 4: -271633705331380.0,
# 5: [ 4753,
# u'PnZJIplzaYlNChHvauTs',
# u'yOfLRkkjRCebbhkrLOJR'],
# 6: { 4: u'pjTPZVxPkllGUhNDbsEn',
# 5: 2843,
# 6: [ u'XncrCixrFKfpmWqCkzlK',
# Decimal('30792838955.2')]}},
# u'molestias': { 0: 5270,
# 1: [ u'https://www.taylor.com/register.jsp',
# u'jBanOfhnAQYmRBhTXUpH',
# 30],
# 2: { 0: u'https://perez-skinner.com/login.html',
# 1: u'JpJsprsCfzbtMAHqAEsT',
# 2: [u'fnXbaUkKWEjCMWndfKSX', 2924]}},
# u'nihil': { 2: Decimal('-30886.3'),
# 3: [-5.24, u'DgTnSrOosWZomkYUPQWM', 6816],
# 4: { 2: u'https://robinson.biz/search/about/',
# 3: u'sntWMRmVdHnmajEJuewo',
# 4: [ u'https://www.navarro.com/',
# u'yXqMEuFwKVQzNbnqMyEx']}},
# u'odit': { 1: Decimal('-66362116132.8'),
# 2: [ u'RMQsBHLMcpyAtgFswlCJ',
# u'TWWQNYfVFOTEYlfsvxBK',
# u'mawXDnUWYEziwmYWxNAh'],
# 3: { 1: u'umoore@gmail.com',
# 2: u'SZyMKTUcIHyCIQILVGxu',
# 3: [u'vJzjPitoBxFzUUbjXxIR', 1037]}},
# u'reprehenderit': { 7: u'PISEWEAkVqpVVfyzaeQn',
# 8: [ u'MgHnZVIYBHLkvIiioaPJ',
# u'QBAKtyZWFUrqcScCzxPN',
# 4970],
# 9: { 7: u'bEpqQwQvAHefOZdGHDtg',
# 8: u'rPaqmkXSLgONFMiqMmBM',
# 9: [9406, u'jaDBWzczkJQvpZtZjVLF']}},
# u'voluptate': { 6: Decimal('3.1122082'),
# 7: [5436, -83918698001.0, 1928],
# 8: { 6: u'https://sullivan.com/main/category.php',
# 7: u'traceyking@jackson-kelley.com',
# 8: [7799, u'gPYnuvXnkubwAnrwgMVz']}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# 558342.320803
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('-41831039.6563')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ 914.4042,
# u'kOPlPcmJuuUkpZWbbUKP',
# Decimal('-8416512.33'),
# u'GLxcEqYpyEFWoaIMLQMu',
# 7522,
# datetime(2012, 2, 20, 10, 32, 58),
# -8119825.1,
# 7084.8533346399,
# u'https://figueroa.com/',
# u'smSEuPWLuSxFylZScIRH',
# u'HSRRnYIojLSEvXSKvtHQ',
# 6155,
# u'OSZJkxZEyAAqhDWNreej',
# u'http://michael.com/home.jsp']
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( u'jennifercook@yahoo.com',
# u'http://www.lewis-kelly.net/homepage.php',
# u'JrgFZxJpkIyrmHHIsydZ',
# u'KlhTbZeeyAIfJmMWEfIF',
# u'NxiQDvfOQaJFEXlnUwZX',
# u'qYpHUfUplmnkJuzQjCdR',
# u'https://saunders.com/',
# u'HdBMXcXzEsMuoVYKjdgW',
# 3113,
# datetime(2005, 7, 11, 5, 5, 43),
# datetime(2005, 11, 23, 21, 59, 56),
# 5245,
# 4863)
fake.pybool()
# True
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([295, 4867, u'CuYReSIOyIkWCKzHMmxW', datetime(1978, 5, 27, 13, 27, 56), 8263, u'lunadavid@rivera.net', 7339, 1678, datetime(2012, 1, 23, 8, 1, 39), u'GbaxLeFptVyVfOUvZGQy', 2006, -9754.77496411, Decimal('-634128346.8'), 4799])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'aperiam': 1548,
# u'culpa': 495488264.86,
# u'deleniti': u'KcFVJONCSdMoLEtJWMHf',
# u'magnam': u'jeQpyLJgnRNGOQavWZxH',
# u'nostrum': datetime(2003, 6, 10, 16, 23, 34),
# u'numquam': Decimal('2183.26'),
# u'optio': 6356,
# u'quibusdam': 7990,
# u'vitae': -5505330836633.0}
fake.pyint()
# 622
faker.providers.ssn
¶
fake.ssn()
# u'191-44-0129'
faker.providers.user_agent
¶
fake.mac_processor()
# u'U; PPC'
fake.firefox()
# u'Mozilla/5.0 (X11; Linux x86_64; rv:1.9.7.20) Gecko/2016-10-06 12:55:25 Firefox/3.8'
fake.linux_platform_token()
# u'X11; Linux i686'
fake.opera()
# u'Opera/9.73.(X11; Linux i686; et-EE) Presto/2.9.187 Version/10.00'
fake.windows_platform_token()
# u'Windows NT 6.1'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 5.0; Windows NT 4.0; Trident/4.1)'
fake.user_agent()
# u'Opera/9.60.(Windows NT 5.0; ar-OM) Presto/2.9.169 Version/11.00'
fake.chrome()
# u'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/5332 (KHTML, like Gecko) Chrome/15.0.821.0 Safari/5332'
fake.linux_processor()
# u'i686'
fake.mac_platform_token()
# u'Macintosh; PPC Mac OS X 10_8_6'
fake.safari()
# u'Mozilla/5.0 (Windows; U; Windows NT 4.0) AppleWebKit/533.5.5 (KHTML, like Gecko) Version/5.0.2 Safari/533.5.5'