Locale hi_IN

faker.providers.address

class faker.providers.address.hi_IN.Provider(generator: Any)

Bases: Provider

address() str
Example:

‘791 Crist Parks, Sashabury, IL 86039-9874’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.address()
...
'4876 छेत्री\nफतहपुर-824219'
'1/1 तमांग\nबचेली-593877'
'1609 मित्रा\nदेहरा-139332'
'587 संजीव रंगन\nअसम-858398'
'965 रोहन आचार्य\nविस्तारण-094711'
administrative_unit() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.administrative_unit()
...
'त्रिपुरा'
'अंडमान और निकोबार'
'असम'
'मेघालय'
'लक्षद्वीप'
building_number() str
Example:

‘791’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.building_number()
...
'60/487'
'47/593'
'42'
'948'
'41'
city() str
Example:

‘Sashabury’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.city()
...
'खडगपुर'
'अहमदाबाद'
'देवास'
'चिरमिरी'
'देवगढ़'
city_name() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.city_name()
...
'लखनऊ'
'बहादुरगढ'
'खडगपुर'
'हैदराबाद'
'चिराला'
city_suffix() str
Example:

‘town’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.city_suffix()
...
'Ville'
'Ville'
'Ville'
'Ville'
'Ville'
country() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.country()
...
'ग्रेट ब्रिटेन'
'ज़ाम्बिया'
'इराक'
'ब्राज़ील'
'हर्जेगोविना'
country_code(representation: str = 'alpha-2') str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.country_code()
...
'MV'
'PS'
'NL'
'BB'
'IL'
current_country() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.current_country()
...
'India'
'India'
'India'
'India'
'India'
current_country_code() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.current_country_code()
...
'IN'
'IN'
'IN'
'IN'
'IN'
postcode() str
Example:

86039-9874

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.postcode()
...
'604876'
'759382'
'219489'
'411578'
'565938'
state() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.state()
...
'त्रिपुरा'
'अंडमान और निकोबार'
'असम'
'मेघालय'
'लक्षद्वीप'
street_address() str
Example:

‘791 Crist Parks’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.street_address()
...
'04/876 छेत्री'
'8 रत्नम खत्री'
'8/9 सवितृ सरीन'
'78/15 भट्टाचार्य'
'78/4080 विष्णु शाह'
street_name() str
Example:

‘Crist Parks’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.street_name()
...
'पाटिल'
'मल्होत्रा'
'वेंकटएसन'
'मैती'
'छेत्री'
street_suffix() str
Example:

‘Avenue’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.street_suffix()
...
'Street'
'Street'
'Street'
'Street'
'Street'

faker.providers.date_time

class faker.providers.date_time.hi_IN.Provider(generator: Any)

Bases: Provider

am_pm() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.am_pm()
...
'PM'
'PM'
'PM'
'PM'
'PM'
century() str
Example:

‘XVII’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.century()
...
'XIII'
'XIV'
'II'
'IX'
'XVII'
date(pattern: str = '%Y-%m-%d', end_datetime: date | datetime | timedelta | str | int | None = None) str

Get a date string between January 1, 1970 and now.

Parameters:

pattern – Format of the date (year-month-day by default)

Example:

‘2008-11-27’

Returns:

Date

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.date()
...
'2016-05-13'
'2011-08-14'
'1993-02-03'
'1984-03-20'
'1998-01-27'
date_between(start_date: date | datetime | timedelta | str | int = '-30y', end_date: date | datetime | timedelta | str | int = 'today') date

Get a Date object based on a random date between two given dates. Accepts date strings that can be recognized by strtotime().

Parameters:
  • start_date – Defaults to 30 years ago

  • end_date – Defaults to “today”

Example:

Date(‘1999-02-02’)

Returns:

Date

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.date_between()
...
datetime.date(2020, 3, 28)
datetime.date(2017, 8, 23)
datetime.date(2007, 7, 10)
datetime.date(2002, 9, 3)
datetime.date(2010, 3, 30)
date_between_dates(date_start: date | datetime | timedelta | str | int | None = None, date_end: date | datetime | timedelta | str | int | None = None) date

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

Returns:

Date

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.date_between_dates()
...
datetime.date(2024, 11, 27)
datetime.date(2024, 11, 27)
datetime.date(2024, 11, 27)
datetime.date(2024, 11, 27)
datetime.date(2024, 11, 27)
date_object(end_datetime: datetime | None = None) date

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()
...
datetime.date(2016, 5, 13)
datetime.date(2011, 8, 14)
datetime.date(1993, 2, 3)
datetime.date(1984, 3, 20)
datetime.date(1998, 1, 27)
date_of_birth(tzinfo: tzinfo | None = None, minimum_age: int = 0, maximum_age: int = 115) date

Generate a random date of birth represented as a Date object, constrained by optional miminimum_age and maximum_age parameters.

Parameters:
  • tzinfo – Defaults to None.

  • minimum_age – Defaults to 0.

  • maximum_age – Defaults to 115.

Example:

Date(‘1979-02-02’)

Returns:

Date

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.date_of_birth()
...
datetime.date(2006, 11, 10)
datetime.date(1996, 10, 29)
datetime.date(1957, 9, 10)
datetime.date(1938, 12, 10)
datetime.date(1968, 3, 19)
date_this_century(before_today: bool = True, after_today: bool = False) date

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’)

Returns:

Date

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.date_this_century()
...
datetime.date(2021, 1, 11)
datetime.date(2018, 11, 17)
datetime.date(2010, 6, 22)
datetime.date(2006, 6, 13)
datetime.date(2012, 9, 25)
date_this_decade(before_today: bool = True, after_today: bool = False) date

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’)

Returns:

Date

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.date_this_decade()
...
datetime.date(2024, 2, 22)
datetime.date(2023, 9, 20)
datetime.date(2022, 1, 23)
datetime.date(2021, 4, 8)
datetime.date(2022, 7, 5)
date_this_month(before_today: bool = True, after_today: bool = False) date

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

Example:

dtdate(‘2012-04-04’)

Returns:

dtdate

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.date_this_month()
...
datetime.date(2024, 11, 22)
datetime.date(2024, 11, 20)
datetime.date(2024, 11, 11)
datetime.date(2024, 11, 7)
datetime.date(2024, 11, 14)
date_this_year(before_today: bool = True, after_today: bool = False) date

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’)

Returns:

Date

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.date_this_year()
...
datetime.date(2024, 10, 6)
datetime.date(2024, 9, 7)
datetime.date(2024, 5, 19)
datetime.date(2024, 3, 26)
datetime.date(2024, 6, 18)
date_time(tzinfo: tzinfo | None = None, end_datetime: date | datetime | timedelta | str | int | None = None) datetime

Get a datetime object for a date between January 1, 1970 and now

Parameters:

tzinfo – timezone, instance of datetime.tzinfo subclass

Example:

datetime(‘2005-08-16 20:39:21’)

Returns:

datetime

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.date_time()
...
datetime.datetime(2016, 5, 13, 20, 27, 53, 337374)
datetime.datetime(2011, 8, 14, 18, 1, 12, 446062)
datetime.datetime(1993, 2, 3, 13, 11, 3, 77665)
datetime.datetime(1984, 3, 20, 13, 36, 27, 535147)
datetime.datetime(1998, 1, 27, 14, 20, 55, 740009)
date_time_ad(tzinfo: tzinfo | None = None, end_datetime: date | datetime | timedelta | str | int | None = None, start_datetime: date | datetime | timedelta | str | int | None = None) datetime

Get a datetime object for a date between January 1, 001 and now

Parameters:

tzinfo – timezone, instance of datetime.tzinfo subclass

Example:

datetime(‘1265-03-22 21:15:52’)

Returns:

datetime

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.date_time_ad()
...
datetime.datetime(1710, 1, 12, 23, 2, 48, 807228)
datetime.datetime(1535, 1, 12, 18, 7, 26, 329430)
datetime.datetime(852, 3, 13, 15, 33, 55, 121658)
datetime.datetime(525, 1, 9, 15, 43, 8, 504997)
datetime.datetime(1035, 10, 10, 22, 46, 36, 732212)
date_time_between(start_date: date | datetime | timedelta | str | int = '-30y', end_date: date | datetime | timedelta | str | int = 'now', tzinfo: tzinfo | None = None) datetime

Get a datetime object based on a random date between two given dates. Accepts date strings that can be recognized by strtotime().

Parameters:
  • start_date – Defaults to 30 years ago

  • end_date – Defaults to “now”

  • tzinfo – timezone, instance of datetime.tzinfo subclass

Example:

datetime(‘1999-02-02 11:42:52’)

Returns:

datetime

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.date_time_between()
...
datetime.datetime(2020, 3, 29, 6, 23, 46, 236214)
datetime.datetime(2017, 8, 24, 19, 48, 32, 808743)
datetime.datetime(2007, 7, 12, 1, 18, 13, 361449)
datetime.datetime(2002, 9, 4, 18, 28, 49, 49189)
datetime.datetime(2010, 3, 31, 21, 45, 45, 171082)
date_time_between_dates(datetime_start: date | datetime | timedelta | str | int | None = None, datetime_end: date | datetime | timedelta | str | int | None = None, tzinfo: tzinfo | None = None) datetime

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’)

Returns:

datetime

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.date_time_between_dates()
...
datetime.datetime(2024, 11, 27, 23, 13, 3)
datetime.datetime(2024, 11, 27, 23, 13, 3)
datetime.datetime(2024, 11, 27, 23, 13, 3)
datetime.datetime(2024, 11, 27, 23, 13, 3)
datetime.datetime(2024, 11, 27, 23, 13, 3)
date_time_this_century(before_now: bool = True, after_now: bool = False, tzinfo: tzinfo | None = None) datetime

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’)

Returns:

datetime

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.date_time_this_century()
...
datetime.datetime(2021, 1, 12, 12, 32, 21, 710754)
datetime.datetime(2018, 11, 17, 20, 16, 0, 89402)
datetime.datetime(2010, 6, 23, 8, 19, 0, 193133)
datetime.datetime(2006, 6, 13, 14, 47, 15, 567403)
datetime.datetime(2012, 9, 25, 13, 27, 28, 396112)
date_time_this_decade(before_now: bool = True, after_now: bool = False, tzinfo: tzinfo | None = None) datetime

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’)

Returns:

datetime

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.date_time_this_decade()
...
datetime.datetime(2024, 2, 23, 0, 30, 1, 277017)
datetime.datetime(2023, 9, 20, 23, 42, 2, 764824)
datetime.datetime(2022, 1, 24, 1, 42, 25, 808583)
datetime.datetime(2021, 4, 9, 5, 30, 10, 786499)
datetime.datetime(2022, 7, 5, 16, 46, 25, 454872)
date_time_this_month(before_now: bool = True, after_now: bool = False, tzinfo: tzinfo | None = None) datetime

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’)

Returns:

datetime

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.date_time_this_month()
...
datetime.datetime(2024, 11, 23, 18, 31, 28, 558882)
datetime.datetime(2024, 11, 21, 10, 33, 40, 873626)
datetime.datetime(2024, 11, 12, 8, 12, 4, 633619)
datetime.datetime(2024, 11, 7, 23, 34, 31, 626598)
datetime.datetime(2024, 11, 14, 18, 54, 21, 409119)
date_time_this_year(before_now: bool = True, after_now: bool = False, tzinfo: tzinfo | None = None) datetime

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’)

Returns:

datetime

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.date_time_this_year()
...
datetime.datetime(2024, 10, 7, 7, 41, 33, 190270)
datetime.datetime(2024, 9, 8, 14, 47, 15, 299909)
datetime.datetime(2024, 5, 19, 14, 47, 6, 931674)
datetime.datetime(2024, 3, 26, 22, 50, 45, 830318)
datetime.datetime(2024, 6, 18, 17, 26, 12, 866624)
day_of_month() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.day_of_month()
...
'13'
'14'
'03'
'20'
'27'
day_of_week() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.day_of_week()
...
'शनिवार'
'सोमवार'
'गुरुवार'
'बुधवार'
'बुधवार'
future_date(end_date: date | datetime | timedelta | str | int = '+30d', tzinfo: tzinfo | None = None) date

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().

Parameters:
  • end_date – Defaults to “+30d”

  • tzinfo – timezone, instance of datetime.tzinfo subclass

Example:

dtdate(‘2030-01-01’)

Returns:

dtdate

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.future_date()
...
datetime.date(2024, 12, 22)
datetime.date(2024, 12, 19)
datetime.date(2024, 12, 10)
datetime.date(2024, 12, 5)
datetime.date(2024, 12, 12)
future_datetime(end_date: date | datetime | timedelta | str | int = '+30d', tzinfo: tzinfo | None = None) datetime

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().

Parameters:
  • end_date – Defaults to “+30d”

  • tzinfo – timezone, instance of datetime.tzinfo subclass

Example:

datetime(‘1999-02-02 11:42:52’)

Returns:

datetime

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.future_datetime()
...
datetime.datetime(2024, 12, 23, 7, 12, 4, 594731)
datetime.datetime(2024, 12, 20, 16, 56, 41, 54467)
datetime.datetime(2024, 12, 10, 14, 1, 45, 116942)
datetime.datetime(2024, 12, 5, 17, 38, 15, 957843)
datetime.datetime(2024, 12, 13, 7, 20, 7, 566513)
iso8601(tzinfo: tzinfo | None = None, end_datetime: date | datetime | timedelta | str | int | None = None, sep: str = 'T', timespec: str = 'auto') str

Get a timestamp in ISO 8601 format (or one of its profiles).

Parameters:
  • tzinfo – timezone, instance of datetime.tzinfo subclass

  • sep – separator between date and time, defaults to ‘T’

  • timespec – format specifier for the time part, defaults to ‘auto’ - see datetime.isoformat() documentation

Example:

‘2003-10-21T16:05:52+0000’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.iso8601()
...
'2016-05-13T20:27:53.337374'
'2011-08-14T18:01:12.446062'
'1993-02-03T13:11:03.077665'
'1984-03-20T13:36:27.535147'
'1998-01-27T14:20:55.740009'
month() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.month()
...
'05'
'08'
'02'
'03'
'01'
month_name() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.month_name()
...
'मई'
'अगस्त'
'फ़रवरी'
'मार्च'
'जनवरी'
past_date(start_date: date | datetime | timedelta | str | int = '-30d', tzinfo: tzinfo | None = None) date

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().

Parameters:
  • start_date – Defaults to “-30d”

  • tzinfo – timezone, instance of datetime.tzinfo subclass

Example:

dtdate(‘1999-02-02’)

Returns:

dtdate

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.past_date()
...
datetime.date(2024, 11, 21)
datetime.date(2024, 11, 18)
datetime.date(2024, 11, 9)
datetime.date(2024, 11, 4)
datetime.date(2024, 11, 11)
past_datetime(start_date: date | datetime | timedelta | str | int = '-30d', tzinfo: tzinfo | None = None) datetime

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().

Parameters:
  • start_date – Defaults to “-30d”

  • tzinfo – timezone, instance of datetime.tzinfo subclass

Example:

datetime(‘1999-02-02 11:42:52’)

Returns:

datetime

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.past_datetime()
...
datetime.datetime(2024, 11, 23, 7, 12, 3, 594731)
datetime.datetime(2024, 11, 20, 16, 56, 40, 54467)
datetime.datetime(2024, 11, 10, 14, 1, 44, 116942)
datetime.datetime(2024, 11, 5, 17, 38, 14, 957843)
datetime.datetime(2024, 11, 13, 7, 20, 6, 566513)
pytimezone(*args: Any, **kwargs: Any) tzinfo | None

Generate a random timezone (see faker.timezone for any args) and return as a python object usable as a tzinfo to datetime or other fakers.

Example:

faker.pytimezone()

Returns:

dateutil.tz.tz.tzfile

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.pytimezone()
...
tzfile('/usr/share/zoneinfo/Indian/Maldives')
tzfile('/usr/share/zoneinfo/America/Barbados')
tzfile('/usr/share/zoneinfo/Europe/Stockholm')
tzfile('/usr/share/zoneinfo/Africa/Windhoek')
tzfile('/usr/share/zoneinfo/Asia/Qatar')
time(pattern: str = '%H:%M:%S', end_datetime: date | datetime | timedelta | str | int | None = None) str

Get a time string (24h format by default)

Parameters:

pattern – format

Example:

‘15:02:34’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.time()
...
'20:27:53'
'18:01:12'
'13:11:03'
'13:36:27'
'14:20:55'
time_delta(end_datetime: date | datetime | timedelta | str | int | None = None) timedelta

Get a timedelta object

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.time_delta()
...
datetime.timedelta(0)
datetime.timedelta(0)
datetime.timedelta(0)
datetime.timedelta(0)
datetime.timedelta(0)
time_object(end_datetime: date | datetime | timedelta | str | int | None = None) time

Get a time object

Example:

datetime.time(15, 56, 56, 772876)

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.time_object()
...
datetime.time(20, 27, 53, 337374)
datetime.time(18, 1, 12, 446062)
datetime.time(13, 11, 3, 77665)
datetime.time(13, 36, 27, 535147)
datetime.time(14, 20, 55, 740009)
time_series(start_date: date | datetime | timedelta | str | int = '-30d', end_date: date | datetime | timedelta | str | int = 'now', precision: float | None = None, distrib: Callable[[datetime], float] | None = None, tzinfo: tzinfo | None = None) Iterator[Tuple[datetime, Any]]

Returns a generator yielding tuples of (<datetime>, <value>).

The data points will start at start_date, and be at every time interval specified by precision. 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 0x7f6cdcd57530>
<generator object Provider.time_series at 0x7f6cdcd57530>
<generator object Provider.time_series at 0x7f6cdcd57530>
<generator object Provider.time_series at 0x7f6cdcd57530>
<generator object Provider.time_series at 0x7f6cdcd57530>
timezone() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.timezone()
...
'Indian/Maldives'
'America/Barbados'
'Europe/Stockholm'
'Africa/Windhoek'
'Asia/Qatar'
unix_time(end_datetime: date | datetime | timedelta | str | int | None = None, start_datetime: date | datetime | timedelta | str | int | None = None) float

Get a timestamp between January 1, 1970 and now, unless passed explicit start_datetime or end_datetime values.

On Windows, the decimal part is always 0.

Example:

1061306726.6

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.unix_time()
...
1463171273.3373744
1313344872.4460618
728745063.0776651
448637787.53514725
885910855.7400091
year() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.year()
...
'2016'
'2011'
'1993'
'1984'
'1998'

faker.providers.person

class faker.providers.person.hi_IN.Provider(generator: Any)

Bases: Provider

first_name() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name()
...
'विजया'
'आनन्दा'
'अरुणा'
'राजन'
'कान्ता'
first_name_female() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_female()
...
'प्रतिमा'
'रानी'
'अणिमा'
'लक्ष्मी'
'शशी'
first_name_male() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_male()
...
'मणि'
'वासिष्ठ'
'नवीन'
'अनन्\u200dत'
'जयदेव'
first_name_nonbinary() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_nonbinary()
...
'विजया'
'आनन्दा'
'अरुणा'
'राजन'
'कान्ता'
language_name() str

Generate a random i18n language name (e.g. English).

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.language_name()
...
'Luba-Katanga'
'Malay'
'Aymara'
'Interlingue'
'Quechua'
last_name() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name()
...
'मजूमदार'
'पाटिल'
'हजारिका'
'मल्होत्रा'
'सेनगुप्ता'
last_name_female() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_female()
...
'मजूमदार'
'पाटिल'
'हजारिका'
'मल्होत्रा'
'सेनगुप्ता'
last_name_male() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_male()
...
'मजूमदार'
'पाटिल'
'हजारिका'
'मल्होत्रा'
'सेनगुप्ता'
last_name_nonbinary() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_nonbinary()
...
'मजूमदार'
'पाटिल'
'हजारिका'
'मल्होत्रा'
'सेनगुप्ता'
name() str
Example:

‘John Doe’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name()
...
'संमानित अरुणा सेनगुप्ता'
'इन्दिरा मैतीजी'
'सम्मानसूचक पद्म आहूजा'
'जितेन्द्र मुख़र्जीजी'
'रति रोद्रिगुएस'
name_female() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name_female()
...
'संमानित अणिमा सेनगुप्ता'
'संमानित मालती छेत्री'
'तारा आहूजाजी'
'गौहर पटेलजी'
'सीमा शाहजी'
name_male() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name_male()
...
'संमानित अनन्\u200dत सेनगुप्ता'
'संमानित विनय बनर्जी'
'सम्मानसूचक सचिन आहूजा'
'श्रीमान देवदान पटेल'
'सवितृ रोद्रिगुएस'
name_nonbinary() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name_nonbinary()
...
'संमानित अरुणा सेनगुप्ता'
'इन्दिरा मैतीजी'
'सम्मानसूचक पद्म आहूजा'
'जितेन्द्र मुख़र्जीजी'
'रति रोद्रिगुएस'
prefix() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix()
...
'संमानित'
'संमानित'
'माननीय'
'सम्मानसूचक'
'आदरवाचक'
prefix_female() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix_female()
...
'श्रीमती'
'श्रीमती'
'श्री'
'श्रीमती'
'श्रीमती'
prefix_male() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix_male()
...
'श्रीमान'
'श्रीमान'
'श्री'
'श्रीमान'
'श्रीमान'
prefix_nonbinary() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix_nonbinary()
...
'संमानित'
'संमानित'
'माननीय'
'सम्मानसूचक'
'आदरवाचक'
suffix() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.suffix()
...
'जी'
'जी'
'जी'
'जी'
'जी'
suffix_female() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.suffix_female()
...
'जी'
'जी'
'जी'
'जी'
'जी'
suffix_male() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.suffix_male()
...
'जी'
'जी'
'जी'
'जी'
'जी'
suffix_nonbinary() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.suffix_nonbinary()
...
'जी'
'जी'
'जी'
'जी'
'जी'

faker.providers.phone_number

class faker.providers.phone_number.hi_IN.Provider(generator: Any)

Bases: Provider

country_calling_code() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.country_calling_code()
...
'+687'
'+595'
'+880'
'+964'
'+41'
msisdn() str

https://en.wikipedia.org/wiki/MSISDN

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.msisdn()
...
'6048764759382'
'2194892411578'
'5659387784080'
'6097535139332'
'1158714841858'
phone_number() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.phone_number()
...
'06048764759'
'+91 824 2194892'
'011-57815659'
'+91 877 8408016'
'+91 9753513933'