Language la¶
faker.providers.address
¶
fake.longitude() # 127.749136
fake.building_number() # 8067
fake.street_address() # 90237 Gleason Plaza Suite 303
fake.postalcode_plus4() # 71721-2514
fake.city_prefix() # West
fake.military_ship() # USNS
fake.city() # McGlynnbury
fake.zipcode_plus4() # 02279-0900
fake.state_abbr() # DC
fake.latitude() # -64.913708
fake.street_suffix() # Summit
fake.city_suffix() # mouth
fake.military_dpo() # Unit 1372 Box 5734
fake.country() # Palau
fake.secondary_address() # Suite 728
fake.geo_coordinate(center=None, radius=0.001) # -89.162169
fake.postalcode() # 58302
fake.address() # 9439 Sal Estate Suite 282 North Delbertview, WY 39703
fake.state() # RhodeIsland
fake.military_state() # AE
fake.street_name() # Julianne Green
fake.zipcode() # 82116
fake.postcode() # 01325
fake.military_apo() # PSC 8902, Box 0594
faker.providers.barcode
¶
fake.ean(length=13) # 2312496137527
fake.ean13() # 2506768886552
fake.ean8() # 42259480
faker.providers.color
¶
fake.rgb_css_color() # rgb(227,173,70)
fake.color_name() # Yellow
fake.rgb_color_list() # (225, 121, 0)
fake.rgb_color() # 192,62,22
fake.safe_hex_color() # #55aa00
fake.safe_color_name() # silver
fake.hex_color() # #954ed1
faker.providers.company
¶
fake.company() # Boehm-Carroll
fake.company_suffix() # Group
fake.catch_phrase() # Open-architected content-based strategy
fake.bs() # revolutionize scalable e-markets
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None) # 528
fake.credit_card_full(card_type=None, validate=False, max_check=10) # Discover Nell Funk 6011309079505680 04/22 CVC: 276
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y") # 09/24
fake.credit_card_number(card_type=None, validate=False, max_check=10) # 6011423273223378
fake.credit_card_provider(card_type=None) # JCB 16 digit
faker.providers.currency
¶
fake.currency_code() # SDG
faker.providers.date_time
¶
fake.date_time_ad() # 0098-02-26 10:32:12
fake.month() # 08
fake.am_pm() # PM
fake.iso8601() # 2009-02-13T19:50:59
fake.date_time_this_century() # 2015-03-31 00:24:35
fake.date_time() # 1987-01-02 11:41:22
fake.month_name() # November
fake.date_time_this_month() # 2016-03-11 01:07:04
fake.date_time_this_decade() # 2012-06-15 13:51:41
fake.day_of_week() # Monday
fake.day_of_month() # 14
fake.time(pattern="%H:%M:%S") # 08:56:11
fake.date_time_between(start_date="-30y", end_date="now") # 2011-12-01 22:56:00
fake.unix_time() # 1143723198
fake.date_time_this_year() # 2016-03-14 08:21:46
fake.timezone() # America/La_Paz
fake.century() # XVII
fake.date(pattern="%Y-%m-%d") # 2002-02-23
fake.year() # 2015
faker.providers.file
¶
fake.mime_type(category=None) # message/imdn+xml
faker.providers.internet
¶
fake.ipv4() # 63.62.244.119
fake.url() # http://lindgren.net/
fake.company_email() # fronia.kiehn@adamsbednar.com
fake.uri() # http://swift.net/explore/category.htm
fake.domain_word(*args, **kwargs) # zboncak
fake.image_url(width=None, height=None) # http://dummyimage.com/858x63
fake.tld() # biz
fake.free_email() # fadel.madeline@hotmail.com
fake.slug(*args, **kwargs) # sed-a-sapiente
fake.free_email_domain() # hotmail.com
fake.domain_name() # batzstehr.com
fake.uri_extension() # .htm
fake.ipv6() # 2c0c:4a4a:1665:7ba8:1a8e:87be:a6ab:2d87
fake.safe_email() # james.hodkiewicz@example.net
fake.user_name(*args, **kwargs) # jlang
fake.uri_path(deep=None) # categories/category/tags
fake.email() # cronin.antonio@gmail.com
fake.uri_page() # home
fake.mac_address() # d6:cd:e5:1a:2d:41
faker.providers.job
¶
fake.job() # Scientist, marine
faker.providers.lorem
¶
fake.text(max_nb_chars=200) # Deserunt eius accusantium aperiam. Aut quis molestiae quis ipsam quis rerum autem corrupti. Tempore itaque similique esse aut at enim vitae.
fake.sentence(nb_words=6, variable_nb_words=True) # Maiores quia et voluptatem consequatur libero ut quis.
fake.word() # voluptatem
fake.paragraphs(nb=3) # [u'Tempora nisi quos tempora commodi. A assumenda dolor qu am dolorum repellendus odio. Ab laboriosam voluptas nihil odio. Sit sit molestias deserunt ea.', u'Dolorum repudiand ae tempore quis ea deserunt atque. Culpa exercitationem do lor quidem maxime perferendis nihil possimus qui. Et adipi sci at nemo et non.', u'Voluptatibus molestiae ullam ipsum maiores qui consequatur. Est qui animi rerum sed dolor do lorum quod. Quos doloribus consequatur minima accusantium iste voluptas. Animi ut odit accusantium aut repellat sequ i et.']
fake.words(nb=3) # [u'repellat', u'magni', u'labore']
fake.paragraph(nb_sentences=3, variable_nb_sentences=True) # Nobis aut vero et tempore velit voluptates. Qui dolores do loremque dolor deserunt aperiam dolores.
fake.sentences(nb=3) # [u'Saepe vero consequatur officiis delectus est aut.', u'V eritatis nostrum fugit aspernatur provident sit.', u'Et au t voluptates voluptas distinctio.']
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True) # ylW+&TrmHf
fake.locale() # de_NG
fake.md5(raw_output=False) # 507a872d47b7c114c9e66e2ebea09b71
fake.sha1(raw_output=False) # 602b3e73fb12dab08fef8aaef486299076da1b7d
fake.null_boolean() # None
fake.sha256(raw_output=False) # 2bee501881816d472ed8b3b0a19fa3529e3bdd057dfbb359a650edf744 ad436a
fake.country_code() # CR
fake.language_code() # de
fake.boolean(chance_of_getting_true=50) # True
faker.providers.person
¶
fake.last_name_male() # Leannon
fake.name_female() # Anneliese Kuhlman
fake.prefix_male() # Dr.
fake.prefix() # (u'Mr.', u'Dr.')
fake.name() # Dorian Volkman
fake.suffix_female() # DDS
fake.name_male() # Kerry Gleichner DDS
fake.first_name() # Ignatz
fake.suffix_male() # PhD
fake.suffix() # (u'MD', u'DDS', u'PhD', u'DVM')
fake.first_name_male() # Armstead
fake.first_name_female() # Elzada
fake.last_name_female() # Johns
fake.last_name() # Stroman
fake.prefix_female() # Ms.
faker.providers.profile
¶
fake.profile(fields=[]) # {'website': [u'http://ornvolkman.com/', u'http://barton.bi z/'], 'username': u'okuneva.jammie', 'name': u'Sandi Hodki ewicz', 'blood_group': 'B+', 'residence': u'5286 Conroy Pl ace\nLake Ivy, MD 25019', 'company': u'Howell, VonRueden a nd Harber', 'address': u'2081 Herbert Cliff\nPort Lindsayb ury, TN 02540', 'birthdate': '1979-08-08', 'sex': 'M', 'jo b': 'Engineer, manufacturing', 'ssn': u'119-15-3940', 'cur rent_location': (Decimal('38.269410'), Decimal('24.025905' )), 'mail': u'karyl24@gmail.com'}
fake.simple_profile() # {'username': u'kihn.laurence', 'name': u'Latasha Considine DDS', 'birthdate': '1998-03-26', 'sex': 'F', 'address': u '5841 Sauer Brooks Apt. 744\nNorth Jamarionville, AL 77357 ', 'mail': u'jabernathy@hotmail.com'}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types) # set([9025, u'http://lakin.com/author.htm', u'http://www.sh ields.com/author/', 1637, u'Enim totam vitae.', u'http://w ww.schustercronin.com/', u'Incidunt et nam.', datetime(201 0, 8, 2, 12, 46, 57), Decimal('85332.5733328'), u'Vel veli t.', Decimal('-50274.0'), Decimal('-9.08468970412E+12')])
fake.pystr(max_chars=20) # Amet quo sunt ea.
fake.pyfloat(left_digits=None, right_digits=None, positive=False) # 68007451005.0
fake.pystruct(count=10, *value_types) # ([datetime(1991, 10, 11, 10, 56, 39), datetime(1996, 1, 9, 19, 18), u'retha.hickle@yahoo.com', 8790, u'cinda.glover@ hotmail.com', u'Consequatur et odio.', u'http://toybergnau m.net/', 5282, u'stefan.stokes@hotmail.com', u'Temporibus atque.'], {u'officia': 9214, u'eveniet': u'Numquam.', u'di gnissimos': u'Molestiae voluptas.', u'rerum': 2783, u'aut' : u'http://bernhardschultz.net/register.html', u'et': 6925 6061889466.0, u'ducimus': 3326643670576.0, u'vel': u'Ipsum dolor vel.', u'recusandae': u'http://brakusheller.org/pos ts/app/login/'}, {u'non': {9: u'Ducimus amet.', 10: [u'kay den.marvin@hotmail.com', u'Alias quo ex autem.', datetime( 2009, 4, 17, 4, 29, 1)], 11: {9: 4077, 10: u'Fuga quae ex. ', 11: [u'http://torphy.org/categories/categories/homepage .jsp', u'Voluptas quos natus.']}}, u'sit': {0: u'http://co nnhodkiewicz.com/posts/terms/', 1: [u'lannie50@wilkinson.c om', u'littie.daugherty@yahoo.com', u'http://lubowitz.info /'], 2: {0: u'Earum doloremque.', 1: 7878, 2: [u'http://ww w.hoppe.com/app/search/tag/search/', u'Molestiae dicta.']} }, u'optio': {5: Decimal('-3156.5505602'), 6: [u'Ea ipsam optio.', u'Rerum modi non in.', u'Facilis quia.'], 7: {5: u'Maiores numquam in.', 6: u'Voluptatem.', 7: [-39300.6, u 'Possimus possimus.']}}, u'voluptatem': {8: {8: [2131, u'A ccusantium dicta.'], 6: datetime(1991, 5, 2, 12, 32, 24), 7: u'Est aperiam.'}, 6: 3799, 7: [u'Asperiores illum.', -6 742135329.56, u'Quam et vero fugit.']}, u'perferendis': {2 : u'Deleniti ea quaerat.', 3: [u'http://www.oberbrunnernad er.info/app/search.php', 6307, 2162], 4: {2: u'Et fugit ad ducimus.', 3: u'Voluptatem.', 4: [u'Fugit itaque.', 64322 439.665]}}, u'voluptate': {8: datetime(2000, 1, 14, 22, 28 , 43), 9: [u'Fuga ratione sint.', 70183.866925, u'http://w ww.crist.com/category/'], 10: {8: u'Et itaque minus aut.', 9: u'eli44@donnelly.info', 10: [u'Enim eum porro.', 7973] }}, u'rem': {3: datetime(2012, 2, 20, 20, 6, 2), 4: [-9214 7.71741, u'dgutmann@durganbins.com', u'Ut mollitia minus.' ], 5: {3: u'Culpa dolore.', 4: u'Et ipsam quia et.', 5: [u 'Officia non.', u'Quia sit sed sequi.']}}, u'qui': {4: 722 4, 5: [u'Tempore dolores.', Decimal('15805108.8'), u'Deser unt sunt.'], 6: {4: 1816, 5: u'http://www.damore.com/tag/w p-content/login.php', 6: [u'http://www.flatley.com/search/ tags/wp-content/index.asp', u'Temporibus autem.']}}, u'et' : {1: Decimal('-1.8'), 2: [511, -5534591.0, 1618], 3: {1: u'http://www.spencer.com/index/', 2: u'http://www.casperle bsack.com/privacy/', 3: [u'Dolorum omnis.', 8531]}}, u'nob is': {8: [Decimal('1.28067676812E+13'), 282981498.8, u'Arc hitecto.'], 9: {8: u'Ut numquam saepe.', 9: [2732, 885693. 241], 7: u'Autem velit.'}, 7: -4665.68617413362}})
fake.pydecimal(left_digits=None, right_digits=None, positive=False) # -231155693.12
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types) # [u'Facere cupiditate.', u'Et iste ut aut.', u'Et molestiae quo.', u'Qui earum quasi.', u'amarion61@bechtelar.com', u 'http://hahn.org/categories/posts/search/post.html', -6013 8.6, u'Voluptatem totam.', datetime(1974, 12, 19, 5, 47, 3 6), u'Ratione ut.', Decimal('54852.7862018')]
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types) # (Decimal('99540723.7926'), datetime(2002, 8, 17, 8, 7, 6), u'Quae quo harum ea.', u'Sapiente iusto aut.', Decimal('1 .66379712728'), u'Maxime voluptate.', u'Quis repudiandae.' , 4218717933242.0, u'Doloribus et.', u'Praesentium.', u'Fu git assumenda.', datetime(1976, 10, 28, 21, 51, 45), u'Asp eriores sed.')
fake.pybool() # False
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types) # set([u'Quo blanditiis.', u'http://block.net/', 1955, Decim al('-20025.3871001'), u'Et dolorem quod est.', u'Nihil qui a fugit.', u'http://www.russelwolff.com/posts/category/mai n/homepage.html', u'Odit sint quas.', 2703, 4146.0, u'Aper iam eligendi.', u'http://lindgren.com/category/terms/', u' Sit debitis.'])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types) # {u'eum': u'http://www.kozeyklein.biz/', u'eos': u'Architec to vero.', u'quidem': 974942005.98, u'culpa': u'Voluptatem aut.', u'dignissimos': u'Qui facilis ut.', u'ex': u'Disti nctio unde sed.', u'cumque': u'Nostrum itaque quis.', u'su nt': 9832, u'et': u'Laudantium fuga.', u'laudantium': 6409 71493818.0, u'officiis': u'Iure quos impedit.', u'itaque': u'Necessitatibus.', u'laboriosam': 3960}
fake.pyint() # 9666
faker.providers.phone_number
¶
fake.phone_number() # 650.183.1799x414
faker.providers.ssn
¶
fake.ssn() # 462-71-2899
faker.providers.user_agent
¶
fake.mac_processor() # U; Intel
fake.firefox() # Mozilla/5.0 (Windows 95; en-US; rv:1.9.0.20) Gecko/2012-07 -12 22:42:04 Firefox/8.0
fake.linux_platform_token() # X11; Linux i686
fake.opera() # Opera/8.82.(X11; Linux x86_64; en-US) Presto/2.9.181 Versi on/11.00
fake.windows_platform_token() # Windows NT 5.2
fake.internet_explorer() # Mozilla/5.0 (compatible; MSIE 7.0; Windows CE; Trident/4.1 )
fake.user_agent() # Mozilla/5.0 (X11; Linux x86_64; rv:1.9.5.20) Gecko/2015-09 -11 08:42:40 Firefox/12.0
fake.chrome() # Mozilla/5.0 (X11; Linux i686) AppleWebKit/5332 (KHTML, lik e Gecko) Chrome/13.0.869.0 Safari/5332
fake.linux_processor() # x86_64
fake.mac_platform_token() # Macintosh; Intel Mac OS X 10_8_0
fake.safari() # Mozilla/5.0 (Macintosh; Intel Mac OS X 10_5_8 rv:3.0; it-I T) AppleWebKit/533.44.2 (KHTML, like Gecko) Version/4.0 Sa fari/533.44.2