Language et_EE¶
faker.providers.address
¶
fake.longitude()
# Decimal('-16.484035')
fake.building_number()
# u'429'
fake.street_address()
# u'7693 Anne Unions'
fake.postalcode_plus4()
# u'12825-0507'
fake.city_prefix()
# u'West'
fake.military_ship()
# u'USNS'
fake.country_code()
# u'NR'
fake.city()
# u'Nikolaistad'
fake.zipcode_plus4()
# u'90421-0580'
fake.state_abbr()
# u'IN'
fake.latitude()
# Decimal('-6.194276')
fake.street_suffix()
# u'Field'
fake.city_suffix()
# u'borough'
fake.military_dpo()
# u'Unit 9056 Box 8972'
fake.country()
# u'Comoros'
fake.secondary_address()
# u'Apt. 325'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('-136.406247')
fake.postalcode()
# u'03146'
fake.address()
# u'4481 Andrei Grove\nRandojaberg, NM 71850-3916'
fake.state()
# u'Pennsylvania'
fake.military_state()
# u'AA'
fake.street_name()
# u'Reet Underpass'
fake.zipcode()
# u'12027'
fake.postcode()
# u'01656-2869'
fake.military_apo()
# u'PSC 6104, Box 3351'
faker.providers.automotive
¶
fake.license_plate()
# u'76P TV5'
faker.providers.barcode
¶
fake.ean(length=13)
# u'6375373891277'
fake.ean13()
# u'0598104843352'
fake.ean8()
# u'19275383'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(38,172,217)'
fake.color_name()
# u'MediumVioletRed'
fake.rgb_color()
# u'106,100,106'
fake.safe_hex_color()
# u'#ffaa00'
fake.safe_color_name()
# u'olive'
fake.hex_color()
# u'#44d19e'
faker.providers.company
¶
fake.company()
# u'Poljakov, Vares and Kalamees'
fake.company_suffix()
# u'Inc'
fake.catch_phrase()
# u'Automated object-oriented architecture'
fake.bs()
# u'deploy viral portals'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'508'
fake.credit_card_provider(card_type=None)
# u'Discover'
fake.credit_card_full(card_type=None)
# u'VISA 16 digit\nGalina Lepik\n4253435094353970 10/24\nCVC: 323\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '10/22'
fake.credit_card_number(card_type=None)
# u'30484446231631'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'DOGE'
fake.currency_code()
# 'AUD'
faker.providers.date_time
¶
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2007, 7, 9, 17, 36, 35)
fake.date_time_between(start_date="-30y", end_date="now", tzinfo=None)
# datetime.datetime(2003, 7, 23, 8, 28, 39)
fake.time(pattern="%H:%M:%S")
# '20:28:25'
fake.date_time_ad(tzinfo=None)
# datetime.datetime(683, 5, 31, 22, 10, 29)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2017, 7, 13)
fake.day_of_week()
# 'Monday'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2014, 7, 7, 2, 14, 22)
fake.time_object()
# datetime.time(20, 1, 40)
fake.iso8601(tzinfo=None)
# '2006-07-20T07:00:44'
fake.time_delta()
# datetime.timedelta(9231, 78539)
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(1976, 9, 2)
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2017, 7, 23, 17, 39, 42)
fake.date_time(tzinfo=None)
# datetime(2012, 10, 17, 7, 10, 53)
fake.date(pattern="%Y-%m-%d")
# '1978-11-10'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2017, 7, 24)
fake.month()
# '07'
fake.unix_time()
# 1323283174
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2017, 7, 11, 1, 12, 48)
fake.day_of_month()
# '22'
fake.year()
# '1985'
fake.timezone()
# u'Africa/Lubumbashi'
fake.century()
# u'XXI'
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2017, 3, 7, 17, 21, 2)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2017, 6, 29, 12, 33, 44)
fake.month_name()
# 'February'
faker.providers.file
¶
fake.file_path(depth=1, category=None, extension=None)
# u'/velit/adipisci.avi'
fake.mime_type(category=None)
# u'video/mpeg'
fake.file_name(category=None, extension=None)
# u'cum.gif'
fake.file_extension(category=None)
# u'flac'
faker.providers.internet
¶
fake.url()
# u'https://www.kask.com/'
fake.company_email()
# u'rtamberg@j\xfcrgens.com'
fake.uri()
# u'https://erik.info/search.html'
fake.domain_word(*args, **kwargs)
# u'fedotov-tuulik'
fake.ipv4(network=False)
# '161.82.11.26'
fake.domain_name(levels=1)
# u'ignatjev.biz'
fake.tld()
# u'com'
fake.uri_path(deep=None)
# u'search'
fake.free_email()
# u'gkazakov@yahoo.com'
fake.slug(*args, **kwargs)
# u'fugit-itaque'
fake.free_email_domain()
# u'yahoo.com'
fake.uri_extension()
# u'.php'
fake.ipv6(network=False)
# '50d8:d00d:783f:cd71:4711:4eee:2b2e:2f2d'
fake.user_name(*args, **kwargs)
# u'aleksanderjalakas'
fake.image_url(width=None, height=None)
# u'https://placeholdit.imgix.net/~text?txtsize=55&txt=983x825&w=983&h=825'
fake.email()
# u'martinp\xf5ldma@hotmail.com'
fake.uri_page()
# u'post'
fake.mac_address()
# u'77:9b:89:c7:4e:cb'
fake.safe_email()
# u'jelenapaju@example.com'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'0-362-55981-3'
fake.isbn13(separator="-")
# u'978-0-7182-1579-8'
faker.providers.job
¶
fake.job()
# 'Accommodation manager'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Repudiandae hic rem consectetur voluptates pariatur. Debitis corporis eveniet vero. Asperiores beatae praesentium nostrum vel et a. Commodi omnis harum laborum illum libero labore.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Itaque nemo id minima inventore dolores quas. Quasi ex nihil repellat. Ad facilis temporibus alias. Quae amet itaque corrupti dolor quisquam iste necessitatibus.',
# u'Earum molestiae reprehenderit placeat. Perferendis labore labore sint ut.',
# u'Veritatis ut eveniet dolorem. Id ea harum aliquid accusantium fuga. Reiciendis blanditiis excepturi odio. Minima error necessitatibus odio delectus.']
fake.words(nb=3, ext_word_list=None)
# [u'itaque', u'molestias', u'et']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Rem ratione reiciendis perspiciatis at.',
# u'Quae quas pariatur animi fuga.',
# u'Iusto sit consectetur et tempora tempora.']
fake.word(ext_word_list=None)
# u'omnis'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Corrupti nostrum voluptate veniam dolore cumque. Labore dolorem dignissimos odit unde magni voluptas. Doloribus sapiente expedita amet consectetur quidem dignissimos maiores. Minima dolores totam debitis perferendis illo laudantium quo natus. Odio ex saepe nulla fugit.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Excepturi aliquid dolores nisi.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'@3GwsUnJyp'
fake.locale()
# u'uk_UA'
fake.binary(length=1048576)
# bytearray(b'Y\xbb<\x80\xc0\xd4+\x15\xbb\xf3\x16g\xd4\x82\xb9\xcc\xbeU\xb27\xa6\x99HQ(\xc7\xdf\xb9\x08f\x8d\xbd\xa5a\xe3\xbf\xf2\xc9\x0f9m3\xa0\x00\xa2\x10\xc2\xe6\x0f@3\x12]9x\x91\xf6C@\x92s\xc3^\xd8am\xc1\x89\xedc4q\x88\x9dlba\x97aMl\xae\x01+h\x81e\x08D\x17\xf4\x1c\x05\xae\xcc\xee\xd0c*\xf7\xb7\x0b\xe9\xa6\x17,U\xe4\xa6P\x0c,\xdf\xde\xb0\xa0\xec#\xd3\xf6\xe7\xa4\xaf\xfe~0\xb1\x08\xc2\x8dp\x95q\xe1\xa3\xa3h{\x0f\xc8h,\x1c\xef\xb5\xb7\xdb \x8b\xbc\xec\x9e<W\xa5\x9bz4\rOR\xda\xfb\x93T\x9d\x98\x0f6\xfd\xed\xb9y\x92F\xbfg\xfd\x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eN\x84\x97\xd2f\xfb\x87H-\xc4\x05\x07\xa4\xfe\x83/gQ\x10\xb9KM\xc5\x9d\x8d\x8a\xa7\xd4\xe3g\xd5\x1a\xd8\x9cz\x0f\xc0\xc5a]]\xeb9j\x1f\x96%L\xdd\xc7\xbe\xb5(\xf8;&\x80\xc3y')
fake.md5(raw_output=False)
# 'cf13d0d52d7f941f293dc6a7d283feec'
fake.sha1(raw_output=False)
# '5f354f91abe171de1a4f6cddc401908ef216d4b5'
fake.null_boolean()
# False
fake.sha256(raw_output=False)
# 'a38396a31b01de8ce262a9df0b979d086bdb80d453b607849b79f51b38909673'
fake.uuid4()
# '10e24dc2-d61d-4dae-fbe1-25e4dd3b37fe'
fake.language_code()
# u'tig'
fake.boolean(chance_of_getting_true=50)
# True
faker.providers.person
¶
fake.first_name_male_rus()
# u'Alexander'
fake.prefix_male()
# u'prof'
fake.suffix_female()
# u'MSc'
fake.name_male()
# u'Maksim Novikov'
fake.first_name_rus()
# u'Dmitri'
fake.first_name()
# u'Artur'
fake.suffix_male()
# u'PhD'
fake.first_name_est()
# u'Niina'
fake.first_name_female()
# u'Tamara'
fake.first_name_male()
# u'Artur'
fake.prefix_female()
# u'prof'
fake.name()
# u'Aleksandr Poljakov'
fake.last_name_rus()
# u'Medvedev'
fake.first_name_male_est()
# u'Andres'
fake.suffix()
# u'BSc'
fake.prefix()
# u'h\xe4rra'
fake.first_name_female_est()
# u'Anne'
fake.name_female()
# u'Natalja \u017duravljov'
fake.last_name_male()
# u'Roos'
fake.first_name_female_rus()
# u'Diana'
fake.last_name_est()
# u'Uus'
fake.last_name()
# u'Meister'
fake.last_name_female()
# u'N\xf5mme'
faker.providers.phone_number
¶
fake.phone_number()
# u'(857)408-5360'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'66375 Ots Springs\nEast Laura, VA 77198-6273',
# 'birthdate': '1971-08-06',
# 'mail': u'natalja34@gmail.com',
# 'name': u'Riina Soosalu',
# 'sex': 'F',
# 'username': u'sirje23'}
fake.profile(fields=None, sex=None)
# { 'address': u'214 Karpov Center\nViktoriaville, MT 49807',
# 'birthdate': '2004-08-01',
# 'blood_group': 'AB-',
# 'company': u'Hanson, J\xe4rve and Vaino',
# 'current_location': (Decimal('-61.2105385'), Decimal('-139.011618')),
# 'job': 'Hospital pharmacist',
# 'mail': u'kalas@gmail.com',
# 'name': u'J\xfcri Luik',
# 'residence': u'724 Kuus Forest Apt. 556\nLake Ljudmila, MI 56022-3024',
# 'sex': 'M',
# 'ssn': u'33509106199',
# 'username': u'nade\u017eda72',
# 'website': [ u'https://randoja-kaasik.com/',
# u'https://www.pajula-klein.com/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# set([u'https://www.\u0161t\u0161erbakov.com/post.htm', Decimal('28.5989'), 11, 686, u'vNjzJBXlJNHQacwCtRZP', datetime(2002, 8, 3, 5, 44, 18), u'BDAtZoKFDzglUiEALrZD'])
fake.pystr(min_chars=None, max_chars=20)
# u'AuvojgYbvgZRCTHspQxk'
fake.pystruct(count=10, *value_types)
# ( [ u'GlRjQNnjHlREqpobsvNa',
# u'VMPeQKqLqQWSPJlqyIUU',
# u'xZJUnZjtiMdhdjeUpXYP',
# Decimal('0.14'),
# u'XbJJbEqWPPvhmBZQqnxB',
# u'http://erm.org/post/',
# 2102,
# datetime(1989, 10, 18, 20, 10, 52),
# u'opnNKsVGmgeAfexYavza',
# 388],
# { u'iusto': u'http://r\xfc\xfctel.org/blog/home.html',
# u'perspiciatis': u'LFAVuyGOglcJySUCVRnn',
# u'placeat': u'meelis09@vaher.biz',
# u'possimus': u'kBBQKIJufTweVgjBbKQF',
# u'recusandae': u'wgGPJVUmAUsJXIzZYYsO',
# u'rerum': 8239,
# u'tenetur': datetime(1998, 11, 21, 0, 37, 43),
# u'unde': u'kristiina18@k\xe4\xe4rik-kiil.com',
# u'veniam': Decimal('146223410.0')},
# { u'aliquid': { 5: u'WOubFILTAVjwRpGAINZK',
# 6: [ u'mNYRqFTGcQWcgIfxGrXt',
# 61.13035,
# Decimal('-26336354.634')],
# 7: { 5: u'vainoraivo@gmail.com',
# 6: 2022,
# 7: [3260, u'https://www.annus.org/']}},
# u'aspernatur': { 8: u'ICbVdSXNrRnTJCiZWVgh',
# 9: [ u'wEUWLrfRFHqqjIwXbKXW',
# u'valgeroman@yahoo.com',
# u'xDQjHVaPYOqNLZAKkwrv'],
# 10: { 8: u'hEZoWZvfdoxZzQotHARX',
# 9: u'pATjibpOjUJgszvhQpRP',
# 10: [ Decimal('497.7340823'),
# u'dhFDZKZvTpuHaetsvpdj']}},
# u'deserunt': { 1: 2867,
# 2: [4708, 1066, 9093],
# 3: { 1: u'dFpJqFmTtaPSRWPlXeLe',
# 2: u'dDzbhlSChQnogjWRyHrU',
# 3: [ u'https://v\xf5su.com/',
# u'xqmTngOhXwXtSQLFlvsb']}},
# u'inventore': { 6: u'toTJlVnsbMxwqqwkizpx',
# 7: [ 9287,
# u'qnUqXaPFPFlLtwyqyQkz',
# u'beljajevandrei@gmail.com'],
# 8: { 6: 5884,
# 7: u'VahCZBFgaInZCmbdigeL',
# 8: [ datetime(1990, 3, 18, 12, 42, 12),
# u'hEBqCCChRwLHallbeuVQ']}},
# u'nesciunt': { 9: datetime(1977, 2, 11, 10, 12, 10),
# 10: [2185, Decimal('-7705220998.49'), 6636],
# 11: { 9: u'http://www.martinson.biz/',
# 10: u'BTOGqZKbHzUjLdaGSjDY',
# 11: [ datetime(2014, 8, 14, 22, 30, 35),
# 5997]}},
# u'praesentium': { 3: u'http://www.romanov.com/home/',
# 4: [ 5762,
# u'HXHBllYwLpkEQFRePaQQ',
# u'PBjtJIfkcuRodqTRmYbX'],
# 5: { 3: u'mihkel56@lipp.com',
# 4: u'sZJDcqbonrmHyaWgEYSi',
# 5: [ u'DBhNcnfXDlyIMkoFyQiJ',
# u'kristiina96@danilov-mark.biz']}},
# u'quisquam': { 7: 9074,
# 8: [ Decimal('6.01181311252E+13'),
# 6939,
# datetime(1976, 8, 17, 16, 27, 5)],
# 9: { 7: u'CnLbtoYHwiVdDVxcRHku',
# 8: u'JDaASiTOUyRHQuMSsEeg',
# 9: [ -2234642985782.7,
# u'YRoYqGogRZHCkgOQcOCF']}},
# u'tempore': { 0: Decimal('880259793672'),
# 1: [u'gXWkxnJHvnMnmEqHdthd', 4.6784022, 2449],
# 2: { 0: Decimal('8.67285652111E+13'),
# 1: 4204,
# 2: [ u'dHmdxPbvKNyprDHBhmsP',
# u'http://sibul-aus.net/register/']}},
# u'totam': { 4: u'piretfedotov@kalamees-raja.com',
# 5: [7486, 6892.2748946, Decimal('-797.4')],
# 6: { 4: u'iJmuQDaHEzEtzbPVFZlG',
# 5: -273294111523.65,
# 6: [ u'https://www.silm.com/',
# Decimal('1.0247940798E+13')]}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# 14404.1283
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('9.13630638562E+12')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ u'https://www.kuusk.net/terms/',
# Decimal('-56.480837786'),
# u'xhAMVEsuIIbBCqsJIlGY',
# u'hZNkEBDyEtLzDLAKMgBp',
# 51725548.41,
# 3435,
# u'lsarapuu@hotmail.com',
# 2040,
# u'sIDosbWzAWjAPRWsNpMD',
# Decimal('3876040684.0'),
# u'YLbCzxDVKCSORENcqPFf',
# Decimal('2113844175.53'),
# u'http://aus.com/author/']
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( 4066,
# 4259,
# Decimal('-8.95882785113E+12'),
# u'ETFawqcPIXqoAEVKaCnm',
# u'danilovigor@kalamees.com',
# u'https://melnik.org/',
# u'fxYqJPwAwEbdhvwxqrAt',
# u'ZPYGwnouFQYQeYSMZHij',
# Decimal('7.17191069236E+13'),
# u'anna89@n\xf5mmik.info',
# Decimal('-956897442.524'),
# u'EpDaszHavvjqeqkcejCL',
# u'AFtLtxfkxizsDFNFpURc',
# datetime(2014, 3, 6, 23, 33, 54))
fake.pybool()
# True
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([2371, u'IwaBVmhNUahgDErdAZjp', u'juri97@gmail.com', 4973, 1328, u'PnYtQmXoNEvwyyLvLPMH', u'http://solovjov.biz/', -669453932248.43, u'YfysmloMYcmPlUvEQltp', u'ivan92@kelder.com'])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'ab': u'ainosaks@hotmail.com',
# u'architecto': -32.169982547,
# u'cumque': u'JtpOjNlDDYjNHzlgABkS',
# u'ex': u'tjtqneMFPCBNJBVNDgGH',
# u'expedita': 3070,
# u'placeat': u'VZkSXFarIByQsoHdsfkg',
# u'quae': u'LhWuaYIGlvWPVJlDLFLt',
# u'qui': u'auskristiina@hotmail.com'}
fake.pyint()
# 9141
faker.providers.ssn
¶
fake.ssn()
# u'33108014864'
faker.providers.user_agent
¶
fake.mac_processor()
# u'U; Intel'
fake.firefox()
# u'Mozilla/5.0 (X11; Linux x86_64; rv:1.9.6.20) Gecko/2016-05-07 05:20:43 Firefox/3.8'
fake.linux_platform_token()
# u'X11; Linux x86_64'
fake.opera()
# u'Opera/8.79.(Windows CE; et-EE) Presto/2.9.189 Version/10.00'
fake.windows_platform_token()
# u'Windows NT 6.2'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 9.0; Windows 98; Win 9x 4.90; Trident/5.1)'
fake.user_agent()
# u'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_9; rv:1.9.6.20) Gecko/2011-03-29 03:51:11 Firefox/3.8'
fake.chrome()
# u'Mozilla/5.0 (Windows NT 5.0) AppleWebKit/5340 (KHTML, like Gecko) Chrome/13.0.838.0 Safari/5340'
fake.linux_processor()
# u'i686'
fake.mac_platform_token()
# u'Macintosh; U; PPC Mac OS X 10_5_6'
fake.safari()
# u'Mozilla/5.0 (Windows; U; Windows 98; Win 9x 4.90) AppleWebKit/533.21.1 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1'