Locale hy_AM¶
faker.providers.address
¶
-
class
faker.providers.address.hy_AM.
Provider
(generator)¶ Bases:
faker.providers.address.Provider
-
address
()¶ :example ‘791 Crist Parks, Sashabury, IL 86039-9874’
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.address() ... 'գ. Քարակերտ, Արմավիրի մարզ, 4180, Սասունցի Դավթի 7' 'ք. Արտաշատ, Ամիրյան 4, բն. 89' 'գ. Նահապետավան, Տավուշի մարզ, 2904, Աթենքի 93' 'գ. Սևաժայռ, Արմավիրի մարզ, 0315, Սոսեի 097' 'գ. Նահապետավան, Սյունիքի մարզ, 0715, Հին Երևանցու 2'
-
building_number
()¶ :example ‘791’
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.building_number() ... '604' '764' '593' '42' '948'
-
city
()¶ :example ‘Բյուրեղավան’
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.city() ... 'Ստեփանավան' 'Չարենցավան' 'Երևան' 'Բյուրեղավան' 'Ծաղկաձոր'
-
city_prefix
()¶ :example ‘ք.’
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.city_prefix() ... 'ք.' 'ք.' 'ք.' 'ք.' 'ք.'
-
city_suffix
()¶ :example ‘town’
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.city_suffix() ... '' '' '' '' ''
-
country
()¶ Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.country() ... 'Հարավային Աֆրիկա' 'Ռուանդա' 'Իրան' 'Եգիպտոս' 'Լիբիական Արաբական Ջամահիրիա'
-
country_code
(representation='alpha-2')¶ Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.country_code() ... 'ZW' 'TO' 'LB' 'FI' 'MV'
-
postcode
()¶ :example ‘3159’
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.postcode() ... '3355' '3645' '0531' '2321' '4180'
-
postcode_in_state
(state_abbr=None)¶ :example ‘4703’
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.postcode_in_state() ... '3815' '0461' '2170' '3355' '4083'
-
secondary_address
()¶ :example ‘բն. 49’
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.secondary_address() ... 'բն. 60' 'բն. 8' 'բն. 47' 'բն. 38' 'բն. 2'
-
state
()¶ :example ‘Կոտայք’
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.state() ... 'Տավուշ' 'Սյունիք' 'Լոռի' 'Արմավիր' 'Կոտայք'
-
state_abbr
()¶ :example ‘ՎՁ’
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.state_abbr() ... 'ՎՁ' 'ՍՅ' 'ԼՌ' 'ԱՄ' 'ԿՏ'
-
street
()¶ :example ‘Ոսկերիչների’
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.street() ... 'Սուվորովի' 'Պրահայի' 'Լեոնիդ Ազգալդյան' 'Գյուլբենկյան' 'Կորի'
-
street_address
()¶ :example ‘791 Crist Parks’
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.street_address() ... 'Լեոնիդ Ազգալդյան 8' 'Սիսվանի 593' 'Պրահայի 48' 'Վերֆելի 1' 'Ծատուրյան 6'
-
street_name
()¶ :example ‘Crist Parks’
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.street_name() ... 'Պրահայի' 'Գյուլբենկյան' 'Լենինգրադյան' 'Դեղատան' 'Հրանտ Շահինյան'
-
street_prefix
()¶ :example ‘փողոց’
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.street_prefix() ... 'պողոտա' 'պողոտա' 'փողոց' 'փողոց' 'պողոտա'
-
street_suffix
()¶ :example ‘Avenue’
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.street_suffix() ... '' '' '' '' ''
-
village
()¶ :example ‘Ոսկեվազ’
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.village() ... 'Սառնակունք' 'Քարաբերդ' 'Քարակերտ' 'Լանջանիստ' 'Շատջրեք'
-
village_prefix
()¶ :example ‘գ.’
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.village_prefix() ... 'գ.' 'գ.' 'գ.' 'գ.' 'գ.'
-
faker.providers.color
¶
-
class
faker.providers.color.hy_AM.
Provider
(generator)¶ Bases:
faker.providers.color.Provider
-
color
(hue=None, luminosity=None, color_format='hex')¶ Generate random color in the specified
color_format
for the givenhue
andluminosity
.Under the hood, this method first creates a color represented in the HSV color model and then converts it to the desired
color_format
. The argumenthue
controls the H value according to the following rules:- If the value is a number from
0
to360
, it will serve as the H value of the generated color. - If the value is a tuple/list of 2 numbers from 0 to 360, the color’s H value will be randomly selected from that range.
- If the value is a valid string, the color’s H value will be randomly selected from the H range
corresponding to the supplied string. Valid values are
'monochrome'
,'red'
,'orange'
,'yellow'
,'green'
,'blue'
,'purple'
, and'pink'
.
The argument
luminosity
influences both S and V values and is partially affected byhue
as well. The finer details of this relationship are somewhat involved, so please refer to the source code instead if you wish to dig deeper. To keep the interface simple, this argument either can be omitted or can accept the following string values:'bright'
,'dark'
,'light'
, or'random'
.The argument
color_format
controls in which color model the color is represented. Valid values are'hsv'
,'hsl'
,'rgb'
, or'hex'
(default).Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.color(hue='red') ... '#af2f33' '#e02141' '#ef6466' '#a80a14' '#ed9e95'
>>> Faker.seed(0) >>> for _ in range(5): ... fake.color(luminosity='light') ... '#79c3e0' '#89ffa1' '#96cbf7' '#aafaff' '#e3f495'
>>> Faker.seed(0) >>> for _ in range(5): ... fake.color(hue=(100, 200), color_format='rgb') ... 'rgb(26, 155, 88)' 'rgb(9, 193, 49)' 'rgb(73, 229, 154)' 'rgb(107, 249, 166)' 'rgb(76, 204, 69)'
>>> Faker.seed(0) >>> for _ in range(5): ... fake.color(hue='orange', luminosity='bright') ... '#efc332' '#edae65' '#d1861d' '#ffcc42' '#e09533'
>>> Faker.seed(0) >>> for _ in range(5): ... fake.color(hue=135, luminosity='dark', color_format='hsv') ... 'hsv(135, 96, 45)' 'hsv(135, 98, 57)' 'hsv(135, 94, 61)' 'hsv(135, 99, 47)' 'hsv(135, 94, 50)'
>>> Faker.seed(0) >>> for _ in range(5): ... fake.color(hue=(300, 20), luminosity='random', color_format='hsl') ... 'hsl(217, 94, 27)' 'hsl(40, 23, 54)' 'hsl(268, 100, 74)' 'hsl(175, 43, 31)' 'hsl(131, 47, 11)'
- If the value is a number from
-
color_name
()¶ Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.color_name() ... 'Շագանակագույն' 'Մուգ նարնջագույն' 'Կանաչադեղին' 'Դոդջերս կապույտ' 'Կորալ'
-
hex_color
()¶ Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.hex_color() ... '#d82c08' '#629f70' '#c2094d' '#e3e707' '#6baa95'
-
rgb_color
()¶ Generate random color formatted as comma-separated RGB value
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.rgb_color() ... '197,215,20' '132,248,207' '155,244,183' '111,71,144' '71,48,128'
-
rgb_css_color
()¶ Generate random color formatted as a CSS rgb() function
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.rgb_css_color() ... 'rgb(197,215,20)' 'rgb(132,248,207)' 'rgb(155,244,183)' 'rgb(111,71,144)' 'rgb(71,48,128)'
-
safe_color_name
()¶ Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.safe_color_name() ... 'վառ մանուշակագույն' 'դեղին' 'մուգ կապտականաչ' 'նավատորմի կապույտ' 'լայմ'
-
safe_hex_color
()¶ Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.safe_hex_color() ... '#cc5500' '#dd7700' '#114400' '#884400' '#ff8800'
-
faker.providers.company
¶
-
class
faker.providers.company.hy_AM.
Provider
(generator)¶ Bases:
faker.providers.company.Provider
-
bs
()¶ :example ‘integrate extensible convergence’
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.bs() ... 'հեղափոխականացնել հաջորդ սերնդի հարաբերություններ' 'կազմակերպել արդյունավետ հարաբերություններ' 'ընդլայնել էլեկտրոնային կառուցվածքներ' 'առաքել ամբողջական ինտերֆեյսներ' 'նախագծել հաջորդ սերնդի մոդելներ'
-
catch_phrase
()¶ :example ‘Robust full-range hub’
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.catch_phrase() ... 'անխափան ռեգիոնալ գործառույթ' 'բացառիկ առաջատար ֆունկցիա' 'իրականացված դիսկրետ հանգույց' 'կազմակերպված երրորդական նախաձեռնություն' 'երկարացված ռեգիոնալ մատրիցա'
-
company
()¶ :example ‘Acme Ltd’
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.company() ... 'Շագոյան և Զազյան ՀՁԼալայան, Ենգոյան և Չալոյան ՀՁ' '{{last_name} ԲԲԸ' 'Իսահակյան և Բաբալյան ԳրուպՀովհաննիսյան, Անանյան և Տեր-Հովհաննիսյան Հոլդինգ' 'Վրացյան և Բեկյան ԳրուպՎարպետյան, Մանվելյան և Թովմասյան ՍՊԸ' '{{last_name} ԲԲԸ'
-
company_suffix
()¶ :example ‘Ltd’
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.company_suffix() ... 'Հոլդինգ' 'Գրուպ' 'ՓԲԸ' 'ՀՁ' 'ԲԲԸ'
-
faker.providers.date_time
¶
-
class
faker.providers.date_time.hy_AM.
Provider
(generator)¶ Bases:
faker.providers.date_time.Provider
-
am_pm
()¶ Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.am_pm() ... 'AM' 'AM' 'AM' 'AM' 'PM'
-
century
()¶ :example ‘XVII’
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.century() ... 'XVIII' 'XVI' 'IX' 'VI' 'XI'
-
date
(pattern='%Y-%m-%d', end_datetime=None)¶ Get a date string between January 1, 1970 and now :param pattern format :example ‘2008-11-27’
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.date() ... '1996-03-20' '1998-08-15' '1972-10-03' '1987-08-15' '2004-10-16'
-
date_between
(start_date='-30y', end_date='today')¶ Get a Date object based on a random date between two given dates. Accepts date strings that can be recognized by strtotime().
:param start_date Defaults to 30 years ago :param end_date Defaults to “today” :example Date(‘1999-02-02’) :return Date
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.date_between() ... 2018-12-18 2003-05-04 2016-01-08 2004-07-16 1991-08-11
-
date_between_dates
(date_start=None, date_end=None)¶ Takes two Date objects and returns a random date between the two given dates. Accepts Date or Datetime objects
Parameters: - date_start – Date
- date_end – Date
:return Date
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.date_between_dates() ... 2020-03-26 2020-03-26 2020-03-26 2020-03-26 2020-03-26
-
date_object
(end_datetime=None)¶ Get a date object between January 1, 1970 and now :example datetime.date(2016, 9, 20)
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.date_object() ... 1996-03-20 1998-08-15 1972-10-03 1987-08-15 2004-10-16
-
date_of_birth
(tzinfo=None, minimum_age=0, maximum_age=115)¶ Generate a random date of birth represented as a Date object, constrained by optional miminimum_age and maximum_age parameters.
:param tzinfo Defaults to None. :param minimum_age Defaults to 0. :param maximum_age Defaults to 115.
:example Date(‘1979-02-02’) :return Date
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.date_of_birth() ... 2019-02-27 1956-08-30 2007-05-23 1961-06-21 1909-09-28
-
date_this_century
(before_today=True, after_today=False)¶ Gets a Date object for the current century.
Parameters: - before_today – include days in current century before today
- after_today – include days in current century after today
:example Date(‘2012-04-04’) :return Date
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.date_this_century() ... 2013-02-08 2014-04-23 2001-05-18 2008-10-22 2017-05-24
-
date_this_decade
(before_today=True, after_today=False)¶ Gets a Date object for the decade year.
Parameters: - before_today – include days in current decade before today
- after_today – include days in current decade after today
:example Date(‘2012-04-04’) :return Date
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.date_this_decade() ... 2020-03-22 2020-02-07 2020-03-14 2020-02-10 2020-01-04
-
date_this_month
(before_today=True, after_today=False)¶ Gets a Date object for the current month.
Parameters: - before_today – include days in current month before today
- after_today – include days in current month after today
- tzinfo – timezone, instance of datetime.tzinfo subclass
:example DateTime(‘2012-04-04 11:02:02’) :return DateTime
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.date_this_month() ... 2020-03-19 2020-03-21 2020-03-02 2020-03-13 2020-03-25
-
date_this_year
(before_today=True, after_today=False)¶ Gets a Date object for the current year.
Parameters: - before_today – include days in current year before today
- after_today – include days in current year after today
:example Date(‘2012-04-04’) :return Date
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.date_this_year() ... 2020-03-22 2020-02-07 2020-03-14 2020-02-10 2020-01-04
-
date_time
(tzinfo=None, end_datetime=None)¶ Get a datetime object for a date between January 1, 1970 and now :param tzinfo: timezone, instance of datetime.tzinfo subclass :example DateTime(‘2005-08-16 20:39:21’) :return datetime
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.date_time() ... 1996-03-20 07:46:39 1998-08-15 08:43:22 1972-10-03 05:52:26 1987-08-15 09:51:25 2004-10-16 19:14:57
-
date_time_ad
(tzinfo=None, end_datetime=None, start_datetime=None)¶ Get a datetime object for a date between January 1, 001 and now :param tzinfo: timezone, instance of datetime.tzinfo subclass :example DateTime(‘1265-03-22 21:15:52’) :return datetime
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.date_time_ad() ... 0932-07-17 01:20:13 2009-08-03 21:25:00 0058-03-29 17:26:45 1023-04-21 11:47:46 1961-07-18 03:50:16
-
date_time_between
(start_date='-30y', end_date='now', tzinfo=None)¶ Get a DateTime object based on a random date between two given dates. Accepts date strings that can be recognized by strtotime().
:param start_date Defaults to 30 years ago :param end_date Defaults to “now” :param tzinfo: timezone, instance of datetime.tzinfo subclass :example DateTime(‘1999-02-02 11:42:52’) :return DateTime
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.date_time_between() ... 2018-12-19 11:58:40 2003-05-06 01:14:20 2016-01-09 22:03:20 2004-07-18 01:42:42 1991-08-12 12:17:14
-
date_time_between_dates
(datetime_start=None, datetime_end=None, tzinfo=None)¶ Takes two DateTime objects and returns a random datetime between the two given datetimes. Accepts DateTime objects.
Parameters: - datetime_start – DateTime
- datetime_end – DateTime
- tzinfo – timezone, instance of datetime.tzinfo subclass
:example DateTime(‘1999-02-02 11:42:52’) :return DateTime
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.date_time_between_dates() ... 2020-03-26 14:09:01 2020-03-26 14:09:01 2020-03-26 14:09:01 2020-03-26 14:09:01 2020-03-26 14:09:01
-
date_time_this_century
(before_now=True, after_now=False, tzinfo=None)¶ Gets a DateTime object for the current century.
Parameters: - before_now – include days in current century before today
- after_now – include days in current century after today
- tzinfo – timezone, instance of datetime.tzinfo subclass
:example DateTime(‘2012-04-04 11:02:02’) :return DateTime
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.date_time_this_century() ... 2013-02-08 15:53:19 2014-04-23 16:21:41 2001-05-18 02:56:13 2008-10-22 16:55:42 2017-05-24 21:37:28
-
date_time_this_decade
(before_now=True, after_now=False, tzinfo=None)¶ Gets a DateTime object for the decade year.
Parameters: - before_now – include days in current decade before today
- after_now – include days in current decade after today
- tzinfo – timezone, instance of datetime.tzinfo subclass
:example DateTime(‘2012-04-04 11:02:02’) :return DateTime
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.date_time_this_decade() ... 2020-03-22 23:38:43 2020-02-07 09:41:11 2020-03-14 14:09:42 2020-02-10 20:00:10 2020-01-04 22:20:07
-
date_time_this_month
(before_now=True, after_now=False, tzinfo=None)¶ Gets a DateTime object for the current month.
Parameters: - before_now – include days in current month before today
- after_now – include days in current month after today
- tzinfo – timezone, instance of datetime.tzinfo subclass
:example DateTime(‘2012-04-04 11:02:02’) :return DateTime
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.date_time_this_month() ... 2020-03-19 16:50:35 2020-03-21 10:00:05 2020-03-02 23:10:03 2020-03-13 13:39:35 2020-03-25 19:40:41
-
date_time_this_year
(before_now=True, after_now=False, tzinfo=None)¶ Gets a DateTime object for the current year.
Parameters: - before_now – include days in current year before today
- after_now – include days in current year after today
- tzinfo – timezone, instance of datetime.tzinfo subclass
:example DateTime(‘2012-04-04 11:02:02’) :return DateTime
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.date_time_this_year() ... 2020-03-22 23:38:43 2020-02-07 09:41:11 2020-03-14 14:09:42 2020-02-10 20:00:10 2020-01-04 22:20:07
-
day_of_month
()¶ Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.day_of_month() ... '20' '15' '03' '15' '16'
-
day_of_week
()¶ Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.day_of_week() ... 'Չորեքշաբթի' 'Շաբաթ' 'Երեքշաբթի' 'Շաբաթ' 'Շաբաթ'
-
future_date
(end_date='+30d', tzinfo=None)¶ Get a Date object based on a random date between 1 day from now and a given date. Accepts date strings that can be recognized by strtotime().
:param end_date Defaults to “+30d” :param tzinfo: timezone, instance of datetime.tzinfo subclass :example DateTime(‘1999-02-02 11:42:52’) :return DateTime
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.future_date() ... 2020-04-14 2020-04-16 2020-03-28 2020-04-08 2020-04-20
-
future_datetime
(end_date='+30d', tzinfo=None)¶ Get a DateTime object based on a random date between 1 second form now and a given date. Accepts date strings that can be recognized by strtotime().
:param end_date Defaults to “+30d” :param tzinfo: timezone, instance of datetime.tzinfo subclass :example DateTime(‘1999-02-02 11:42:52’) :return DateTime
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.future_datetime() ... 2020-04-14 06:59:37 2020-04-16 00:09:07 2020-03-28 13:19:05 2020-04-08 03:48:37 2020-04-20 09:49:43
-
iso8601
(tzinfo=None, end_datetime=None)¶ Parameters: tzinfo – timezone, instance of datetime.tzinfo subclass :example ‘2003-10-21T16:05:52+0000’
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.iso8601() ... '1996-03-20T07:46:39' '1998-08-15T08:43:22' '1972-10-03T05:52:26' '1987-08-15T09:51:25' '2004-10-16T19:14:57'
-
month
()¶ Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.month() ... '03' '08' '10' '08' '10'
-
month_name
()¶ Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.month_name() ... 'Մարտ' 'Օգոստոս' 'Հոկտեմբեր' 'Օգոստոս' 'Հոկտեմբեր'
-
past_date
(start_date='-30d', tzinfo=None)¶ Get a Date object based on a random date between a given date and 1 day ago. Accepts date strings that can be recognized by strtotime().
:param start_date Defaults to “-30d” :param tzinfo: timezone, instance of datetime.tzinfo subclass :example DateTime(‘1999-02-02 11:42:52’) :return DateTime
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.past_date() ... 2020-03-14 2020-03-16 2020-02-26 2020-03-08 2020-03-20
-
past_datetime
(start_date='-30d', tzinfo=None)¶ Get a DateTime object based on a random date between a given date and 1 second ago. Accepts date strings that can be recognized by strtotime().
:param start_date Defaults to “-30d” :param tzinfo: timezone, instance of datetime.tzinfo subclass :example DateTime(‘1999-02-02 11:42:52’) :return DateTime
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.past_datetime() ... 2020-03-15 06:59:36 2020-03-17 00:09:06 2020-02-27 13:19:04 2020-03-09 03:48:36 2020-03-21 09:49:42
-
time
(pattern='%H:%M:%S', end_datetime=None)¶ Get a time string (24h format by default) :param pattern format :example ‘15:02:34’
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.time() ... '07:46:39' '08:43:22' '05:52:26' '09:51:25' '19:14:57'
-
time_delta
(end_datetime=None)¶ Get a timedelta object
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.time_delta() ... 0:00:00 0:00:00 0:00:00 0:00:00 0:00:00
-
time_object
(end_datetime=None)¶ Get a time object :example datetime.time(15, 56, 56, 772876)
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.time_object() ... 07:46:39 08:43:22 05:52:26 09:51:25 19:14:57
-
time_series
(start_date='-30d', end_date='now', precision=None, distrib=None, tzinfo=None)¶ Returns a generator yielding tuples of
(<datetime>, <value>)
.The data points will start at
start_date
, and be at every time interval specified byprecision
.distrib
is a callable that accepts<datetime>
and returns<value>
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.time_series() ... <generator object Provider.time_series at 0x7fdbfba55b10> <generator object Provider.time_series at 0x7fdbfba55b10> <generator object Provider.time_series at 0x7fdbfba55b10> <generator object Provider.time_series at 0x7fdbfba55b10> <generator object Provider.time_series at 0x7fdbfba55b10>
-
timezone
()¶ Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.timezone() ... 'Africa/Harare' 'Europe/Vienna' 'Asia/Pyongyang' 'Africa/Johannesburg' 'Asia/Muscat'
-
unix_time
(end_datetime=None, start_datetime=None)¶ Get a timestamp between January 1, 1970 and now, unless passed explicit start_datetime or end_datetime values. :example 1061306726
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.unix_time() ... 827307999 903170602 86939546 556019485 1097954097
-
year
()¶ Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.year() ... '1996' '1998' '1972' '1987' '2004'
-
faker.providers.job
¶
-
class
faker.providers.job.hy_AM.
Provider
(generator)¶ Bases:
faker.providers.job.Provider
-
job
()¶ Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.job() ... 'Ծրագրավորող' 'Ակնաբույժ' 'Էրգոնոմիստ' 'Հաճախորդների սպասարկման կառավարիչ' 'Առողջապահության և անվտանգության տեսուչ'
-
faker.providers.lorem
¶
-
class
faker.providers.lorem.hy_AM.
Provider
(generator)¶ Bases:
faker.providers.lorem.Provider
-
paragraph
(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)¶ Returns: A single paragraph. For example: ‘Sapiente sunt omnis. Ut pariatur ad autem ducimus et. Voluptas rem voluptas sint modi dolorem amet.’ Keyword arguments: :param nb_sentences: around how many sentences the paragraph should contain :param variable_nb_sentences: set to false if you want exactly
nb
sentences returned, otherwise the result may include a number of sentences ofnb
+/-40% (with a minimum of 1)Parameters: ext_word_list – a list of words you would like to have instead of ‘Lorem ipsum’. Return type: str Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.paragraph() ... 'Այստեղ բութ ծիծաղել լիքը հուր հարթ. Փորել տաք գիտենալ ծաղիկ գետ կանգնել. Մոտ մեռնել խաղալ գալ հաստ.' 'Օր կապել ործկալ այլ. Ոսկոր բռնել մայր խփել լյարդ քնել.' 'Լիքը որոշ մոխիր լողալ հող ընկնել նստել. Ճիճու ձու կարմիր երեխա բաժանել օձ.' 'Խմել բոլոր ճարպ մտածել լավ մեկ խփել. Որսալ ձյուն կռվել բութ.' 'Լողալ լյարդ քայլել լեզու քերծել խոտ երեխա. Այն ճիշտ պտուղ երբ. Կանաչ նոր վառվել օր. Կապել մոխիր քնել քնել օձ կենդանի նետել.'
-
paragraphs
(nb=3, ext_word_list=None)¶ Generate an array of paragraphs :example [paragraph1, paragraph2, paragraph3] :param nb: how many paragraphs to return :param ext_word_list: a list of words you would like to have instead of
‘Lorem ipsum’.Return type: list Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.paragraphs() ... ['Այստեղ բութ ծիծաղել լիքը հուր հարթ. Փորել տաք գիտենալ ծաղիկ գետ կանգնել. Մոտ մեռնել խաղալ գալ հաստ.', 'Օր կապել ործկալ այլ. Ոսկոր բռնել մայր խփել լյարդ քնել.', 'Լիքը որոշ մոխիր լողալ հող ընկնել նստել. Ճիճու ձու կարմիր երեխա բաժանել օձ.'] ['Խմել բոլոր ճարպ մտածել լավ մեկ խփել. Որսալ ձյուն կռվել բութ.', 'Լողալ լյարդ քայլել լեզու քերծել խոտ երեխա. Այն ճիշտ պտուղ երբ. Կանաչ նոր վառվել օր. Կապել մոխիր քնել քնել օձ կենդանի նետել.', 'Արմատ տեսնել բռնել երգել ճիշտ ականջ ձու երկու. Տալ այրվել ճիճու արև երկու ձուկ մառախուղ եղջյուր. Այլ հաստ ասել այնտեղ.'] ['Գալ ինչպես չորս երեխա հուր երեք որոշ. Այն դուք սուր մարդ. Շնչել ուռել ուր նետել.', 'Շրջվել մոխիր երբ ինչպես կաշի կուրծք. Գիտենալ այստեղ այլ մոտ. Պտուղ տարի ործկալ տարի խոցել.', 'Հող փոքր կարճ ապրել. Քայլել լյարդ կին ործկալ.'] ['Կանաչ լիքը շփել եղունգ սրբել ծանր հաշվել. Աստղ պոզ այնտեղ կեղև ճիճու կլոր գլուխ. Հրել լողալ սև ճամփա մեծ.', 'Անձրև հուր բոլոր թռչել ասել կարճ. Պահել ատամ կանաչ խոցել փորոտիք.', 'Աղիք ձգել այնտեղ լյարդ պտուղ փոքր ապրել. Տաք գալ ես այստեղ ձու մոխիր ով. Երեխա աջ տալ բոլոր ուռել մոտ.'] ['Ոսկոր կենդանի հոսել ես ծուխ ապրել. Երեխա պառկել ամուսին կաշի. Այլ ճամփա ծունկ բոլոր.', 'Մշուշ երկու փայտ լվալ սառույց սեղմել երկու. Կեղև մենք այստեղ կապել.', 'Կեղտոտ վատ տաք այստեղ անձրև երգել. Լողալ տարի բռնել բերան սպանել հայր լողալ. Երկար տերև պոզ.']
-
sentence
(nb_words=6, variable_nb_words=True, ext_word_list=None)¶ Generate a random sentence :example ‘Lorem ipsum dolor sit amet.’
Parameters: - nb_words – around how many words the sentence should contain
- variable_nb_words – set to false if you want exactly
nb
words returned, otherwise the result may include a number of words ofnb
+/-40% (with a minimum of 1) - ext_word_list – a list of words you would like to have instead of ‘Lorem ipsum’.
Return type: str
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.sentence() ... 'Լիճ աղիք պտուղ մտածել թև փոշի.' 'Հարթ ականջ սև ձուկ երկար.' 'Գետ կանգնել անտառ տաք.' 'Տարի արյուն արև օր կապել ործկալ այլ կուրծք.' 'Բռնել մայր խփել լյարդ քնել ուր լիքը լիքը.'
-
sentences
(nb=3, ext_word_list=None)¶ Generate an array of sentences :example [‘Lorem ipsum dolor sit amet.’, ‘Consectetur adipisicing eli.’]
Keyword arguments: :param nb: how many sentences to return :param ext_word_list: a list of words you would like to have instead of
‘Lorem ipsum’.Return type: list Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.sentences() ... ['Լիճ աղիք պտուղ մտածել թև փոշի.', 'Հարթ ականջ սև ձուկ երկար.', 'Գետ կանգնել անտառ տաք.'] ['Տարի արյուն արև օր կապել ործկալ այլ կուրծք.', 'Բռնել մայր խփել լյարդ քնել ուր լիքը լիքը.', 'Սառչել ծունկ ծուխ քաշել.'] ['Նստել հուր եղջյուր.', 'Երգել ուր լիքը թռչուն երկինք լայն.', 'Խմել բոլոր ճարպ մտածել լավ մեկ խփել.'] ['Որսալ ձյուն կռվել բութ.', 'Որսալ խոտ որոշ մառախուղ ոսկոր ճիճու մարդ սառույց.', 'Նստել լվալ փչել.'] ['Նետել հինգ հաստ այստեղ.', 'Օր նոր կռվել ոտք.', 'Արմատ քամի այրվել գիշեր լողալ ուղիղ քորել.']
-
text
(max_nb_chars=200, ext_word_list=None)¶ Generate a text string. Depending on the ``max_nb_chars, returns a string made of words, sentences, or paragraphs. :example ‘Sapiente sunt omnis. Ut pariatur ad autem ducimus et. Voluptas rem voluptas sint modi dolorem amet.’
Keyword arguments: :param max_nb_chars: Maximum number of characters the text should contain (minimum 5) :param ext_word_list: a list of words you would like to have instead of ‘Lorem ipsum’.
:rtype str
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.text() ... 'Այստեղ բութ ծիծաղել լիքը հուր հարթ. Փորել տաք գիտենալ ծաղիկ գետ կանգնել. Մոտ մեռնել խաղալ գալ հաստ.\nՕր կապել ործկալ այլ. Ոսկոր բռնել մայր խփել լյարդ քնել.' 'Խմել բոլոր ճարպ մտածել լավ մեկ խփել. Որսալ ձյուն կռվել բութ.\nԼողալ լյարդ քայլել լեզու քերծել խոտ երեխա. Այն ճիշտ պտուղ երբ. Կանաչ նոր վառվել օր. Կապել մոխիր քնել քնել օձ կենդանի նետել.' 'Գալ ինչպես չորս երեխա հուր երեք որոշ. Այն դուք սուր մարդ. Շնչել ուռել ուր նետել.\nՇրջվել մոխիր երբ ինչպես կաշի կուրծք. Գիտենալ այստեղ այլ մոտ. Պտուղ տարի ործկալ տարի խոցել.' 'Կանաչ լիքը շփել եղունգ սրբել ծանր հաշվել. Աստղ պոզ այնտեղ կեղև ճիճու կլոր գլուխ. Հրել լողալ սև ճամփա մեծ.\nԱնձրև հուր բոլոր թռչել ասել կարճ. Պահել ատամ կանաչ խոցել փորոտիք.' 'Ոսկոր կենդանի հոսել ես ծուխ ապրել. Երեխա պառկել ամուսին կաշի. Այլ ճամփա ծունկ բոլոր.\nՄշուշ երկու փայտ լվալ սառույց սեղմել երկու. Կեղև մենք այստեղ կապել.'
-
texts
(nb_texts=3, max_nb_chars=200, ext_word_list=None)¶ Generate an array of texts :example [text1, text2, text3] :param nb_texts: How many texts to return :param max_nb_chars: Maximum number of characters the text should contain (minimum 5) :param ext_word_list: a list of words you would like to have instead of ‘Lorem ipsum’.
Return type: list Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.texts() ... ['Այստեղ բութ ծիծաղել լիքը հուր հարթ. Փորել տաք գիտենալ ծաղիկ գետ կանգնել. Մոտ մեռնել խաղալ գալ հաստ.\nՕր կապել ործկալ այլ. Ոսկոր բռնել մայր խփել լյարդ քնել.', 'Խմել բոլոր ճարպ մտածել լավ մեկ խփել. Որսալ ձյուն կռվել բութ.\nԼողալ լյարդ քայլել լեզու քերծել խոտ երեխա. Այն ճիշտ պտուղ երբ. Կանաչ նոր վառվել օր. Կապել մոխիր քնել քնել օձ կենդանի նետել.', 'Գալ ինչպես չորս երեխա հուր երեք որոշ. Այն դուք սուր մարդ. Շնչել ուռել ուր նետել.\nՇրջվել մոխիր երբ ինչպես կաշի կուրծք. Գիտենալ այստեղ այլ մոտ. Պտուղ տարի ործկալ տարի խոցել.'] ['Կանաչ լիքը շփել եղունգ սրբել ծանր հաշվել. Աստղ պոզ այնտեղ կեղև ճիճու կլոր գլուխ. Հրել լողալ սև ճամփա մեծ.\nԱնձրև հուր բոլոր թռչել ասել կարճ. Պահել ատամ կանաչ խոցել փորոտիք.', 'Ոսկոր կենդանի հոսել ես ծուխ ապրել. Երեխա պառկել ամուսին կաշի. Այլ ճամփա ծունկ բոլոր.\nՄշուշ երկու փայտ լվալ սառույց սեղմել երկու. Կեղև մենք այստեղ կապել.', 'Պոչ շրջվել այստեղ կարճ. Խոտ ծունկ որսալ պարան փչել ճիճու ով տղամարդ. Արև կաշի կրակ մաշկ մեկ կտրել շնչել.\nՉորս երկու իմանալ այստեղ պոզ կարել. Լիքը ընկնել բերան թաց. Երբ շատ անձրև ուր.'] ['Վիզ քիթ մոտ պտուղ ավազ. Երեխա երկու ծուխ ճամփա նրանք քնել. Երեք ծունկ հայր այստեղ կեղտոտ. Շրջվել ուրիշ կծել աչք հուր.\nՃիշտ հաստ թև նետել կանաչ լսել լիքը ճարպ. Աջ պահել կանաչ կռվել լավ նա խաղալ.', 'Քերծել նետել երկինք. Մոտ անձրև տարի մայր սպանել քայլել ծուխ շնչել. Պառկել ոջիլ սար դուք սպիտակ աստղ.\nԽոցել եղջյուր լսել պտուղ ծուխ քար լեզու. Ուր բռնել հինգ խոտ հուր ինչ.', 'Նստել եղունգ ով. Ավազ դուք քայլել մեծ ճարպ երգել շփել. Լեզու ավազ տեսնել դեղին պառկել.\nՏալ պոզ չորս կապել շրջվել հող հինգ ցուրտ. Լիքը կարմիր կապել քամի վախենալ. Այստեղ ոտք բերան երեխա գլուխ.'] ['Այլ քար լուսին այս. Մեջք փորոտիք լսել սար ձու անտառ գլուխ. Ականջ այս մազ նա.\nԻնչպես գիշեր հայր մայր հրել վատ. Անձրև պարան կարել լավ.\nՄարդ մեկ փետուր սուր. Նրանք հայր պոզ սուր.', 'Աղիք այնտեղ մեծ դուք ոչ ինչպես. Մաշկ փորոտիք հին լողալ մաշկ գլուխ.\nՏալ պահել ապրել ատամ դու սուր. Սիրտ բերան ուղիղ որոշ մարդ մեկ.\nԳալ ծանր երգել հին մարդ աղիք կին. Պոչ քնել գլուխ տալ շատ գետ պարան.', 'Սև լողալ լյարդ անձրև գլուխ կարմիր հրել. Թռչել այն ամպ միս պոչ. Լեռ սև ծով երբ լեռ ծաղիկ մեծ.'] ['Մաշկ ջուր ինչ շրջվել նրանք ործկալ. Այրվել չոր կարել.\nԴու այստեղ շրջվել աջ կարմիր երգել. Երկար քերծել երեխա կուրծք հոսել.', 'Այն տալ կարմիր աչք ջուր նետել.\nՄաշկ շատ կարմիր գետ քար սպիտակ փոր ինչ. Ձգել շփել որսալ լուսին մեջք ուտել փայտ.\nՊոզ այստեղ ինչ մազ խոտ. Երկար հող նետել. Ծունկ նոր ուտել պոչ այլ սպիտակ մառախուղ ճարպ.', 'Չոր ծծել երեք բոլոր այլ աղ.\nՍիրտ ոչ վիզ գետ հուր. Սուր անտառ ձուկ. Վատ ճարպ կուրծք հարվածել ծաղիկ.\nԼողալ ավազ զգալ ծծել պահել. Ոջիլ երեք փոշի այլ լուսին. Ձուկ դեղին աջ դու սպանել.']
-
word
(ext_word_list=None)¶ Returns: A random word, eg: ‘lorem’ Parameters: ext_word_list – a list of words you would like to have instead of ‘Lorem ipsum’ Return type: str Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.word() ... 'վառվել' 'լիճ' 'աղիք' 'պտուղ' 'մտածել'
-
words
(nb=3, ext_word_list=None, unique=False)¶ Returns: An array of random words. for example: [‘Lorem’, ‘ipsum’, ‘dolor’] Keyword arguments: :param nb: how many words to return :param ext_word_list: a list of words you would like to have instead of
‘Lorem ipsum’Parameters: unique – If True, the returned word list will contain unique words Return type: list Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.words() ... ['վառվել', 'լիճ', 'աղիք'] ['պտուղ', 'մտածել', 'թև'] ['փոշի', 'կաշի', 'փչել'] ['փորել', 'տաք', 'գիտենալ'] ['ծաղիկ', 'գետ', 'կանգնել']
-
faker.providers.person
¶
-
class
faker.providers.person.hy_AM.
Provider
(generator)¶ Bases:
faker.providers.person.Provider
-
first_name
()¶ Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.first_name() ... 'Միլենա' 'Լիդա' 'Մարգար' 'Արգիշտի' 'Թաթոս'
-
first_name_female
()¶ Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.first_name_female() ... 'Սաթենիկ' 'Նունե' 'Լառա' 'Եվա' 'Կարոլին'
-
first_name_male
()¶ Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.first_name_male() ... 'Պարթև' 'Կորյուն' 'Հայկ' 'Նշան' 'Արտակ'
-
last_name
()¶ Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.last_name() ... 'Ռևազյան' 'Շագոյան' 'Զազյան' 'Առուստամյան' 'Լալայան'
-
last_name_female
()¶ Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.last_name_female() ... 'Ռևազյան' 'Շագոյան' 'Զազյան' 'Առուստամյան' 'Լալայան'
-
last_name_male
()¶ Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.last_name_male() ... 'Ռևազյան' 'Շագոյան' 'Զազյան' 'Առուստամյան' 'Լալայան'
-
name
()¶ :example ‘John Doe’
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.name() ... 'Նունե Զազյան' 'Արտակ Ենգոյան' 'Էմիլիա Թովուլջյան' 'Ստելլա Իսահակյան' 'Կորյուն Հովհաննիսյան'
-
name_female
()¶ Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.name_female() ... 'Նունե Զազյան' 'Կարոլին Ենգոյան' 'Էմիլիա Թովուլջյան' 'Ստելլա Իսահակյան' 'Նունե Հովհաննիսյան'
-
name_male
()¶ Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.name_male() ... 'Կորյուն Զազյան' 'Արտակ Ենգոյան' 'Մանվել Թովուլջյան' 'Սմբատ Իսահակյան' 'Կորյուն Հովհաննիսյան'
-
prefix
()¶ Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.prefix() ... '' '' '' '' ''
-
prefix_female
()¶ Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.prefix_female() ... '' '' '' '' ''
-
prefix_male
()¶ Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.prefix_male() ... '' '' '' '' ''
-
suffix
()¶ Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.suffix() ... '' '' '' '' ''
-
suffix_female
()¶ Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.suffix_female() ... '' '' '' '' ''
-
suffix_male
()¶ Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.suffix_male() ... '' '' '' '' ''
-
faker.providers.phone_number
¶
-
class
faker.providers.phone_number.hy_AM.
Provider
(generator)¶ Bases:
faker.providers.phone_number.Provider
-
country_calling_code
()¶ Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.country_calling_code() ... '+211' '+599 4' '+800' '+503' '+82'
-
msisdn
()¶ https://en.wikipedia.org/wiki/MSISDN
Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.msisdn() ... '6048764759382' '1948924115781' '5938778408016' '0975351393328' '1587148418583'
-
phone_number
()¶ Examples: >>> Faker.seed(0) >>> for _ in range(5): ... fake.phone_number() ... '(96) 048764' '95.938242' '99-489241' '10.578156' '(338) 77840'
-