Language uk_UA¶
faker.providers.address¶
fake.longitude() # -177.636597
fake.building_number() # 347
fake.street_address() # 2236 John Coves
fake.postalcode_plus4() # 15819-9522
fake.city_prefix() # Port
fake.military_ship() # USCGC
fake.city() # Lake John
fake.zipcode_plus4() # 72103-2987
fake.state_abbr() # ME
fake.latitude() # -37.2432565
fake.street_suffix() # Harbor
fake.city_suffix() # land
fake.military_dpo() # Unit 0740 Box 9696
fake.country() # Guam
fake.secondary_address() # Apt. 103
fake.geo_coordinate(center=None, radius=0.001) # -53.470941
fake.postalcode() # 78043
fake.address() # 43239 Єрмоленко Causeway Johnchester, NH 57589
fake.state() # Kentucky
fake.military_state() # AA
fake.street_name() # Jane Trafficway
fake.zipcode() # 03101
fake.postcode() # 37827-7120
fake.military_apo() # PSC 7944, Box 9841
faker.providers.barcode¶
fake.ean(length=13) # 8976733841390
fake.ean13() # 0138407754155
fake.ean8() # 60790101
faker.providers.color¶
fake.rgb_css_color() # rgb(111,156,95)
fake.color_name() # Blue
fake.rgb_color_list() # (144, 128, 211)
fake.rgb_color() # 107,39,101
fake.safe_hex_color() # #ffcc00
fake.safe_color_name() # green
fake.hex_color() # #670ad8
faker.providers.company¶
fake.company() # Франко Inc
fake.company_suffix() # Group
fake.catch_phrase() # Future-proofed well-modulated application
fake.bs() # harness best-of-breed vortals
faker.providers.credit_card¶
fake.credit_card_security_code(card_type=None) # 208
fake.credit_card_full(card_type=None, validate=False, max_check=10) # Diners Club / Carte Blanche John Ященко 38480325530145 03/21 CVC: 900
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y") # 08/17
fake.credit_card_number(card_type=None, validate=False, max_check=10) # 1800211107220165
fake.credit_card_provider(card_type=None) # VISA 16 digit
faker.providers.currency¶
fake.currency_code() # JEP
faker.providers.date_time¶
fake.date_time_ad() # 0599-11-20 19:58:05
fake.month() # 06
fake.am_pm() # AM
fake.iso8601() # 1980-09-22T19:22:18
fake.date_time_this_century() # 2007-10-21 03:29:52
fake.date_time() # 2002-01-26 23:52:11
fake.month_name() # July
fake.date_time_this_month() # 2016-03-02 09:14:09
fake.date_time_this_decade() # 2014-10-07 08:11:14
fake.day_of_week() # Monday
fake.day_of_month() # 23
fake.time(pattern="%H:%M:%S") # 16:16:40
fake.date_time_between(start_date="-30y", end_date="now") # 1995-05-08 11:04:46
fake.unix_time() # 1112197226
fake.date_time_this_year() # 2016-03-14 08:15:14
fake.timezone() # Africa/Accra
fake.century() # XIII
fake.date(pattern="%Y-%m-%d") # 2012-12-14
fake.year() # 1987
faker.providers.file¶
fake.mime_type(category=None) # message/partial
faker.providers.internet¶
fake.ipv4() # 53.51.56.109
fake.url() # http://.info/
fake.company_email() # .john@.com
fake.uri() # http://www..info/main/
fake.image_url(width=None, height=None) # http://placekitten.com/268/466
fake.tld() # info
fake.free_email() # g@hotmail.com
fake.slug(*args, **kwargs) # earum-dicta-sint
fake.free_email_domain() # yahoo.com
fake.domain_name() # .com
fake.uri_extension() # .php
fake.ipv6() # a931:db06:ae8c:fddd:97fd:34fe:4c61:e5d2
fake.safe_email() # p@example.com
fake.user_name(*args, **kwargs) # john.
fake.uri_path(deep=None) # app
fake.email() # .jane@.com
fake.uri_page() # home
fake.mac_address() # 60:e3:e9:cf:9b:59
faker.providers.job¶
fake.job() # Дантист
faker.providers.lorem¶
fake.text(max_nb_chars=200) # Facere asperiores voluptatem consectetur nulla eos maiores . Cum at ducimus deleniti consectetur eius magnam.
fake.sentence(nb_words=6, variable_nb_words=True) # Totam dolorem officia porro.
fake.word() # accusamus
fake.paragraphs(nb=3) # [u'Rerum et perspiciatis explicabo odit soluta natus repud iandae nisi. Dolorum molestiae sunt voluptatem voluptas si milique aut illum. Vel nemo tempore ut temporibus esse. Eu m corrupti consectetur qui.', u'Tenetur iusto iste quas cu piditate mollitia. Enim impedit impedit voluptatem maxime eum quis tenetur. Illum aut fugiat est neque aut ut.', u'M olestiae id et ea distinctio. Occaecati a iste atque conse ctetur. Reprehenderit quos amet sunt sed veniam dicta quod . Voluptas et voluptas fuga est.']
fake.words(nb=3) # [u'saepe', u'et', u'quas']
fake.paragraph(nb_sentences=3, variable_nb_sentences=True) # Ullam quo reiciendis sapiente nostrum consequuntur quibusd am quidem. Nam id et illum eos maxime aut. Corrupti aut om nis ea. Autem rerum porro dolorum.
fake.sentences(nb=3) # [u'Eum quis et aut et voluptatem sint aut dolores.', u'Ali quid asperiores a aut soluta odit veritatis.', u'Eum occae cati labore ab.']
faker.providers.misc¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True) # N7Zh5QjDFZ
fake.locale() # pt_GA
fake.md5(raw_output=False) # 865696ddbd081f9e73ccc7dee25bf677
fake.sha1(raw_output=False) # 31599bd43127920da345dd90884b06d73c06e9b0
fake.null_boolean() # None
fake.sha256(raw_output=False) # 2dfe55e3aa102d47da68c9ad4d7d0a67a45e9101c17347dda5c8a100b1 ed63ba
fake.country_code() # GM
fake.language_code() # es
fake.boolean(chance_of_getting_true=50) # False
faker.providers.person¶
fake.last_name_male() # Шутько
fake.name_female() # пані Святослава Рак
fake.prefix_male() # пан
fake.prefix() # (u'\u043f\u0430\u043d\u0456',)
fake.name() # пані Данна Яременко
fake.name_male() # пан Пантелеймон Михалюк
fake.first_name() # Jane
fake.first_name_male() # Олександр
fake.first_name_female() # Ярослава
fake.last_name_female() # Валенко
fake.last_name() # Таран
fake.prefix_female() # пані
faker.providers.profile¶
fake.profile(fields=[]) # {'website': [u'http://.com/', u'http://.com/', u'http://.n et/'], 'username': u'v', 'name': u'\u043f\u0430\u043d \u04 04\u0444\u0440\u0435\u043c \u0423\u0441\u0442\u0435\u043d\ u043a\u043e', 'blood_group': 'B-', 'residence': u'9275 \u0 420\u0430\u0434\u0447\u0435\u043d\u043a\u043e Centers\nPor t Jane, MD 14890', 'company': u'\u0428\u0438\u043b\u043e-\ u0410\u043d\u0434\u0440\u0456\u0439\u0447\u0443\u043a', 'a ddress': u'273 John Radial Suite 161\nSouth Janefort, FL 9 3032', 'birthdate': '1988-10-13', 'sex': 'F', 'job': u"\u0 41a\u0443\u0440'\u0454\u0440", 'ssn': u'149148795176', 'cu rrent_location': (Decimal('54.504624'), Decimal('-90.42347 9')), 'mail': u'k@gmail.com'}
fake.simple_profile() # {'username': u'.john', 'name': u'\u043f\u0430\u043d\u0456 \u041b\u044e\u0431\u043e\u0432 \u041b\u044f\u0448\u043a\u0 43e', 'birthdate': '2011-02-20', 'sex': 'F', 'address': u' 08427 \u0406\u0432\u0430\u043d\u0435\u043d\u043a\u043e Fal l Suite 763\n\u0425\u0440\u0438\u0441\u0442\u0435\u043d\u0 43a\u043eville, AL 74302-5994', 'mail': u'john.@gmail.com' }
faker.providers.python¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types) # set([u'Ut numquam.', u'http://www..com/search/login/', u'j ohn80@.com', 8519, Decimal('31.3'), u'Et illo quia illum.' , datetime(2013, 8, 28, 6, 48, 13)])
fake.pystr(max_chars=20) # Nesciunt velit sunt.
fake.pyfloat(left_digits=None, right_digits=None, positive=False) # 8.85741402498e+14
fake.pystruct(count=10, *value_types) # ([u'john.@hotmail.com', Decimal('2.10068907161E+13'), 9584 , u'Voluptates in.', -5456.59, u'Perferendis placeat.', 71 79, u'Enim voluptatibus.', datetime(2006, 10, 15, 17, 15, 11), u'q@hotmail.com'], {u'minima': Decimal('85841141175.4 '), u'est': Decimal('515401290695'), u'unde': u'Ut consequ atur quia.', u'explicabo': u'Laboriosam sed eum.', u'quasi ': u'Consequatur.', u'dolor': u'jane17@.com', u'qui': u'Nu mquam laboriosam.', u'et': u'Consequatur nulla.', u'offici is': u'Ea aspernatur.', u'reiciendis': u'Sequi et enim eni m.'}, {u'non': {8: [u'Recusandae vel ea.', 590396247251437 .0, u'Eaque dolor eaque.'], 9: {8: 8557, 9: [2126724.277, u'Illo occaecati.'], 7: u'i@.net'}, 7: u'http://.info/faq/ '}, u'odit': {3: datetime(2003, 1, 18, 14, 18, 15), 4: [u' .jane@yahoo.com', u'Odio voluptas animi.', datetime(2008, 6, 12, 16, 4, 58)], 5: {3: Decimal('60.5421409592'), 4: 58 96, 5: [1214, Decimal('8.46922731182E+13')]}}, u'voluptate s': {4: Decimal('2.39101174115E+14'), 5: [u'v@.com', 7443, u'http://.biz/post.htm'], 6: {4: Decimal('-100875378106') , 5: u'Ab labore impedit.', 6: [datetime(2010, 5, 3, 0, 44 , 41), u'Voluptatem sint et.']}}, u'eveniet': {2: datetime (1977, 9, 25, 21, 45, 32), 3: [datetime(1983, 6, 22, 8, 27 , 55), u'Non commodi nostrum.', u'Ipsum libero quos.'], 4: {2: datetime(2004, 11, 22, 11, 16, 6), 3: u'Rerum tempora et.', 4: [u'Sint molestias.', u'jane.@gmail.com']}}, u'ac cusantium': {5: 2241, 6: [u'Nobis qui officia.', 8580, u'h ttp://www..com/explore/wp-content/search/post/'], 7: {5: - 74212365283.6, 6: datetime(2000, 4, 1, 2, 19, 40), 7: [u'V el ipsum vero.', 9321]}}, u'hic': {8: u'Veniam aut quam.', 9: [datetime(1982, 10, 18, 15, 57, 40), Decimal('6.661682 14989'), 5427], 10: {8: u'Enim odio sed.', 9: -33.18282737 72992, 10: [u'Sapiente saepe.', datetime(1977, 5, 9, 16, 1 4, 24)]}}, u'velit': {9: u'http://www..com/register/', 10: [Decimal('389.175287187'), u'http://.com/', Decimal('-1.8 186282')], 11: {9: u'http://.net/home.asp', 10: -399466464 492.2, 11: [u'jane28@.net', 8618]}}, u'explicabo': {0: u'. jane@hotmail.com', 1: [datetime(1994, 3, 18, 13, 48, 19), 6502, u'Sit eaque nihil.'], 2: {0: u'Qui nisi iste sit.', 1: 3285.4537124, 2: [7218, 8201]}}, u'laudantium': {8: {8: [8685, 6815], 6: Decimal('69221029475.8'), 7: u'Consequat ur in et.'}, 6: u'Dolore doloremque.', 7: [-9212874.54, u' Animi ipsam eum.', u'Reprehenderit id.']}, u'omnis': {1: u 'Numquam aut dolor.', 2: [u'Repudiandae ut sit.', 5520, da tetime(1989, 11, 29, 8, 56, 9)], 3: {1: u'http://www..com/ search/', 2: datetime(1994, 9, 25, 9, 26), 3: [u'Quia qui ea quod.', 743.863373824234]}}})
fake.pydecimal(left_digits=None, right_digits=None, positive=False) # -7.63954113916E+14
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types) # [4241, u'Impedit facilis qui.', u'Mollitia.', u'.john@.biz ', datetime(1999, 10, 20, 0, 9, 17), Decimal('44439.0'), u 'Omnis officiis.', u'Id nesciunt.', 2757, 50457877.0, 4568 , 2615, u'Illum mollitia.']
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types) # (datetime(1992, 8, 15, 5, 50, 31), Decimal('-5.35248970496 E+14'), u'Maiores consequatur.', u'Et facilis dolor.', 247 12.9, u'Sunt ut aut tenetur.', 7444, u'http://www..com/pos t/', u'http://www..com/', u'jane.@.org')
fake.pybool() # False
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types) # set([u'Harum unde rerum.', u'Et consequatur.', 15.0, u'Exp edita sint in.', Decimal('-662837.293833'), 2136, u'Eos de serunt.', u'http://www..com/', u'jane80@.com', -2.32832157 96])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types) # {u'eum': u'http://www..net/posts/app/app/login/', u'sed': u'Recusandae facilis.', u'voluptatum': 1982, u'ut': 2129, u'eaque': u'Accusantium quia.', u'aliquid': u'Odio eveniet .', u'hic': Decimal('-477.600702749'), u'et': u'Qui id hic tempora.', u'reiciendis': Decimal('-4013.48076144'), u'ne cessitatibus': 4732}
fake.pyint() # 2465
faker.providers.phone_number¶
fake.phone_number() # +38 837 200-26-37
faker.providers.ssn¶
fake.ssn() # 662082916907
faker.providers.user_agent¶
fake.mac_processor() # U; Intel
fake.firefox() # Mozilla/5.0 (Windows 95; sl-SI; rv:1.9.1.20) Gecko/2012-05 -07 15:01:38 Firefox/3.8
fake.linux_platform_token() # X11; Linux i686
fake.opera() # Opera/9.38.(Windows NT 6.2; sl-SI) Presto/2.9.163 Version/ 10.00
fake.windows_platform_token() # Windows NT 5.0
fake.internet_explorer() # Mozilla/5.0 (compatible; MSIE 5.0; Windows NT 6.2; Trident /3.0)
fake.user_agent() # Mozilla/5.0 (Windows NT 6.0; en-US; rv:1.9.0.20) Gecko/201 3-10-15 14:33:29 Firefox/3.6.17
fake.chrome() # Mozilla/5.0 (Macintosh; PPC Mac OS X 10_6_5) AppleWebKit/5 331 (KHTML, like Gecko) Chrome/14.0.813.0 Safari/5331
fake.linux_processor() # x86_64
fake.mac_platform_token() # Macintosh; U; PPC Mac OS X 10_7_0
fake.safari() # Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_8_8 rv:2.0; it- IT) AppleWebKit/533.32.6 (KHTML, like Gecko) Version/4.0 S afari/533.32.6